Source-checkedGameplay & overhauls

The Spice Rack - Decaying goods

by jodokus32 · for Factorio

The 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

92Downloads
5 yr agoLast updated
MITLicense
Factorio Mod PortalSource

About The Spice Rack - Decaying goods

From Factorio Mod Portal

The 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 data

Footprint

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

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 catalog
Listed on Factorio Mod Portal as “Mods”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Runs on your server

From source side support

Factorio 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

The Spice Rack - Decaying goods, answered

Generated from the mod’s own source data.

Do my players need to install The Spice Rack - Decaying goods?

Factorio 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.

Is it free?

Yes. The Spice Rack - Decaying goods is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run The Spice Rack - Decaying goods on a Factorio server.

Deploy in about a minute from $2.99 a month, then add The Spice Rack - Decaying goods in one click.