May be anybody need this
![Smile :-)](./images/smilies/icon_e_smile.gif)
Case:
Base station and mining station. A mining station has separate trains for ore and needed stuff(magazines, mines, repair packs, robots, etc).
Problem:
Need a maximum simple solution for a train with needed stuff. It must bring a missing items to a station with as minimum logic and simple train schedule as possible.
Solution:
* mining station:
- combinators with substract operation are used for specifying item maximum and coding item for this item(e.g. use iron plate for mines)
- these combinators produce a future values(after that these values go to combinator with devide operation and later a train items count substract from these values in the wire) for filter of filter inserters that work with coding items
- decider combinators are used for specifying critical minimum for every item where train need to go to a base station
- each coding item represent 10 item that it code(e.g. 1 iron plate represent 10 mines that we need for maximum count of mines) * base station:
- combinators with multiply operation to get actual needed counts for items * train schedule:
- on the base station it simple wait until 5 sec of inactivity
- on the mining station it wait until inactivity and event of critical minimum
- the mining station acts as a buffer station for the train