2015-07-04 14:22:39 +03:00
|
|
|
|
2023-08-14 10:08:04 +03:00
|
|
|
local S = ethereal.translate
|
2016-06-09 17:08:34 +03:00
|
|
|
|
2023-06-08 18:06:57 +03:00
|
|
|
-- basandra wood
|
|
|
|
minetest.register_node("ethereal:basandra_wood", {
|
|
|
|
description = S("Basandra Wood"),
|
|
|
|
tiles = {"ethereal_basandra_bush_wood.png"},
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
is_ground_content = false,
|
2023-09-17 11:56:28 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1},
|
2023-06-08 18:06:57 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2023-08-26 09:48:53 +03:00
|
|
|
output = "ethereal:basandra_wood 2",
|
2023-06-08 18:06:57 +03:00
|
|
|
recipe = {{"ethereal:basandra_bush_stem"}}
|
|
|
|
})
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2019-02-16 15:23:14 +03:00
|
|
|
-- sakura trunk
|
|
|
|
minetest.register_node("ethereal:sakura_trunk", {
|
|
|
|
description = S("Sakura Trunk"),
|
|
|
|
tiles = {
|
|
|
|
"ethereal_sakura_trunk_top.png",
|
|
|
|
"ethereal_sakura_trunk_top.png",
|
|
|
|
"ethereal_sakura_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2019-02-16 15:23:14 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
-- sakura wood
|
|
|
|
minetest.register_node("ethereal:sakura_wood", {
|
|
|
|
description = S("Sakura Wood"),
|
|
|
|
tiles = {"ethereal_sakura_wood.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
2021-06-04 22:54:19 +03:00
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2019-02-16 15:23:14 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:sakura_wood 4",
|
|
|
|
recipe = {{"ethereal:sakura_trunk"}}
|
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- willow trunk
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:willow_trunk", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Willow Trunk"),
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
2021-04-02 23:06:43 +03:00
|
|
|
"ethereal_willow_trunk_top.png",
|
|
|
|
"ethereal_willow_trunk_top.png",
|
|
|
|
"ethereal_willow_trunk.png"
|
2015-07-04 14:22:39 +03:00
|
|
|
},
|
|
|
|
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",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- willow wood
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:willow_wood", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Willow Wood"),
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_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(),
|
2021-06-04 22:54:19 +03:00
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:willow_wood 4",
|
|
|
|
recipe = {{"ethereal:willow_trunk"}}
|
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- redwood trunk
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:redwood_trunk", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Redwood Trunk"),
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
2021-04-02 23:06:43 +03:00
|
|
|
"ethereal_redwood_trunk_top.png",
|
|
|
|
"ethereal_redwood_trunk_top.png",
|
|
|
|
"ethereal_redwood_trunk.png"
|
2015-07-04 14:22:39 +03:00
|
|
|
},
|
|
|
|
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",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- redwood wood
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:redwood_wood", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Redwood Wood"),
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_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},
|
2021-06-04 22:54:19 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:redwood_wood 4",
|
2021-04-02 23:06:43 +03:00
|
|
|
recipe = {{"ethereal:redwood_trunk"}}
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- frost trunk
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:frost_tree", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("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"
|
|
|
|
},
|
2021-04-06 20:57:00 +03:00
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- frost wood
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:frost_wood", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Frost Wood"),
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_frost_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2021-04-06 20:57:00 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1},
|
2021-06-04 22:54:19 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:frost_wood 4",
|
|
|
|
recipe = {{"ethereal:frost_tree"}}
|
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- healing trunk
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:yellow_trunk", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Healing Tree Trunk"),
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
2021-04-02 23:06:43 +03:00
|
|
|
"ethereal_yellow_tree_top.png",
|
|
|
|
"ethereal_yellow_tree_top.png",
|
|
|
|
"ethereal_yellow_tree.png"
|
2015-07-04 14:22:39 +03:00
|
|
|
},
|
2021-04-06 20:57:00 +03:00
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- healing wood
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:yellow_wood", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Healing Tree Wood"),
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_yellow_wood.png"},
|
2015-06-24 12:00:12 +03:00
|
|
|
is_ground_content = false,
|
2021-04-06 20:57:00 +03:00
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1},
|
2021-06-04 22:54:19 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:yellow_wood 4",
|
|
|
|
recipe = {{"ethereal:yellow_trunk"}}
|
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- palm trunk (thanks to VanessaE for palm textures)
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:palm_trunk", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("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",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- palm wood
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:palm_wood", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Palm Wood"),
|
2014-11-09 22:17:41 +03:00
|
|
|
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},
|
2021-06-04 22:54:19 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:palm_wood 4",
|
|
|
|
recipe = {{"ethereal:palm_trunk"}}
|
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- banana trunk
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:banana_trunk", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Banana Trunk"),
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
2021-04-02 23:06:43 +03:00
|
|
|
"ethereal_banana_trunk_top.png",
|
|
|
|
"ethereal_banana_trunk_top.png",
|
|
|
|
"ethereal_banana_trunk.png"
|
2015-07-04 14:22:39 +03:00
|
|
|
},
|
|
|
|
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",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- banana wood
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:banana_wood", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Banana Wood"),
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_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},
|
2021-06-04 22:54:19 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:banana_wood 4",
|
|
|
|
recipe = {{"ethereal:banana_trunk"}}
|
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- scorched trunk
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:scorched_tree", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Scorched Tree"),
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
2021-04-02 23:06:43 +03:00
|
|
|
"ethereal_scorched_tree_top.png",
|
|
|
|
"ethereal_scorched_tree_top.png",
|
|
|
|
"ethereal_scorched_tree.png"
|
2015-07-04 14:22:39 +03:00
|
|
|
},
|
|
|
|
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",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
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"},
|
2021-04-02 23:06:43 +03:00
|
|
|
{"group:tree", "group:tree", "group:tree"}
|
2015-05-20 18:57:17 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- mushroom trunk
|
2015-07-04 14:22:39 +03:00
|
|
|
minetest.register_node("ethereal:mushroom_trunk", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Mushroom"),
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {
|
2021-04-02 23:06:43 +03:00
|
|
|
"ethereal_mushroom_trunk_top.png",
|
|
|
|
"ethereal_mushroom_trunk_top.png",
|
|
|
|
"ethereal_mushroom_trunk.png"
|
2015-07-04 14:22:39 +03:00
|
|
|
},
|
|
|
|
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",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2015-11-14 13:21:06 +03:00
|
|
|
})
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- birch trunk (thanks to VanessaE for birch textures)
|
2015-11-14 13:21:06 +03:00
|
|
|
minetest.register_node("ethereal:birch_trunk", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Birch Trunk"),
|
2015-11-14 13:21:06 +03:00
|
|
|
tiles = {
|
|
|
|
"moretrees_birch_trunk_top.png",
|
|
|
|
"moretrees_birch_trunk_top.png",
|
|
|
|
"moretrees_birch_trunk.png"
|
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2015-11-14 13:21:06 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- birch wood
|
2015-11-14 13:21:06 +03:00
|
|
|
minetest.register_node("ethereal:birch_wood", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Birch Wood"),
|
2015-11-14 13:21:06 +03:00
|
|
|
tiles = {"moretrees_birch_wood.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2021-06-04 22:54:19 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2015-11-14 13:21:06 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:birch_wood 4",
|
|
|
|
recipe = {{"ethereal:birch_trunk"}}
|
2016-01-09 15:25:33 +03:00
|
|
|
})
|
2016-05-17 23:40:05 +03:00
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2022-11-24 11:20:40 +03:00
|
|
|
-- Bamboo
|
2016-05-17 23:40:05 +03:00
|
|
|
minetest.register_node("ethereal:bamboo", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Bamboo"),
|
2016-05-17 23:40:05 +03:00
|
|
|
drawtype = "plantlike",
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_bamboo_trunk.png"},
|
|
|
|
inventory_image = "ethereal_bamboo_trunk.png",
|
|
|
|
wield_image = "ethereal_bamboo_trunk.png",
|
2016-05-17 23:40:05 +03:00
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
walkable = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
2023-02-22 17:51:13 +03:00
|
|
|
fixed = {-0.15, -0.5, -0.15, 0.15, 0.5, 0.15}
|
|
|
|
},
|
|
|
|
collision_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.15, -0.5, -0.15, 0.15, 0.5, 0.15}
|
2016-05-17 23:40:05 +03:00
|
|
|
},
|
2021-04-02 23:06:43 +03:00
|
|
|
groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
|
2016-05-17 23:40:05 +03:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
after_dig_node = function(pos, node, metadata, digger)
|
|
|
|
default.dig_up(pos, node, digger)
|
2021-04-02 23:06:43 +03:00
|
|
|
end
|
2016-05-17 23:40:05 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "ethereal:bamboo",
|
2021-04-02 23:06:43 +03:00
|
|
|
burntime = 2
|
2016-05-17 23:40:05 +03:00
|
|
|
})
|
2020-12-12 23:04:59 +03:00
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2020-12-12 23:04:59 +03:00
|
|
|
-- olive trunk
|
|
|
|
minetest.register_node("ethereal:olive_trunk", {
|
|
|
|
description = S("Olive Trunk"),
|
|
|
|
tiles = {
|
2021-04-02 23:06:43 +03:00
|
|
|
"ethereal_olive_trunk_top.png",
|
|
|
|
"ethereal_olive_trunk_top.png",
|
|
|
|
"ethereal_olive_trunk.png"
|
2020-12-12 23:04:59 +03:00
|
|
|
},
|
|
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-04-02 23:06:43 +03:00
|
|
|
on_place = minetest.rotate_node
|
2020-12-12 23:04:59 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
-- olive wood
|
|
|
|
minetest.register_node("ethereal:olive_wood", {
|
|
|
|
description = S("Olive Wood"),
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_olive_wood.png"},
|
2020-12-12 23:04:59 +03:00
|
|
|
is_ground_content = false,
|
|
|
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
2021-06-04 22:54:19 +03:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
paramtype2 = "facedir",
|
2021-11-27 13:54:46 +03:00
|
|
|
on_place = minetest.rotate_node
|
2020-12-12 23:04:59 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:olive_wood 4",
|
|
|
|
recipe = {{"ethereal:olive_trunk"}}
|
|
|
|
})
|