diff options
Diffstat (limited to 'potato.lua')
-rw-r--r-- | potato.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,9 +4,11 @@ https://forum.minetest.net/viewtopic.php?id=3948 ]] +local S = farming.intllib + -- potato minetest.register_craftitem("farming:potato", { - description = "Potato", + description = S("Potato"), inventory_image = "farming_potato.png", on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:potato_1") @@ -16,7 +18,7 @@ minetest.register_craftitem("farming:potato", { -- baked potato minetest.register_craftitem("farming:baked_potato", { - description = "Baked Potato", + description = S("Baked Potato"), inventory_image = "farming_baked_potato.png", on_use = minetest.item_eat(6), }) |