Page 1 of 1

Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Posted: Wed Nov 13, 2024 10:41 pm
by MaxAstro
As far as I can tell LuaLogisticPoint.targeted_items_deliver (and its companion, LuaLogisticPoint.targeted_items_pickup) do not store the quality of the items being delivered/picked up, making it impossible to identify the quality of incoming items when reading these variables.

According to the documentation these variables are a simple mapping of item prototype name to requested count; they should include quality in addition to allow precisely identifying the items being delivered or collected.

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Posted: Fri Nov 22, 2024 9:42 pm
by Rseding91
Changed for 2.0.21.

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Posted: Wed Nov 27, 2024 2:56 pm
by MaxAstro
Rseding91 wrote: Fri Nov 22, 2024 9:42 pm Changed for 2.0.21.
This seems to be undocumented both in the doc site and the change notes for 2.0.21. Do you happen to know what the implementation is? Does it simply return an ItemIDAndQualityIDPair now?

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Posted: Wed Nov 27, 2024 3:23 pm
by MaxAstro
Rseding91 wrote: Fri Nov 22, 2024 9:42 pm Changed for 2.0.21.
Ah, I see - this is in 2.0.22, not 2.0.21.

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Posted: Wed Nov 27, 2024 3:23 pm
by Rseding91
Sorry yeah I miss-read the active version at the time.