Cold Chain Logistics (Fridge)


Freeze food during transportation. This mod adds a whole cold chain logistics that can freeze items in it, includes a fridge, a train wagon, space cargo bay, and a warehouse. Slow down the spoil time in it. Adjustable in settings, default to 20 times. Mom don't need to worry about my agricultural science pack anymore! Just put them into refrigerator! working in progress, feel free to make any pr

Content
7 months ago
2.0
5.92K
Factorio: Space Age Icon Space Age Mod
Logistics Trains Logistic network Storage

b Crash with 0.2.0 [Fixed]

7 months ago

Version 0.2.0 caused a non recoverable error when removing a fridge in
on_player_mined_entity
Fridge/control.lua:283 malformeed pattern (ends with %)
in
Fridge/control.lua:257

7 months ago

Replacing line 283 with
elseif entity.name:find("refrigerater") then
seems to fix it.

7 months ago
(updated 7 months ago)

seems like i didn't save durning my last edit, updating

7 months ago

fixed

7 months ago

it no longer crashes but I get this message shown when I mine a fridge:

__core__lualib/production-score.lua:50 table index is nil

7 months ago

where did this message comes from? the chat log? on my end I didn't see anything.

7 months ago

it did appear on the left side oft the regular screen

7 months ago

I checked the code, it basically iterate through all the recipe in the game and add a dict using recipe's name, so you might got a recipe with name property not set. But I checked for my code, all my recipe is set with a name. so you might want to see if other mods causing this problem? try only enable my mod and space age and see if this still happens.

7 months ago

You are right, the message comes from an other mod. Thanks for your mod and the quick fix :)

7 months ago

that's good, thanks for letting me know.

New response