Page 1 of 1

Can spoilage decay into nothing?

Posted: Fri Sep 05, 2025 4:10 pm
by Fishbus
More of a query!

I was thinking a little about spoilage (I haven't touched it much as I'm not really working with SA) and I had the question pop into my head:

Can an item spoil into nothing? As in, is it possible to make an item decay completely.

This would be useful if something drops on the ground and you would like it to disappear over time so it doesn't clog up the floor if units drop them. Or perhaps you just want to make something disintegrate over time. (e.g. Fish -> Rotten Fish -> Spoilage -> 'nil' )

Is it possible? or must a spoilage_result link to an item?

Re: Can spoilage decay into nothing?

Posted: Fri Sep 05, 2025 4:58 pm
by eugenekay

Code: Select all

data.raw.capsule["raw-fish"].spoil_ticks = 60
data.raw.capsule["raw-fish"].spoil_result = null


Good Luck!

Re: Can spoilage decay into nothing?

Posted: Fri Sep 05, 2025 5:07 pm
by Fishbus
Deliciously succinct!

Can't wait to try and eat fish before they slip straight out of my hands!

Thanks!