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
1 year, 1 month ago
2.0
5.08K
Logistics Fluids Manufacturing Storage

i Buffer chest?

1 year, 2 days 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.

1 year, 2 days 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.

1 year, 1 day ago

Replaced with:

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

and it stopped freezing :((((

1 year, 1 day ago
(updated 1 year, 1 day 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.

1 year, 1 day ago

Yes, everything works great, thanks for your help!

New response