[2.0.32] Inserter Spoiled Priority setting not respected when taking items from Cargo Landing Pad

Bugs that are actually features.
User avatar
futilityd
Burner Inserter
Burner Inserter
Posts: 10
Joined: Tue Mar 12, 2019 5:35 am
Contact:

[2.0.32] Inserter Spoiled Priority setting not respected when taking items from Cargo Landing Pad

Post by futilityd »

Summary - when taking items from Cargo Landing Pads (only), the Spoiled Priority setting is not respected - inserters pull from the last stack of the given item, regardless of spoiled status. Error does not occur when taking from any other container.

1. What did you do?

I set up an inserter to remove bioflux from a cargo landing pad, and selected 'Spoiled Priority', 'Spoiled First' (inserter is located as shown by arrow in 'inserter position.png', UI is attached as 'inserter ui.png')

2. What happened?

The inserter pulled items from the stack highlighted in red in landing_pad.png, which were at about 30% freshness.

3. What did you expect to happen?

I expected the inserter to pull from the stack highlighted in green in landing_pad.png, which were at about 10% freshness.

4. Does it happen always, once, or sometimes?

Always, but ONLY from the Cargo Landing Pad. I've tested it with requester chests, cargo wagons and steel chests - the unexpected behaviour only occurs when pulling from the Cargo Landing Pad.

I tried deconstructing and reconstructing the inserter, and removing and replacing the bioflux, but the same behaviour resumed. The inserter always pulls from the 'last' stack, and ignores freshness.

This appears to be the same issue as the one previously reported by Vergens here: 126345 That report was moved to gameplay help due to lack of supporting log and save files.
Attachments
Landing pad contents
Landing pad contents
landing_pad.png (77.19 KiB) Viewed 331 times
Inserter UI
Inserter UI
inserter ui.png (247.22 KiB) Viewed 331 times
Overview
Overview
inserter position.png (635.94 KiB) Viewed 331 times
factorio-current.log
Log file
(12.54 KiB) Downloaded 19 times
Inserter_bug.zip
Save file
(24.95 MiB) Downloaded 19 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15306
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.32] Inserter Spoiled Priority setting not respected when taking items from Cargo Landing Pad

Post by Rseding91 »

Thanks for the report. The inserter is actually pulling from the most-spoiled stack however because the inventory gets sorted each time it changes, it re-merges with slightly less spoiled items and the most-spoiled one ends up with the least count in the end (because it merges with all the other spoiled ones).

You can observe it is in fact grabbing the most-spoiled by looking at the inserter GUI and seeing the item in the hand as it swings.
If you want to get ahold of me I'm almost always on Discord.
User avatar
futilityd
Burner Inserter
Burner Inserter
Posts: 10
Joined: Tue Mar 12, 2019 5:35 am
Contact:

Re: [2.0.32] Inserter Spoiled Priority setting not respected when taking items from Cargo Landing Pad

Post by futilityd »

Thank you for looking into this and for the explanation, that makes sense.
Post Reply

Return to “Not a bug”