diff options
Diffstat (limited to 'donut.lua')
-rw-r--r-- | donut.lua | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,9 @@ + +local S = farming.intllib + -- Donut (thanks to Bockwurst for making the donut images) minetest.register_craftitem("farming:donut", { - description = "Donut", + description = S("Donut"), inventory_image = "farming_donut.png", on_use = minetest.item_eat(4), }) @@ -16,7 +19,7 @@ minetest.register_craft({ -- Chocolate Donut minetest.register_craftitem("farming:donut_chocolate", { - description = "Chocolate Donut", + description = S("Chocolate Donut"), inventory_image = "farming_donut_chocolate.png", on_use = minetest.item_eat(6), }) @@ -31,7 +34,7 @@ minetest.register_craft({ -- Apple Donut minetest.register_craftitem("farming:donut_apple", { - description = "Apple Donut", + description = S("Apple Donut"), inventory_image = "farming_donut_apple.png", on_use = minetest.item_eat(6), }) @@ -42,4 +45,4 @@ minetest.register_craft({ {'default:apple'}, {'farming:donut'}, } -})
\ No newline at end of file +}) |