diff options
Diffstat (limited to 'raspberry.lua')
-rw-r--r-- | raspberry.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/raspberry.lua b/raspberry.lua index 51d10cc..384eb59 100644 --- a/raspberry.lua +++ b/raspberry.lua @@ -1,7 +1,9 @@ +local S = farming.intllib + -- raspberries minetest.register_craftitem("farming:raspberries", { - description = "Raspberries", + description = S("Raspberries"), inventory_image = "farming_raspberries.png", on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:raspberry_1") @@ -11,7 +13,7 @@ minetest.register_craftitem("farming:raspberries", { -- raspberry smoothie minetest.register_craftitem("farming:smoothie_raspberry", { - description = "Raspberry Smoothie", + description = S("Raspberry Smoothie"), inventory_image = "farming_raspberry_smoothie.png", on_use = minetest.item_eat(2, "vessels:drinking_glass"), }) |