Consolidate ABMs
authorparamat <mat.gregory@virginmedia.com>
Sat, 13 Feb 2016 08:33:58 +0000 (08:33 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sun, 14 Feb 2016 05:22:20 +0000 (05:22 +0000)
commit7d2dfe41016c7c4b50d1afdab308efca00c20681
tree2ef0b0b5dde64099cc5fe10b3cff2654df2117f8
parent04f01bc57fee73d407874c1c92d59fa9ba803e2c
Consolidate ABMs

Spread ABM intervals evenly across 1 to 16 seconds
16s ensures no nodes are missed when player walks past
Adjust chance values to compensate, for identical action rates
Combine lavacooling ABMs into one, return to chance = 1
Grass growth: add 'neighbors = "air"' to avoid
processing the thousands of underground dirt nodes
Grass death: Reduce action rate to that of grass growth
Fire: Use chance = 1 for flame extinguishing
and flame removal when mod is disabled
mods/default/functions.lua
mods/farming/api.lua
mods/fire/init.lua
mods/flowers/init.lua
mods/stairs/init.lua
mods/tnt/init.lua