dvilker/FactorioMods — reverse-engineered prompt
Reverse engineered prompt
Build me a Factorio mod called Railway Logistics Dispatcher. I want it to help manage a rail network so trains get sent where they are actually needed instead of me manually babysitting schedules all the time. The idea is that provider stations can offer items, requester stations can ask for items, and the mod should decide which available train should handle each job in a sensible way. It should feel useful for a real factory, with clear station setup, basic priorities or rules if that makes sense, and enough feedback in game so I can tell why a train was dispatched.
Please make it a proper working mod in Lua that I can drop into Factorio and test. Keep the setup simple and the behavior reliable. If there are edge cases around busy stations, empty trains, or no valid path, handle them cleanly. Use current Factorio modding docs online if you need to, and include anything needed so it can be built and run as a normal mod.
Want more depth? Deep Reverse