Beacon Rebalance


Beacon rebalance mod that emulates the balance of Space Exploration's beacons, including the overload mechanic. (Now with Krastorio 2 and Bob's/SeaBlock compatibility!)

Tweaks
1 year, 3 months ago
1.1
16.6K

b Bob's Modules problem

1 year, 4 months ago
(updated 1 year, 4 months ago)

11.924 Loading mod wret-beacon-rebalance-mod 1.0.14 (data-final-fixes.lua)
11.924 Error ModManager.cpp:1558: Failed to load mod "wret-beacon-rebalance-mod": ...ebalance-mod__/prototypes/compatibility/bobs_modules.lua:29: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
...ebalance-mod__/prototypes/compatibility/bobs_modules.lua:29: in main chunk
[C]: in function 'require'
wret-beacon-rebalance-mod/data-final-fixes.lua:2: in main chunk

1 year, 4 months ago

I fixed this up for myself. In prototypes/compatability/bobs_modules.lua:

Line 29: replace data.raw["recipe"]["beacon-2"] with data.raw["recipe"]["beacon2-recipe"]
Line 40: replace data.raw["recipe"]["beacon-3"] with data.raw["recipe"]["beacon3-recipe"]

1 year, 3 months ago

what settings/modlist were you using when you got this error? I don't seem to be able to reproduce it.

1 year, 3 months ago

Here's a minimal savefile to reproduce: https://www.dropbox.com/s/zkoe4c7yeg1si7l/SeablockTest.zip?dl=0

1 year, 3 months ago

This bug is confirmed to exist in 1.0.15. Same fix as above works.

New response