2015-07-04 14:22:39 +03:00
|
|
|
--= Define Trunks and Wood
|
|
|
|
|
|
|
|
-- Acacia Trunk (thanks to VanessaE for acacia textures)
|
|
|
|
minetest.register_node("ethereal:acacia_trunk", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Acacia Trunk",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"moretrees_acacia_trunk_top.png",
|
|
|
|
"moretrees_acacia_trunk_top.png",
|
|
|
|
"moretrees_acacia_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Acacia Wood
|
|
|
|
minetest.register_node("ethereal:acacia_wood", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Acacia Wood",
|
|
|
|
tiles = {"moretrees_acacia_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:acacia_wood 4",
|
|
|
|
recipe = {{"ethereal:acacia_trunk"}}
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Willow Trunk
|
|
|
|
minetest.register_node("ethereal:willow_trunk", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Willow Trunk",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"willow_trunk_top.png",
|
|
|
|
"willow_trunk_top.png",
|
|
|
|
"willow_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Willow Wood
|
|
|
|
minetest.register_node("ethereal:willow_wood", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Willow Wood",
|
|
|
|
tiles = {"willow_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:willow_wood 4",
|
|
|
|
recipe = {{"ethereal:willow_trunk"}}
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Redwood Trunk
|
|
|
|
minetest.register_node("ethereal:redwood_trunk", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Redwood Trunk",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"redwood_trunk_top.png",
|
|
|
|
"redwood_trunk_top.png",
|
|
|
|
"redwood_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Redwood Wood
|
|
|
|
minetest.register_node("ethereal:redwood_wood", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Redwood Wood",
|
|
|
|
tiles = {"redwood_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:redwood_wood 4",
|
|
|
|
recipe = {{"ethereal:redwood_trunk"}},
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Frost Trunk
|
|
|
|
minetest.register_node("ethereal:frost_tree", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Frost Tree",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"ethereal_frost_tree_top.png",
|
|
|
|
"ethereal_frost_tree_top.png",
|
|
|
|
"ethereal_frost_tree.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Frost Wood
|
|
|
|
minetest.register_node("ethereal:frost_wood", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Frost Wood",
|
|
|
|
tiles = {"frost_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:frost_wood 4",
|
|
|
|
recipe = {{"ethereal:frost_tree"}}
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Healing Trunk
|
|
|
|
minetest.register_node("ethereal:yellow_trunk", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Healing Tree Trunk",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"yellow_tree_top.png",
|
|
|
|
"yellow_tree_top.png",
|
|
|
|
"yellow_tree.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Healing Wood
|
|
|
|
minetest.register_node("ethereal:yellow_wood", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Healing Tree Wood",
|
|
|
|
tiles = {"yellow_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:yellow_wood 4",
|
|
|
|
recipe = {{"ethereal:yellow_trunk"}}
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Palm Trunk (thanks to VanessaE for palm textures)
|
|
|
|
minetest.register_node("ethereal:palm_trunk", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Palm Trunk",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"moretrees_palm_trunk_top.png",
|
|
|
|
"moretrees_palm_trunk_top.png",
|
|
|
|
"moretrees_palm_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Palm Wood
|
|
|
|
minetest.register_node("ethereal:palm_wood", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Palm Wood",
|
|
|
|
tiles = {"moretrees_palm_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:palm_wood 4",
|
|
|
|
recipe = {{"ethereal:palm_trunk"}}
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Banana Tree Trunk
|
|
|
|
minetest.register_node("ethereal:banana_trunk", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Banana Trunk",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"banana_trunk_top.png",
|
|
|
|
"banana_trunk_top.png",
|
|
|
|
"banana_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Banana Tree Wood
|
|
|
|
minetest.register_node("ethereal:banana_wood", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Banana Wood",
|
|
|
|
tiles = {"banana_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:banana_wood 4",
|
|
|
|
recipe = {{"ethereal:banana_trunk"}}
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Scorched Trunk
|
|
|
|
minetest.register_node("ethereal:scorched_tree", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Scorched Tree",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"scorched_tree_top.png",
|
|
|
|
"scorched_tree_top.png",
|
|
|
|
"scorched_tree.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2015-05-20 18:57:17 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:scorched_tree 8",
|
|
|
|
recipe = {
|
|
|
|
{"group:tree", "group:tree", "group:tree"},
|
|
|
|
{"group:tree", "default:torch", "group:tree"},
|
|
|
|
{"group:tree", "group:tree", "group:tree"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
-- Mushroom Trunk
|
|
|
|
minetest.register_node("ethereal:mushroom_trunk", {
|
2014-11-09 22:17:41 +03:00
|
|
|
description = "Mushroom",
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
|
|
|
"mushroom_trunk_top.png",
|
|
|
|
"mushroom_trunk_top.png",
|
|
|
|
"mushroom_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2015-07-04 14:22:39 +03:00
|
|
|
})
|