

--- CANNED :

minetest.register_craftitem("foodx:canned_tomato", {
    description = " Canned Tomato",
    inventory_image = "beans_canned.png",
    on_use = minetest.item_eat(5)
})


minetest.register_craftitem("foodx:canned_beans", {
    description = "Canned Beans",
    inventory_image = "canned_tomato.png", 
    on_use = minetest.item_eat(7)
})


--- CHIPS :

minetest.register_craftitem("foodx:chips", {
    description = "Chips",
    inventory_image = "chips.png", 
    on_use = minetest.item_eat(7)
})


--- CANDY :

minetest.register_craftitem("foodx:candy", {
    description = "Candy",
    inventory_image = "candy.png", 
    on_use = minetest.item_eat(3)
})


minetest.register_craftitem("foodx:chocolate_bar", {
    description = "Chocolate Bar",
    inventory_image = "chocolate_bar.png", 
    on_use = minetest.item_eat(3)
})

