2016-05-17 21:40:05 +01:00
|
|
|
|
2016-06-09 15:08:34 +01:00
|
|
|
local S = ethereal.intllib
|
|
|
|
|
2016-05-17 21:40:05 +01:00
|
|
|
default.register_fence("ethereal:fence_scorched", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Scorched Fence"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_scorched_tree.png",
|
2016-05-17 21:40:05 +01:00
|
|
|
material = "ethereal:scorched_tree",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_frostwood", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Frost Fence"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_frost_wood.png",
|
2016-05-17 21:40:05 +01:00
|
|
|
material = "ethereal:frost_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_redwood", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Redwood Fence"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_redwood_wood.png",
|
2016-05-17 21:40:05 +01:00
|
|
|
material = "ethereal:redwood_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_willow", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Willow Fence"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_willow_wood.png",
|
2016-05-17 21:40:05 +01:00
|
|
|
material = "ethereal:willow_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_yellowwood", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Healing Wood Fence"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_yellow_wood.png",
|
2016-05-17 21:40:05 +01:00
|
|
|
material = "ethereal:yellow_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_palm", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Palm Fence"),
|
2016-05-17 21:40:05 +01:00
|
|
|
texture = "moretrees_palm_wood.png",
|
|
|
|
material = "ethereal:palm_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_banana", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Banana Wood Fence"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_banana_wood.png",
|
2016-05-17 21:40:05 +01:00
|
|
|
material = "ethereal:banana_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_mushroom", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Mushroom Fence"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_mushroom_trunk.png",
|
2016-05-17 21:40:05 +01:00
|
|
|
material = "ethereal:mushroom_trunk",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_birch", {
|
2016-06-09 15:08:34 +01:00
|
|
|
description = S("Birch Fence"),
|
2016-05-17 21:40:05 +01:00
|
|
|
texture = "moretrees_birch_wood.png",
|
|
|
|
material = "ethereal:birch_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2016-05-17 21:40:05 +01:00
|
|
|
})
|
2019-02-16 12:23:14 +00:00
|
|
|
|
|
|
|
default.register_fence("ethereal:fence_sakura", {
|
|
|
|
description = S("Sakura Fence"),
|
|
|
|
texture = "ethereal_sakura_wood.png",
|
|
|
|
material = "ethereal:sakura_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
2021-03-18 12:06:59 +00:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
check_for_pole = true
|
2019-02-16 12:23:14 +00:00
|
|
|
})
|
2021-03-27 15:14:21 +00:00
|
|
|
|
|
|
|
-- fence rails
|
|
|
|
|
|
|
|
if default.register_fence_rail then
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_scorched", {
|
|
|
|
description = S("Scorched Fence Rail"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_scorched_tree.png",
|
2021-03-27 15:14:21 +00:00
|
|
|
material = "ethereal:scorched_tree",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_frostwood", {
|
|
|
|
description = S("Frost Fence Rail"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_frost_wood.png",
|
2021-03-27 15:14:21 +00:00
|
|
|
material = "ethereal:frost_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_redwood", {
|
|
|
|
description = S("Redwood Fence Rail"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_redwood_wood.png",
|
2021-03-27 15:14:21 +00:00
|
|
|
material = "ethereal:redwood_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_willow", {
|
|
|
|
description = S("Willow Fence Rail"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_willow_wood.png",
|
2021-03-27 15:14:21 +00:00
|
|
|
material = "ethereal:willow_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_yellowwood", {
|
|
|
|
description = S("Healing Wood Fence Rail"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_yellow_wood.png",
|
2021-03-27 15:14:21 +00:00
|
|
|
material = "ethereal:yellow_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_palm", {
|
|
|
|
description = S("Palm Fence Rail"),
|
|
|
|
texture = "moretrees_palm_wood.png",
|
|
|
|
material = "ethereal:palm_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_banana", {
|
|
|
|
description = S("Banana Wood Fence Rail"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_banana_wood.png",
|
2021-03-27 15:14:21 +00:00
|
|
|
material = "ethereal:banana_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_mushroom", {
|
|
|
|
description = S("Mushroom Fence Rail"),
|
2021-04-02 21:06:43 +01:00
|
|
|
texture = "ethereal_mushroom_trunk.png",
|
2021-03-27 15:14:21 +00:00
|
|
|
material = "ethereal:mushroom_trunk",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_birch", {
|
|
|
|
description = S("Birch Fence Rail"),
|
|
|
|
texture = "moretrees_birch_wood.png",
|
|
|
|
material = "ethereal:birch_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
default.register_fence_rail("ethereal:fence_rail_sakura", {
|
|
|
|
description = S("Sakura Fence Rail"),
|
|
|
|
texture = "ethereal_sakura_wood.png",
|
|
|
|
material = "ethereal:sakura_wood",
|
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
|
|
sounds = default.node_sound_wood_defaults()
|
|
|
|
})
|
|
|
|
|
|
|
|
end
|