About The Spice Rack - Decaying goods
From Factorio Mod PortalThe Spice Rack is intended to spice up the vanilla game by changing some well chosen details. Most changes can be disabled individually. Buffering gets even worse. Basic goods are decaying and emitting pollution, if they are buffered in chests. The more a chest is filled, the bigger percentage of the content is decaying... CAUTION: Not tested in multiplayer! Interested in feedback
The Spice Rack
The Spice Rack is intended to spice up the vanilla game by changing some well chosen details. Most changes can be disabled individually.
The Spice Rack - Decaying goods
Buffering gets even worse. Basic goods are decaying and emitting pollution, if they are buffered in chests. The more a chest is filled, the bigger percentage of the content is decaying. This should encourage to don't excessively buffer basic items, but create production lines, which uses the material on the fly. Some buffering is always necessary, f.e. for train stations, but it's a consideration, how small this buffer can be.
Summary
Basic goods like ores, plates, wood, fish, plastic, batteries, uranium are decaying with invidual rate per hour. This can be configured in the settings. For each decayed item, it is removed from the chest and/or pollution is emitted, which is also configurable
The only way to see what's happening currently is to call: /spice_rack_item_statistics (does not deactivate achievements tracking)
Commands
There are some command line commands:
- /spice_rack_item_statistics - displays a statistics about items and how much already decayed
- /spice_rack_active_containers - displays all containers (chests)
- /spice_rack_rebuild_containers - rebuild the containers structure, if necessary
Options:
- Emitted pollution per decayed item - How much pollution is emitted per decayed item (0 is none)
- Destroy decayed items from chest - Whether decayed items are actually destroyed
- Decay % <item> - Max. decay rate percent per hour (less than 48 stacks in chest means lower decay rate)
- Expert: Slot count for containers - Expert: More slots are useful for large amount of containers to increase performance. Must be a prime
- Expert: Interval in ticks - Expert: Bigger intervals enlarge the turnaround time (slots * interval). Can be increased to improve performance.
- Debug mode for decaying goods - 0=off, 1=errors only, 2=errors and warning, 3=additional infos, 4=additional debug logs
Technical background
The mods keeps track over all placed containers and investigates the content. For the amount of each decayable item, an integer decay is calculated and the items get removed from container and/or pollution is emitted. Since decay is sometimes very slow, the decayed fraction per item is carried along to the next calculation of that item.
To ensure performance, the containers are handled not all at once, but they are distributed over a timespan of ~ 2 min. . When a container is added, it's assign to an alternating slot. One slot is handled each interval of 10 ticks (configurable). The amount of slots is a prime value: 719 (configurable). 7190 ticks ~ 2 min.
Highlights
From source dataFootprint
Rated a light load on a server.
License
Published under MIT.
Last update
Its author last shipped an update 5 yr ago.
The Spice Rack - Decaying goods on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 0.0.1, released 2021-06-29
Dependencies
- Required: The Spice Rack - Core
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run The Spice Rack - Decaying goods on a Factorio server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogGameplay & overhauls
New mechanics, content and overhauls that change how the game plays.
Runs on your server
From source side supportFactorio Mod Portal lists The Spice Rack - Decaying goods as required on the server. Check its Factorio Mod Portal page to see whether players need it too.
Compatibility
- Game
- Factorio
- Runs on
- Serverrequired on the server
Verified at the source
- ✓Factorio Mod PortalOfficial listing, checked 2026-10-09Open ↗
- ✓Authorjodokus32, as published on Factorio Mod Portal
- ✓LicenseMITFree

