mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 13:52:31 +01:00
Drop full rubber tree nodes
This commit is contained in:
parent
05b28f553e
commit
163457ed9a
@ -24,8 +24,11 @@ minetest.register_node(":moretrees:rubber_tree_trunk", {
|
|||||||
"technic_rubber_tree_full.png"},
|
"technic_rubber_tree_full.png"},
|
||||||
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
|
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
|
||||||
flammable=2},
|
flammable=2},
|
||||||
drop = "moretrees:rubber_tree_trunk_empty",
|
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
after_place_node = function(pos, placer, itemstack)
|
||||||
|
local meta = minetest.get_meta(pos)
|
||||||
|
meta:set_int("placed", 1)
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":moretrees:rubber_tree_trunk_empty", {
|
minetest.register_node(":moretrees:rubber_tree_trunk_empty", {
|
||||||
|
Loading…
Reference in New Issue
Block a user