
I have train with this shedule:
1) Mine Stack - blocked by chain signal
2) Mine - wait until full
3) Smelter Stack - blocked by chain signal
4) Smelter - wait until empty
My trouuble is that when Mine and Smelter are both disabled via circuit networks (mine ore to low, smelter ore to high) trains will loop between stack staions ...
Ideal solution would be have circuit condition at stack staions like "next staion on shedule is enabled" (stacks are used for multiple train types - cannot simply send signal on wire...)
In LuaTrain i found schedule so i can get next station name, but cannot find how to determine is staion is enabled or not ...
plan is to create mod, that will send "next station enabled" signal to train station so it can be used in condition - my question is if anybody already dealt with this so im not inventing the wheel L:)