diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-06-11 09:47:43 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-06-11 09:47:43 +0100 |
commit | db7e02af1a8e674934ce6646516e25f5a2b88aca (patch) | |
tree | ed5d7ab5a632cffc1f307573dd88eb33f607024c /crafts.lua | |
parent | 093b8c9eed69354d1ad9ca68b41ba663534bd6da (diff) |
added intllib support (en/de)
Diffstat (limited to 'crafts.lua')
-rw-r--r-- | crafts.lua | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,7 +1,9 @@ +local S = mobs.intllib + -- name tag minetest.register_craftitem("mobs:nametag", { - description = "Nametag", + description = S("Nametag"), inventory_image = "mobs_nametag.png", }) @@ -13,20 +15,20 @@ core.register_craft({ -- leather minetest.register_craftitem("mobs:leather", { - description = "Leather", + description = S("Leather"), inventory_image = "mobs_leather.png", }) -- raw meat minetest.register_craftitem("mobs:meat_raw", { - description = "Raw Meat", + description = S("Raw Meat"), inventory_image = "mobs_meat_raw.png", on_use = minetest.item_eat(3), }) -- cooked meat minetest.register_craftitem("mobs:meat", { - description = "Meat", + description = S("Meat"), inventory_image = "mobs_meat.png", on_use = minetest.item_eat(8), }) @@ -40,7 +42,7 @@ minetest.register_craft({ -- golden lasso minetest.register_tool("mobs:magic_lasso", { - description = "Magic Lasso (right-click animal to put in inventory)", + description = S("Magic Lasso (right-click animal to put in inventory)"), inventory_image = "mobs_magic_lasso.png", }) @@ -55,7 +57,7 @@ minetest.register_craft({ -- net minetest.register_tool("mobs:net", { - description = "Net (right-click animal to put in inventory)", + description = S("Net (right-click animal to put in inventory)"), inventory_image = "mobs_net.png", }) @@ -70,7 +72,7 @@ minetest.register_craft({ -- shears (right click to shear animal) minetest.register_tool("mobs:shears", { - description = "Steel Shears (right-click to shear)", + description = S("Steel Shears (right-click to shear)"), inventory_image = "mobs_shears.png", }) |