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
6 years ago
0.15
6

b 0.15.27 Broke the mod

6 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

6 years ago

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

6 years ago

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

6 years ago

I have no error now, but mod not work.

6 years ago
(updated 6 years ago)

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

6 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