forked from mtcontrib/farming
improved code
This commit is contained in:
parent
f8e37b264b
commit
e639b28709
2
soil.lua
2
soil.lua
@ -25,7 +25,7 @@ minetest.register_alias("farming:desert_sand_soil_wet", "farming:soil_wet")
|
|||||||
-- if water near soil then change to wet soil
|
-- if water near soil then change to wet soil
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"farming:soil", "farming:soil_wet"},
|
nodenames = {"farming:soil", "farming:soil_wet"},
|
||||||
interval = 1, -- 15
|
interval = 15,
|
||||||
chance = 4,
|
chance = 4,
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user