2023-01-23 04:13:39 +03:00
|
|
|
|
|
|
|
|
|
|
|
--- CANNED :
|
|
|
|
|
2023-02-02 16:48:14 +03:00
|
|
|
minetest.register_craftitem("foodx:canned_tomato", {
|
2023-01-23 04:13:39 +03:00
|
|
|
description = " Canned Tomato",
|
|
|
|
inventory_image = "beans_canned.png",
|
|
|
|
on_use = minetest.item_eat(5)
|
|
|
|
})
|
|
|
|
|
|
|
|
|
2023-02-02 16:48:14 +03:00
|
|
|
minetest.register_craftitem("foodx:canned_beans", {
|
2023-01-23 04:13:39 +03:00
|
|
|
description = "Canned Beans",
|
|
|
|
inventory_image = "canned_tomato.png",
|
|
|
|
on_use = minetest.item_eat(7)
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
--- CHIPS :
|
|
|
|
|
2023-02-02 16:48:14 +03:00
|
|
|
minetest.register_craftitem("foodx:chips", {
|
2023-01-23 04:13:39 +03:00
|
|
|
description = "Chips",
|
|
|
|
inventory_image = "chips.png",
|
|
|
|
on_use = minetest.item_eat(7)
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
--- CANDY :
|
|
|
|
|
2023-02-02 16:48:14 +03:00
|
|
|
minetest.register_craftitem("foodx:candy", {
|
2023-01-23 04:13:39 +03:00
|
|
|
description = "Candy",
|
|
|
|
inventory_image = "candy.png",
|
|
|
|
on_use = minetest.item_eat(3)
|
|
|
|
})
|
|
|
|
|
|
|
|
|
2023-02-02 16:48:14 +03:00
|
|
|
minetest.register_craftitem("foodx:chocolate_bar", {
|
2023-01-23 04:13:39 +03:00
|
|
|
description = "Chocolate Bar",
|
|
|
|
inventory_image = "chocolate_bar.png",
|
|
|
|
on_use = minetest.item_eat(3)
|
|
|
|
})
|
|
|
|
|