Currently the settings in the Map-Gen changes spoilage for all items, and from what I can tell the spoilage-modifying mods currently on the portal all remove it entirely.
Having dealt with Gleba one thing I realised frustrated me the most, was that the science pack itself would spoil.
Having a mod that would let me set that to never spoil would be a nice addition.
Mod Suggestion: Removing/Changing spoilage on an item-by-item Basis
Re: Mod Suggestion: Removing/Changing spoilage on an item-by-item Basis
If you just want the one item to not spoil, it should be as simple as a single line in data.lua:
Can't test it myself as I don't own SA, and the prototype docs are completely lacking any kind of info for spoil_ticks, but that's how it appears to work.
Code: Select all
data.raw.tool["agricultural-science-pack"].spoil_ticks = nil
Re: Mod Suggestion: Removing/Changing spoilage on an item-by-item Basis
Can you check it? I tried but it didn't work.Silari wrote: ↑Wed Oct 30, 2024 10:51 pm If you just want the one item to not spoil, it should be as simple as a single line in data.lua: spacebar clickerCan't test it myself as I don't own SA, and the prototype docs are completely lacking any kind of info for spoil_ticks, but that's how it appears to work.Code: Select all
data.raw.tool["agricultural-science-pack"].spoil_ticks = nil
Re: Mod Suggestion: Removing/Changing spoilage on an item-by-item Basis
Nope. As I said, I don't own SA. You can try putting it in data-final-fixes.lua instead, with a dependency set for the Space Age mod. That'd make sure SA isn't overwriting it. Beyond that, :shrug: