Bob's Logistics mod


Adds logistic related things.

Content
a month ago
0.13 - 1.1
268K
Logistics

b Breaks BigChests mod

4 years ago

When running this with Big Chests (which sets all chests to 2x2) it gives the error:

Failed to load mods: Error while running setup for entity prototype "steel-chest" (container): next_upgrade target (brass-chest) must have the same bounding box.

I checked and the Collision_Box and Selection_Box for the bob's logistics chests and they are the same size as the iron chests, so I added:
set_to_2x2_size(data.raw.container['brass-chest'])
set_to_2x2_size(data.raw.container['titanium-chest'])
to the data-final-fixes.lua file in BigChests right after the steel chest entry.

Now I'm receiving the error:

Failed to load mods: BigChests/data-final-fixes.lua:14: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
BigChests/data-final-fixes.lua:14: in function 'set_to_2x2_size'
BigChests/data-final-fixes.lua:29: in main chunk

I was wondering if there are any changes I can make to the chests.lua entity in the Bob's Logistics mod and make any changes in order to make these two play together more nicely? Thanks!

New response