About Multi-spoil
From Factorio Mod PortalAn API for working with items that spoil into multiple items
API for making spoiling items into multiple things.
Example:
local multispoil = require("__multispoil__.api")
data.raw["item"]["iron-plate"].spoil_ticks = 5 * 60 -- 5 sec spoil time
data.raw["item"]["iron-plate"].spoil_to_trigger_result = multispoil.create_spoil_trigger({["iron-ore"] = 1, ["copper-ore"] = 5, ["copper-plate"] = 5}) -- spoils into 1 iron ore or 5 copper ore or 5 copper plates
data.raw["item"]["copper-plate"].spoil_ticks = 5 * 60 -- 5 sec spoil time
data.raw["item"]["copper-plate"].spoil_to_trigger_result = multispoil.create_spoil_weighted_trigger({["iron-plate"] = {weight = 3, count = 1}, ["copper-plate"] = {weight = 2, count = 1}, ["iron-ore"] = {weight = 1, count = 1}}) -- spoils into iron ore or copper or or copper platesHighlights
From source dataGame versions
Built for Factorio 2.0.
Footprint
Rated a light load on a server.
License
Published under MIT.
Multi-spoil 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
- 2.1.2, released 2025-08-15
Run Multi-spoil 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 catalogLibraries & compatibility
Foundations and fixes other mods build on. Usually installed because something else needs it.
Runs on your server
From source side supportFactorio Mod Portal lists Multi-spoil 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
- Game versions
- 2.0
Verified at the source
- ✓Factorio Mod PortalOfficial listing, checked 2026-10-08Open ↗
- ✓AuthorLambdaLemon, as published on Factorio Mod Portal
- ✓LicenseMITFree
