Question: how to go about making a rescheduling train stop

Place to get help with not working mods / modding interface.
Post Reply
deemer
Inserter
Inserter
Posts: 29
Joined: Wed Jun 24, 2015 4:01 am
Contact:

Question: how to go about making a rescheduling train stop

Post by deemer »

I want to make a modded train stop that resets the schedule of a train. When a train stops at it, it sets the train to manual mode. It would need some sort of inventory slot that would take a modded item, a station tag, that names the destination station(s). When a station tag is inserted, it is added to the schedule (for now with a default 30 second wait condition). It also needs to accept a circuit network signal to set the train to automatic mode.

Any pointers on how to go about doing this, or which parts are impossible and how else to get the same effect, would be appreciated.

Experience level: I have written a couple semi-trivial mods, one of which uses on_train_stopped and the global table to let trains carry circuit signals from one network to another.

Post Reply

Return to “Modding help”