inserters are not exposing 'spoil_priority' attribute which is visible in the GUI

User avatar
hgschmie
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Tue Feb 06, 2024 5:18 am
Contact:

inserters are not exposing 'spoil_priority' attribute which is visible in the GUI

Post by hgschmie »

Inserters in Space Age have a "spoiled priority" radio selector in their GUI:
Screenshot 2025-01-04 at 15.11.15.png
Screenshot 2025-01-04 at 15.11.15.png (16.97 KiB) Viewed 370 times
When blueprinting an inserter, these show up in the blueprint as "spoil_priority": "fresh-first" or "spoil_priority": "spoiled-first".

However, this attribute is not documented or exposed in LuaEntity which makes custom inserters hard.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3454
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: inserters are not exposing 'spoil_priority' attribute which is visible in the GUI

Post by boskid »

Missing api goes to modding interface requests, not to bugs
User avatar
hgschmie
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Tue Feb 06, 2024 5:18 am
Contact:

Re: inserters are not exposing 'spoil_priority' attribute which is visible in the GUI

Post by hgschmie »

Yes. :-) As I did not get any replies, I decided to (re-)post this as a bug report.
curiosity
Filter Inserter
Filter Inserter
Posts: 558
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: inserters are not exposing 'spoil_priority' attribute which is visible in the GUI

Post by curiosity »

For the future I recommend making up your mind whether you are making a help request (which should go in Modding help) or an API request. And to have some patience (for the latter, at least).
Post Reply

Return to “Implemented mod requests”