Adds missing nodes

This commit is contained in:
minefaco 2020-11-20 22:15:28 -05:00 committed by GitHub
parent db43b78ad7
commit 64ca28fe7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,3 +20,69 @@ local trunk_names = {
stripped_tree.register_trunk(mod_name,trunk_names)
--register tree variations using the same texture as default moretree trunks
minetest.register_node(":"..mod_name..":stripped_date_palm_ffruit_trunk", {
description = "Stripped date_palm_fruit_trunk",
tiles = {
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk.png"
},
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
on_place = minetest.rotate_node,
})
minetest.register_node(":"..mod_name..":stripped_date_palm_mfruit_trunk", {
description = "Stripped date_palm_fruit_trunk",
tiles = {
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk.png"
},
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
on_place = minetest.rotate_node,
})
minetest.register_node(":"..mod_name..":stripped_date_palm_ffruit_trunk", {
description = "Stripped date_palm_fruit_trunk",
tiles = {
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk.png"
},
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
on_place = minetest.rotate_node,
})
minetest.register_node(":"..mod_name..":stripped_date_palm_fruit_trunk", {
description = "Stripped date_palm_fruit_trunk",
tiles = {
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk_top.png",
"stripped_"..mod_name.."_date_palm_trunk.png"
},
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
on_place = minetest.rotate_node,
})
minetest.register_node(":"..mod_name..":stripped_rubber_tree_trunk_empty", {
description = "Stripped date_palm_fruit_trunk",
tiles = {
"stripped_"..mod_name.."_rubber_tree_trunk_top.png",
"stripped_"..mod_name.."_rubber_tree_trunk_top.png",
"stripped_"..mod_name.."_rubber_tree_trunk.png"
},
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
on_place = minetest.rotate_node,
})