Get all personal logistic slots
- SupplyDepoo
- Filter Inserter
- Posts: 306
- Joined: Sat Oct 29, 2016 8:42 pm
- Contact:
Get all personal logistic slots
LuaControl::get_personal_logistic_slot(slot_index) takes an index to get a single personal logistic slot. Is there a way to get all of the personal logistic filters without guessing slot indices? (since there can be arbitrary gaps due to deleted filters)
- SupplyDepoo
- Filter Inserter
- Posts: 306
- Joined: Sat Oct 29, 2016 8:42 pm
- Contact:
Re: Get all personal logistic slots
I found how to get the highest index at least: LuaEntity::request_slot_count