API for making spoiling items into multiple things.
Example:
local multispoil = require("__multispoil__.api")
data.raw["item"]["iron-plate"].spoil_ticks = 30 * 60 -- 30 sec spoil time
data.raw["item"]["iron-plate"].spoil_to_trigger_result = multispoil.create_spoil_trigger({"iron-ore", "copper-ore", "copper-plate"}) -- spoils into iron ore or copper or or copper plates