Freezer


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.

Content
7 months ago
2.0
4.49K
Logistics Fluids Manufacturing Storage

i Buffer chest?

6 months ago

Hi!
Thanks for the mod!
Is it possible to make the fridge (spoilables-freezer-container) not just a chest, but somehow assign it the same type as the buffer chest? So that drones can use it on request.

6 months ago

entity.lua has:
local container = util.table.deepcopy(data.raw["container"]["steel-chest"])

You should be able to change the base item for container there. Perhaps just replacing steel-chest will work.

6 months ago

Replaced with:

local container = util.table.deepcopy(data.raw["logistic-container"]["buffer-chest"])

and it stopped freezing :((((

6 months ago
(updated 6 months ago)

Pick up placed refrigerators from your map.
Change the line:
local container = util.table.deepcopy(data.raw["logistic-container"]["buffer-chest"])
Place refrigerators down (code links entities to new storages when placed).
Just tested this, worked for me.

But beware if you change this and don't pick up refrigerators, then the old storage entity will turn unremoveable.

6 months ago

Yes, everything works great, thanks for your help!

New response