Page 1 of 1
Condition to Skip Schedule
Posted: Sat Nov 02, 2024 11:45 pm
by Ryudo
Would be nice IF the train has condition to keep ou skip a train stop by automation.
Example:
Train Stop: Iron Loader
Train Stop: Iron Unloader
Train Stop: Refuel
My Idea:
Train Stop: Iron Loader (If train empty)
Train Stop: Iron Unloader (If Item iron ore > 0)
Train Stop: Refuel (IF fuel coal < 50)
If condition not meet; the train will only ignore that station just as it was deactivated by circuit.
Re: Condition to Skip Schedule
Posted: Sun Nov 03, 2024 9:18 am
by myridium
Yes!
This is how I thought they'd fix the train refuelling problem. Instead they went with interrupts.
It makes so much more sense for destinations to be conditional.
Re: Condition to Skip Schedule
Posted: Sun Nov 03, 2024 7:28 pm
by Ryudo
myridium wrote: ↑Sun Nov 03, 2024 9:18 am
Yes!
This is how I thought they'd fix the train refuelling problem. Instead they went with
interrupts.
It makes so much more sense for destinations to be conditional.
Yep... i was thinking just like you!
Re: Condition to Skip Schedule
Posted: Sun Nov 03, 2024 9:31 pm
by anexo321
Please doit
I Will love
Re: Condition to Skip Schedule
Posted: Mon Nov 04, 2024 1:44 am
by BorisOZ
myridium wrote: ↑Sun Nov 03, 2024 9:18 am
Yes!
This is how I thought they'd fix the train refuelling problem. Instead they went with
interrupts.
It makes so much more sense for destinations to be conditional.
Destinations are conditional with interrupts.
Create interrupt, give it conditions and a destination. When the train tries to leave any station, if it meets all those conditions it will go to that station.
Ryudo wrote: ↑Sat Nov 02, 2024 11:45 pm
Would be nice IF the train has condition to keep ou skip a train stop by automation.
Example:
Train Stop: Iron Loader
Train Stop: Iron Unloader
Train Stop: Refuel
My Idea:
Train Stop: Iron Loader (If train empty)
Train Stop: Iron Unloader (If Item iron ore > 0)
Train Stop: Refuel (IF fuel coal < 50)
If condition not meet; the train will only ignore that station just as it was deactivated by circuit.
You have to change your way of thinking to work effectively with interrupts. Instead of everything being in the train schedule, it should be mostly in interrupts.
Interrupt Condition: Train empty. Station: Iron Loader with condition Cargo is Full
Alternatively, have this as your only stop in the schedule, with condition Cargo is Full
Interrupt Condition: Iron > 1. Station: Iron Unloader with condition Cargo is Empty
Interrupt Condition: Coal fuel < 50. Station: Refuel with condition Fuel is Full. Allow interrupting other interrupts ON
Re: Condition to Skip Schedule
Posted: Tue Nov 05, 2024 2:46 am
by myridium
BorisOZ wrote: ↑Mon Nov 04, 2024 1:44 am
myridium wrote: ↑Sun Nov 03, 2024 9:18 am
Yes!
This is how I thought they'd fix the train refuelling problem. Instead they went with
interrupts.
It makes so much more sense for destinations to be conditional.
Destinations are conditional with interrupts.
Create interrupt, give it conditions and a destination. When the train tries to leave any station, if it meets all those conditions it will go to that station.
Ryudo wrote: ↑Sat Nov 02, 2024 11:45 pm
Would be nice IF the train has condition to keep ou skip a train stop by automation.
Example:
Train Stop: Iron Loader
Train Stop: Iron Unloader
Train Stop: Refuel
My Idea:
Train Stop: Iron Loader (If train empty)
Train Stop: Iron Unloader (If Item iron ore > 0)
Train Stop: Refuel (IF fuel coal < 50)
If condition not meet; the train will only ignore that station just as it was deactivated by circuit.
You have to change your way of thinking to work effectively with interrupts. Instead of everything being in the train schedule, it should be mostly in interrupts.
Interrupt Condition: Train empty. Station: Iron Loader with condition Cargo is Full
Alternatively, have this as your only stop in the schedule, with condition Cargo is Full
Interrupt Condition: Iron > 1. Station: Iron Unloader with condition Cargo is Empty
Interrupt Condition: Coal fuel < 50. Station: Refuel with condition Fuel is Full. Allow interrupting other interrupts ON
Thanks for showing me that!
Re: Condition to Skip Schedule
Posted: Mon Nov 25, 2024 4:12 am
by Sano
+1. It's cool that we can do it with interrupts, but why not with the train's schedule itself?