Long Reach Research

by Mooncat
Adds technologies for increasing operation, build, item drop, item pickup, loot pickup, and mine distances.
2 years ago
0.14 - 0.15
16739

g Conflict: Miniloaders + Long Reach Research

- 2 years ago

Trying to start a new game with both Miniloaders & Long Reach Research gives the following error:

"Error while running on_init: Error while running event long-reach-research::on_force_created (ID 27)
long-reach-research/control.lua:257: attempt to perform arithmetic on local 'new_initial_reach_distance_bonus' (a nil value)
stack traceback:
miniloader/control.lua:45: in function <miniloader/control.lua:44>"

Both mods work separately and if I enable one, take a save, then enable the other they both work (in either order).

I'm not sure what the real problem is but this error message makes me believe that LRR isn't fully initiated when Miniloaders forces an action. Just wanted to let you guys know and give the workaround that fixed it for me.