diff options
Diffstat (limited to 'flowers.lua')
-rw-r--r-- | flowers.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/flowers.lua b/flowers.lua index ee4450f..eb58102 100644 --- a/flowers.lua +++ b/flowers.lua @@ -2,8 +2,8 @@ minetest.register_abm({ nodenames = {"group:flora"}, neighbors = {"group:soil"}, - interval = 25, - chance = 15, + interval = 13, --25, + chance = 96, --15, catch_up = false, action = function(pos, node) @@ -54,7 +54,7 @@ minetest.register_abm({ local fflower = minetest.find_nodes_in_area_under_air( pos0, pos1, {"ethereal:fire_flower"}) - if #grass > 7 + if #grass > 8 and #fflower < 1 then grass = grass[math.random(#grass)] |