Freeze water into ice. Enclose items in ice to slow spoiling. Store spoilables in a refrigerator to stop spoiling completely. Fridges draw power based on ambient temperature. Also adds cooled wagons.
Just FYI: It should not require any special code changes. The freezing/unfreezing recipes are autogenerated based on all spoilable items. Just make sure to declare all items in data or data-updates, not data-final-fixes.
yeah, I was just about to write that too xD
realized if I add spoilage to my foods (which is the next thing on the todo) it probably just works ... based!
Looking at the mod in the mod browser I see it mandatory depends on space age
can you instead make it optionally depend on this or something: https://mods.factorio.com/mod/enable-all-feature-flags?from=search
Because my food mod is going to be compatible with py and or vanilla stuff, but py currently is incompatible with space age (but uses the feature flags mod to optionally enable spoilage and such for people with the DLC)