From 0b43f0428559cd477da796d7f27648814cc8cfe8 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 9 Jun 2016 15:08:34 +0100 Subject: Added intllib support --- fences.lua | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'fences.lua') 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}, -- cgit v1.2.3