ItemPrototype::spoil_bar_visible

thesixthroc
Fast Inserter
Fast Inserter
Posts: 152
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

ItemPrototype::spoil_bar_visible

Post by thesixthroc »

For items that spoil in a loop into each other, especially with short timers, when sitting on belts it can sometimes be visually noisy to have the spoil bar visible (when in alt mode). An API like this defaulting to true would allow modders to disable this behavior.

For this proposal I believe the behavior in inventory views should be unchanged.
Last edited by thesixthroc on Fri Mar 13, 2026 9:02 pm, edited 2 times in total.
Amarula
Filter Inserter
Filter Inserter
Posts: 680
Joined: Fri Apr 27, 2018 1:29 pm
Contact:

Re: ItemPrototype::spoil_bar_visible

Post by Amarula »

thesixthroc wrote: Fri Mar 13, 2026 7:05 am For items that spoil in a loop into each other, especially with short timers, when sitting on belts it can sometimes be visually noisy to have the spoil bar visible (when in alt mode). An API like this defaulting to true would allow modders to disable this behavior.
Or an option for players to disable the same way we can turn off inserter arrows in ALT mode :)
My own personal Factorio super-power - running out of power.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 470
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: ItemPrototype::spoil_bar_visible

Post by protocol_1903 »

+1
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Rseding91
Factorio Staff
Factorio Staff
Posts: 16656
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: ItemPrototype::spoil_bar_visible

Post by Rseding91 »

For 2.1 I've added ItemPrototypeFlags hide-health-bar-in-world, and hide-spoilage-bar-in-world.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”