Get all personal logistic slots

Place to get help with not working mods / modding interface.
Post Reply
User avatar
SupplyDepoo
Filter Inserter
Filter Inserter
Posts: 286
Joined: Sat Oct 29, 2016 8:42 pm
Contact:

Get all personal logistic slots

Post by SupplyDepoo »

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)

User avatar
SupplyDepoo
Filter Inserter
Filter Inserter
Posts: 286
Joined: Sat Oct 29, 2016 8:42 pm
Contact:

Re: Get all personal logistic slots

Post by SupplyDepoo »

I found how to get the highest index at least: LuaEntity::request_slot_count

Post Reply

Return to “Modding help”