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?
Can spoilage decay into nothing?
Re: Can spoilage decay into nothing?
Code: Select all
data.raw.capsule["raw-fish"].spoil_ticks = 60
data.raw.capsule["raw-fish"].spoil_result = null
Good Luck!
- Attachments
-
- 2025-09-05 12-55-31.mp4
- (1.98 MiB) Downloaded 9 times
Re: Can spoilage decay into nothing?
Deliciously succinct!
Can't wait to try and eat fish before they slip straight out of my hands!
Thanks!
Can't wait to try and eat fish before they slip straight out of my hands!
Thanks!