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.
ItemPrototype::spoil_bar_visible
-
thesixthroc
- Fast Inserter

- Posts: 152
- Joined: Wed Apr 29, 2020 9:53 pm
- Contact:
ItemPrototype::spoil_bar_visible
Last edited by thesixthroc on Fri Mar 13, 2026 9:02 pm, edited 2 times in total.
Re: ItemPrototype::spoil_bar_visible
Or an option for players to disable the same way we can turn off inserter arrows in ALT modethesixthroc 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.
My own personal Factorio super-power - running out of power.
- protocol_1903
- Filter Inserter

- Posts: 470
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: ItemPrototype::spoil_bar_visible
+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
https://mods.factorio.com/user/protocol_1903
Re: ItemPrototype::spoil_bar_visible
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.
