Set/get personal requests in bulk

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Set/get personal requests in bulk

Post by Choumiko »

I'd like api functions to get/set (maybe clear?) all personal logistic requests at once, something like
LuaControl:set_personal_logistic_slots(slot_data)
slot_data: table of PersonalLogisticParameters
The table keys would correspond to the slot indices, nil values are slots that are not set or that should be cleared (in the case of the setter function)

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Set/get personal requests in bulk

Post by Rseding91 »

What's the intended use-case over the single setter/getter? If it's performance; it wouldn't make any difference. I fixed the performance issue of setting/getting requests when there are a large number of them already.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Modding interface requests”