The spoiling-plant mod checks and adds recipes based on spoil_result.
If you remove prototype.spoil_result = nil, the mod will work perfectly.
local function remove_spoil_mechanic(prototype)
prototype.spoil_ticks = nil
prototype.spoil_result = nil
prototype.spoil_to_trigger_result = nil
end