mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-23 01:55:27 +01:00
[farming] Update for #443
This commit is contained in:
@@ -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),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user