Make LuaLogisticPoint.targeted_items_deliver Quality Aware

User avatar
MaxAstro
Inserter
Inserter
Posts: 26
Joined: Sun Nov 09, 2014 7:53 am
Contact:

Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Post 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.
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain

"True friends stab you in the front." - Oscar Wilde
Rseding91
Factorio Staff
Factorio Staff
Posts: 14345
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Post by Rseding91 »

Changed for 2.0.21.
If you want to get ahold of me I'm almost always on Discord.
User avatar
MaxAstro
Inserter
Inserter
Posts: 26
Joined: Sun Nov 09, 2014 7:53 am
Contact:

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Post 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?
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain

"True friends stab you in the front." - Oscar Wilde
User avatar
MaxAstro
Inserter
Inserter
Posts: 26
Joined: Sun Nov 09, 2014 7:53 am
Contact:

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Post 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.
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain

"True friends stab you in the front." - Oscar Wilde
Rseding91
Factorio Staff
Factorio Staff
Posts: 14345
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Make LuaLogisticPoint.targeted_items_deliver Quality Aware

Post by Rseding91 »

Sorry yeah I miss-read the active version at the time.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”