summaryrefslogtreecommitdiff
path: root/fences.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-06-09 15:08:34 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-06-09 15:08:34 +0100
commit0b43f0428559cd477da796d7f27648814cc8cfe8 (patch)
tree633c6bd0beeb5c8caef32fdd96d19bb87d75438f /fences.lua
parent306c025713487b20a20e32e33277d2f215a70832 (diff)
Added intllib support
Diffstat (limited to 'fences.lua')
-rw-r--r--fences.lua20
1 files changed, 11 insertions, 9 deletions
diff --git a/fences.lua b/fences.lua
index a513612..97386c3 100644
--- a/fences.lua
+++ b/fences.lua
@@ -1,6 +1,8 @@
+local S = ethereal.intllib
+
default.register_fence("ethereal:fence_scorched", {
- description = "Scorched Fence",
+ description = S("Scorched Fence"),
texture = "scorched_tree.png",
material = "ethereal:scorched_tree",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -8,7 +10,7 @@ default.register_fence("ethereal:fence_scorched", {
})
default.register_fence("ethereal:fence_frostwood", {
- description = "Frost Fence",
+ description = S("Frost Fence"),
texture = "frost_wood.png",
material = "ethereal:frost_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -16,7 +18,7 @@ default.register_fence("ethereal:fence_frostwood", {
})
default.register_fence("ethereal:fence_redwood", {
- description = "Redwood Fence",
+ description = S("Redwood Fence"),
texture = "redwood_wood.png",
material = "ethereal:redwood_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -24,7 +26,7 @@ default.register_fence("ethereal:fence_redwood", {
})
default.register_fence("ethereal:fence_willow", {
- description = "Willow Fence",
+ description = S("Willow Fence"),
texture = "willow_wood.png",
material = "ethereal:willow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -32,7 +34,7 @@ default.register_fence("ethereal:fence_willow", {
})
default.register_fence("ethereal:fence_yellowwood", {
- description = "Healing Wood Fence",
+ description = S("Healing Wood Fence"),
texture = "yellow_wood.png",
material = "ethereal:yellow_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -40,7 +42,7 @@ default.register_fence("ethereal:fence_yellowwood", {
})
default.register_fence("ethereal:fence_palm", {
- description = "Palm Fence",
+ description = S("Palm Fence"),
texture = "moretrees_palm_wood.png",
material = "ethereal:palm_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -48,7 +50,7 @@ default.register_fence("ethereal:fence_palm", {
})
default.register_fence("ethereal:fence_banana", {
- description = "Banana Wood Fence",
+ description = S("Banana Wood Fence"),
texture = "banana_wood.png",
material = "ethereal:banana_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -56,7 +58,7 @@ default.register_fence("ethereal:fence_banana", {
})
default.register_fence("ethereal:fence_mushroom", {
- description = "Mushroom Fence",
+ description = S("Mushroom Fence"),
texture = "mushroom_trunk.png",
material = "ethereal:mushroom_trunk",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@@ -64,7 +66,7 @@ default.register_fence("ethereal:fence_mushroom", {
})
default.register_fence("ethereal:fence_birch", {
- description = "Birch Fence",
+ description = S("Birch Fence"),
texture = "moretrees_birch_wood.png",
material = "ethereal:birch_wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},