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
1 year, 27 days ago
2.0
6.80K
Factorio: Space Age Icon Space Age Mod
Logistics Trains Logistic network Storage

b Crash with 0.2.0 [Fixed]

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

1 year, 27 days ago

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

1 year, 27 days ago
(updated 1 year, 27 days ago)

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

1 year, 27 days ago

fixed

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

1 year, 27 days ago

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

1 year, 26 days ago

it did appear on the left side oft the regular screen

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

1 year, 26 days ago

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

1 year, 25 days ago

that's good, thanks for letting me know.

New response