diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-12-08 14:47:22 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-12-08 14:47:22 +0000 |
commit | 171a67ebf2be68ce08c706c436cb579bd2fa0ad6 (patch) | |
tree | 6db4fd6b3cdc58048f08ee303c73839c3d8136fc /soil.lua | |
parent | dc894725c71fa2fbb6d33cd4d76c8f78a009d241 (diff) |
Code tweak and tidy, fixed rhubarb spawning
Diffstat (limited to 'soil.lua')
-rw-r--r-- | soil.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,7 @@ minetest.register_abm({ interval = 15, chance = 4, catch_up = false, + action = function(pos, node) pos.y = pos.y + 1 @@ -52,8 +53,10 @@ minetest.register_abm({ if node.name == "farming:soil" then minetest.set_node(pos, {name = "farming:soil_wet"}) end + elseif node.name == "farming:soil_wet" then minetest.set_node(pos, {name = "farming:soil"}) + elseif node.name == "farming:soil" then minetest.set_node(pos, {name = "default:dirt"}) end |