Objective
This mod allows to control the flow of items that are a carried by belt as in the logistic bots system.
It introduces a new kind of combinator: the logistic belt controller .
To use it:
- put two chests (of any kind) on map
- create a belt line between the two chests using transport belt, underground belt, splitter, linked belt
- put 2 logistic belt combinators at the beginning and at the end of the belt line with the correct orientation
(wires are used only for statistics computation, not for routing)
- use the GUI to define the requested items in the ending chest
- use the GUI to define the provided items in the starting chest
if the count of items in the ending chest is lower than ( requested items - delivery count ), items will be sent on the line by the start combinator (from the start chest). The throughput for a request is limited to (2 * delivery count) / s to avoid that bottlenecks.
There can be any number of chest that provided or requested chest in the network. Intermediate chest with no requested and no provided items need no additional parameters to work. Request are automatically routed from provider chest to requester chest (if there is belt between). A chest which is member of a logistic belt network is called a node.
The Read mode allows requests to be build from circuit signals connected to the node. The red signal gives the request count, the green signals gives the delivery count. If the delivery count is not present, it is set to ( request count ) / 5.
- The read mode Static is the standard mode, the requests are defined in the setting panel.
- The read mode Read once is the config mode, the requests are read from the circuit signals when some constant combinators change its values.
- read mode Dynamic . The requests are always read from the circuit signals
The Read content checkbox of a chest should be switched off if the the read mode is not static .
For a router, the signals are read from the MASTER chest. It is set when a chest is edited and the read mode is changed.
Routing is working with:
- Normal / modded chest
- Logistic chest
- Linked chest
- Infinity chest (for testing)
- Space Platform hub
- Landing Pad
- Agricultural tower
- Assembly machine (as provider)
An example with only one belt to supply items:
This mod is a rework of the logistic belt mod with a few modifications. If the older mod is loaded, their entities are mutated to the entities of this mod. The older mod can be removed afterward. The requests are now gathered at the chest level.
Other entities
A router is a linked chest that shares its content with the neighbor router to easily change the configuration of a belt network. For balancing, only 6 router can be placed and connected. The limit can be increased with specific research or in the settings.
The overflow combinator allows to send to a belt only the items that exceeds a given threshold.
There is also a simple loader available to upload items into a chest.
Sushi belt
The mod contains also a new combinator to create easily sushi belt .
To create a sushi belt:
- Put a chest containing items
- Put a sushi combinator next to the chest
- create a belt line connected to the sushi controller
- in the GUI of the sushi controller, define the items to send on each lane of the belt line
Hotkeys
- If you shift right-click on an assembly machine and then shift left-click on a node, you copy the ingredient of the current recipe in the requested items of the node.
Trouble
It may happen that the changes of the direction of a belt is not properly detected. In this case, remove a logistic combinator on a lane and put it back.
Compatibility
- tested with
Space platform in Space Age
Quality in Space Age
Spoilage in Space Age (to speed up, an average value of spoilage is computed on input item and apply to output items)