From cbf7bee93af73f0c5fc3098a81149fb3b884b91b Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 30 May 2016 12:30:00 +0100 Subject: Added intllib support (thanks Xanthin) --- tomato.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tomato.lua') diff --git a/tomato.lua b/tomato.lua index 9cff4a7..1ed7870 100644 --- a/tomato.lua +++ b/tomato.lua @@ -4,9 +4,11 @@ http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1288375-food-plus-mod-more-food-than-you-can-imagine-v2-9) ]] +local S = farming.intllib + -- tomato minetest.register_craftitem("farming:tomato", { - description = "Tomato", + description = S("Tomato"), inventory_image = "farming_tomato.png", on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:tomato_1") -- cgit v1.2.3