Natural Tree Expansion Reloaded deprecated


DISCONTINUED - every man and their dog has made a tree spreading mod, so download one of those. Trees spread naturally over time, they'll grow around anywhere the player visits, but only on grass and dirt areas, not concrete or any man-made tiles or sandy deserts etc. This originally was msakuta's mod, I'm simply making it work on newer versions of Factorio. Also I'll add a few new things too.

Tweaks
7 years ago
0.15
6

b 0.15.27 Broke the mod

7 years ago

There seems to be a check in place that picks up the fact that the mod apparently attempts to call math.random() outside an event or during loading.
Full error:

Attempting to call math.random() outside an event or during loading. This is invalid and will cause desyncs.
stack traceback:
NaturalTreeExpansionReloaded/control.lua:102: in main chunk

7 years ago

Can concur with the above, looks like .27 broke this mod for the time being.

7 years ago

It seems like call math.random before player initialization. I trying fix it for my game.

7 years ago

I have no error now, but mod not work.

7 years ago
(updated 7 years ago)

I use "Tree Growth" mods for my game now. It's work fine.

7 years ago

I have no error now, but mod not work.

Here is a diff [ https://www.diffchecker.com/etVDEgsj ] for
NaturalTreeExpansionReloaded_0.2.0.zip\NaturalTreeExpansionReloaded_0.2.0\control.lua. I watched it for a bit on high game.speed, trees were popping up over time (with default config).

New response