mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11:05 +01:00
Drop flower+pot after digging filled flower pots
This commit is contained in:
parent
65fea54e1e
commit
f800f876af
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue