diff options
author | Auke Kok <sofar@foo-projects.org> | 2015-11-25 22:25:41 -0800 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2015-11-25 22:25:41 -0800 |
commit | 5329ff5b369602918fbb70b61351b2d89ae440eb (patch) | |
tree | e733b404acb8d415aaacad51275d72dce72d1b7b /potato.lua | |
parent | f5908b08afddf6da3d569c2328fd61784da7a0c3 (diff) |
Particle spawner on dead plants: flies.
These buzz around dead plants, right after they die.
Diffstat (limited to 'potato.lua')
-rw-r--r-- | potato.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ minetest.register_abm({ local meta = minetest.get_meta(pos) local damage = meta:get_int("crops_damage") if damage == 100 then - minetest.set_node(pos, { name = "crops:potato_plant_5" }) + crops.die(pos) return end local n = string.gsub(node.name, "3", "4") |