Merging Chests

by Atria

Enables merging of multiple chests into one entity. Supports merging of arbitrary number of chests (configurable in mod settings).

Content
a day ago
0.13 - 2.0
115K
Storage

b [3.0.4] Crash on launch

4 years ago
(updated 4 years ago)

22.123 Error ModManager.cpp:1471: Failed to load mod "WideChests": WideChests/data-updates.lua:2: WideChests/prototypes/entity.lua:28: attempt to perform arithmetic on field 'max_health' (a nil value)
stack traceback:
WideChests/prototypes/entity.lua:28: in function <WideChests/prototypes/entity.lua:17>
(...tail calls...)
WideChests/prototypes/entity.lua:133: in main chunk
[C]: in function 'require'
WideChests/data-updates.lua:2: in main chunk
stack traceback:
[C]: in function 'require'
WideChests/data-updates.lua:2: in main chunk
22.126 Loading mod core 0.0.0 (data.lua)
22.276 Checksum for core: 1964106968
22.388 Error ModManager.cpp:1471: Error in assignID, recipe-category with name 'crafting' does not exist.

Full log: https://hastebin.com/efumudixur.cs

4 years ago

This is the same error I am getting.

4 years ago
(updated 4 years ago)

Hey gamers, I was getting an identical error so here is a fix.

Go to your factorio mod folder: C:\Users\ YOURNAME\AppData\Roaming\Factorio\mods

Open: WideChests_3.0.4\prototypes\entity.lua

Replace this line: max_health = data.max_health * math.min(width * height, 10),

With this line: max_health = 1000,

Hit Save, and factorio will load

Every merg chest will have 1000 health. I would give a better fix, but I don't program in lua. I hope this helps.

4 years ago

I'm sorry, it is ifxed in 3.0.5.

4 years ago

thanks ... it seems to work fine now !

New response