Page 1 of 1

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

Posted: Sat Jan 04, 2025 11:13 pm
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 403 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.

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

Posted: Sat Jan 04, 2025 11:42 pm
by boskid
Missing api goes to modding interface requests, not to bugs

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

Posted: Sun Jan 05, 2025 4:51 am
by curiosity

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

Posted: Mon Jan 06, 2025 1:28 am
by hgschmie
Yes. :-) As I did not get any replies, I decided to (re-)post this as a bug report.

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

Posted: Mon Jan 06, 2025 3:07 pm
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).