Skip to content
Snippets Groups Projects
Commit 36fd52a0 authored by Milan's avatar Milan
Browse files

mystic_plant: spawn small lava_slime on_punch

parent 70670b47
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ farming
stairs
flowers
doors
mobs_slimes
bakedclay?
moreblocks?
intllib?
......@@ -308,6 +308,10 @@ minetest.register_node("ethereal:mystic_plant", {
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
},
walkable = false,
on_punch =function(pos, node)
pos = {x=pos.x, y=pos.y+2, z=pos},
minetest.add_entity(pos, "mobs_slimes:lava_small")
end
})
minetest.register_node("ethereal:dornbush", {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment