diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-30 12:30:00 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-30 12:30:00 +0100 |
commit | cbf7bee93af73f0c5fc3098a81149fb3b884b91b (patch) | |
tree | 28bd29fe3933cf94a5d41a5a1488ddc3887d9ed4 /hoes.lua | |
parent | 3d59270aef645f2d98384609d806f591cb6086fa (diff) |
Added intllib support (thanks Xanthin)
Diffstat (limited to 'hoes.lua')
-rw-r--r-- | hoes.lua | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,4 +1,6 @@ +local S = farming.intllib + -- Hoe registration function farming.register_hoe = function(name, def) @@ -109,42 +111,42 @@ end -- Define Hoes farming.register_hoe(":farming:hoe_wood", { - description = "Wooden Hoe", + description = S("Wooden Hoe"), inventory_image = "farming_tool_woodhoe.png", max_uses = 30, material = "group:wood" }) farming.register_hoe(":farming:hoe_stone", { - description = "Stone Hoe", + description = S("Stone Hoe"), inventory_image = "farming_tool_stonehoe.png", max_uses = 90, material = "group:stone" }) farming.register_hoe(":farming:hoe_steel", { - description = "Steel Hoe", + description = S("Steel Hoe"), inventory_image = "farming_tool_steelhoe.png", max_uses = 200, material = "default:steel_ingot" }) farming.register_hoe(":farming:hoe_bronze", { - description = "Bronze Hoe", + description = S("Bronze Hoe"), inventory_image = "farming_tool_bronzehoe.png", max_uses = 220, material = "default:bronze_ingot" }) farming.register_hoe(":farming:hoe_mese", { - description = "Mese Hoe", + description = S("Mese Hoe"), inventory_image = "farming_tool_mesehoe.png", max_uses = 350, material = "default:mese_crystal" }) farming.register_hoe(":farming:hoe_diamond", { - description = "Diamond Hoe", + description = S("Diamond Hoe"), inventory_image = "farming_tool_diamondhoe.png", max_uses = 500, material = "default:diamond" |