SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedLibraries & compatibility

Multi-spoil

by LambdaLemon · for Factorio

An API for working with items that spoil into multiple items

16KDownloads
15 mo agoLast updated
MITLicense
2.0Latest game version

About Multi-spoil

From Factorio Mod Portal

An 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 plates

Highlights

From source data

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

Libraries & compatibility

Foundations and fixes other mods build on. Usually installed because something else needs it.

Runs on your server

From source side support

Factorio 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

Multi-spoil, answered

Generated from the mod’s own source data.

Do my players need to install Multi-spoil?

Factorio Mod Portal lists Multi-spoil as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Multi-spoil 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 Multi-spoil on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Multi-spoil in one click.