Modding - Transport belt building blocks
Posted: Tue Mar 08, 2016 3:22 pm
I'm looking for a way to create custom belt types and belt fed entities, composited from single transport line fragments.
However, the API does not provide such means yet.
Provide belt building blocks. Single edge blocks which can only connect to neighboring belts, but not to other buildings blocks placed on the same position.
What would that be needed for?
For constructing custom entities which connect properly to the existing item belt framework, without needing to hack into belt entities on neighbouring positions, respectively without the need to embed full transport belts into your design.
Entities I currently want to construct, but which aren't possible without these building blocks:
However, the API does not provide such means yet.
Provide belt building blocks. Single edge blocks which can only connect to neighboring belts, but not to other buildings blocks placed on the same position.
- Connect to the outside like a regular belt, but only 1/4th tile movement depth.
- No auto-rotation, they are supposed to be explicitly placed by the entity they are embedded into.
- They should not connect to other building blocks on the same tile, that means entities can only be passed to other positions, but not to other belts on the same position.
- The building blocks are either ingoing our outgoing, that's an explicit choice.
- Trigger when an item reaches the end of an ingoing belt, with the option to auto-pickup that item. No unnecessary and expensive polling from Lua on the lane state!
This also applies to regular lanes, the option to register onto an "item has stopped" event for a specific lane would be extremely helpful. - Trigger when the back of a belt can accept a new item, rather than polling if the belt is empty.
- No GFX or sound effects required - modders can provide for that with ease.
What would that be needed for?
For constructing custom entities which connect properly to the existing item belt framework, without needing to hack into belt entities on neighbouring positions, respectively without the need to embed full transport belts into your design.
Entities I currently want to construct, but which aren't possible without these building blocks:
Possible applications
Line splitter. Split two input belts into two output belts, whereby each belt is split by line.
Helpful side effects
Related topics