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
5 months ago
1.1 - 2.0
21.2K

b Bob's Modules problem

2 years ago
(updated 2 years 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

2 years 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"]

2 years ago

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

2 years ago

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

2 years ago

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

New response