1
0
Fork 0

Drop flower+pot after digging filled flower pots

This commit is contained in:
Wuzzy 2017-02-10 21:32:25 +01:00
parent 65fea54e1e
commit f800f876af
1 changed files with 10 additions and 2 deletions

View File

@ -108,7 +108,11 @@ minetest.register_node("mcl_flowerpots:flower_pot_"..flower, {
minetest.add_item({x=pos.x, y=pos.y+0.5, z=pos.z}, flower_node)
minetest.set_node(pos, {name="mcl_flowerpots:flower_pot"})
end,
drop = "mcl_flowerpots:flower_pot",
drop = {
items = {
{ items = { "mcl_flowerpots:flower_pot", flower_node } }
}
},
})
end
@ -140,6 +144,10 @@ minetest.register_node("mcl_flowerpots:flower_pot_"..flower, {
minetest.add_item({x=pos.x, y=pos.y+0.5, z=pos.z}, flower_node)
minetest.set_node(pos, {name="mcl_flowerpots:flower_pot"})
end,
drop = "mcl_flowerpots:flower_pot",
drop = {
items = {
{ items = { "mcl_flowerpots:flower_pot", flower_node } }
}
},
})
end