cucina_vegana/items.lua

225 lines
7.5 KiB
Lua
Raw Normal View History

2018-05-04 01:05:36 +02:00
-- *******************************************
-- ***** Items *****
2018-05-04 01:05:36 +02:00
-- *******************************************
-- Load support for intllib.
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- *******************************************
-- ***** Supports *****
-- *******************************************
2019-01-06 17:20:25 +01:00
minetest.register_craftitem("cucina_vegana:dandelion_honey", {
description = S("Dandelion Honey"),
inventory_image = "cucina_vegana_dandelion_honey.png",
2019-01-07 20:20:47 +01:00
groups = {flammable = 1, food = 1, food_honey = 1, eatable = 1},
2019-01-06 17:20:25 +01:00
on_use = minetest.item_eat(3),
})
minetest.register_craftitem("cucina_vegana:dandelion_suds", {
description = S("Dandelion Suds"),
inventory_image = "cucina_vegana_dandelion_suds.png",
groups = {sud = 1,},
})
minetest.register_craftitem("cucina_vegana:dandelion_suds_cooking", {
description = S("Dandelion Suds (cooking)"),
inventory_image = "cucina_vegana_dandelion_suds_cooking.png",
groups = {sud = 1,},
})
minetest.register_craftitem("cucina_vegana:molasses", {
description = S("Molasses"),
inventory_image = "cucina_vegana_molasses.png",
groups = {flammable = 1, food = 1},
2018-05-04 01:05:36 +02:00
})
2019-01-06 19:07:58 +01:00
minetest.register_craftitem("cucina_vegana:pizza_dough", {
description = S("Pizzadough"),
inventory_image = "cucina_vegana_pizza_dough.png",
groups = {food = 1},
})
minetest.register_craftitem("cucina_vegana:rice_flour", {
description = S("Rice Flour"),
groups = {food_vegan = 1, food_flour = 1},
inventory_image = "cucina_vegana_rice_flour.png",
})
2018-05-04 01:05:36 +02:00
minetest.register_craftitem("cucina_vegana:soy_milk", {
description = S("Soy Milk"),
2018-05-04 01:05:36 +02:00
inventory_image = "cucina_vegana_soy_milk.png",
groups = {flammable = 1, food = 1, food_milk = 1, eatable = 1, food_vegan = 1},
2018-05-04 01:05:36 +02:00
on_use = minetest.item_eat(1, "vessels:drinking_glass"),
})
minetest.register_craftitem("cucina_vegana:sunflower_seeds_dough", {
description = S("Sunflower Seeds Dough"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, food_vegan = 1, eatable = 1},
inventory_image = "cucina_vegana_sunflower_seeds_dough.png",
on_use = minetest.item_eat(2),
})
2019-01-06 17:20:25 +01:00
minetest.register_craftitem("cucina_vegana:sunflower_seeds_flour", {
description = S("Sunflower Seeds Flour"),
groups = {food_vegan = 1, food_flour = 1},
inventory_image = "cucina_vegana_sunflower_seeds_flour.png",
})
2019-01-06 19:07:58 +01:00
minetest.register_craftitem("cucina_vegana:tofu", {
description = S("Tofu (raw)"),
inventory_image = "cucina_vegana_tofu.png",
groups = {flammable = 1, food = 1, eatable = 1, food_vegan = 1},
on_use = minetest.item_eat(2),
})
-- *******************************************
-- ***** Imitations *****
-- *******************************************
minetest.register_craftitem("cucina_vegana:imitation_butter", {
description = S("Imitation Butter"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, food_butter = 1, food_vegan = 1, eatable = 1},
inventory_image = "cucina_vegana_imitation_butter.png",
on_use = minetest.item_eat(2),
})
minetest.register_craftitem("cucina_vegana:imitation_cheese", {
description = S("Imitation Cheese"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, food_cheese = 1, food_vegan = 1, eatable = 1},
inventory_image = "cucina_vegana_imitation_cheese.png",
on_use = minetest.item_eat(3),
2018-05-04 01:05:36 +02:00
})
2019-01-07 20:20:47 +01:00
minetest.register_craftitem("cucina_vegana:imitation_fish", {
description = S("Imitation Fish"),
groups = {food = 1, food_fish = 1, food_vegan = 1, eatable = 1},
inventory_image = "cucina_vegana_imitation_fish.png",
on_use = minetest.item_eat(3),
})
minetest.register_craftitem("cucina_vegana:imitation_meat", {
description = S("Imitation Meat"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, food_meat = 1, food_vegan = 1, eatable = 1},
inventory_image = "cucina_vegana_imitation_meat.png",
on_use = minetest.item_eat(3),
2018-05-04 01:05:36 +02:00
})
2019-01-07 20:20:47 +01:00
minetest.register_craftitem("cucina_vegana:imitation_poultry", {
description = S("Imitation poultry"),
groups = {food = 1, food_bird = 1, food_vegan = 1},
inventory_image = "cucina_vegana_imitation_poultry.png",
})
-- *******************************************
-- ***** Crops *****
-- *******************************************
minetest.register_craftitem("cucina_vegana:asparagus", {
description = S("Asparagus"),
inventory_image = "cucina_vegana_asparagus.png",
groups = {flammable = 1, food = 1, eatable = 1, food_vegan = 1},
2018-05-04 01:05:36 +02:00
on_use = minetest.item_eat(3),
})
minetest.register_craftitem("cucina_vegana:chives", {
description = S("Chives"),
2018-05-04 01:05:36 +02:00
inventory_image = "cucina_vegana_chives.png",
groups = {flammable = 1, food = 1, eatable = 1, food_vegan = 1},
2018-05-04 01:05:36 +02:00
on_use = minetest.item_eat(1),
})
minetest.register_craftitem("cucina_vegana:kohlrabi", {
description = S("Kohlrabi"),
inventory_image = "cucina_vegana_kohlrabi.png",
groups = {flammable = 1, food = 1, eatable = 1, food_vegan = 1},
2018-05-04 01:05:36 +02:00
on_use = minetest.item_eat(3),
})
minetest.register_craftitem("cucina_vegana:lettuce", {
description = S("Lettuce"),
inventory_image = "cucina_vegana_lettuce.png",
groups = {flammable = 1, food = 1, eatable = 1, food_vegan = 1},
on_use = minetest.item_eat(1),
})
minetest.register_craftitem("cucina_vegana:parsley", {
description = S("Parsley"),
inventory_image = "cucina_vegana_parsley.png",
groups = {flammable = 1, food = 1, eatable = 1, food_vegan = 1},
on_use = minetest.item_eat(1),
2018-05-04 01:05:36 +02:00
})
minetest.register_craftitem("cucina_vegana:rice", {
description = S("Rice"),
inventory_image = "cucina_vegana_rice.png",
2019-01-13 20:14:07 +01:00
groups = {food = 1, flammable = 4},
})
minetest.register_craftitem("cucina_vegana:rosemary", {
description = S("Rosemary Twig"),
inventory_image = "cucina_vegana_rosemary.png",
groups = {flammable = 1, food = 1, eatable = 1},
on_use = minetest.item_eat(1),
})
minetest.register_craftitem("cucina_vegana:soy", {
description = S("Soy Bean"),
inventory_image = "cucina_vegana_soy.png",
groups = {flammable = 4},
})
minetest.register_craftitem("cucina_vegana:sunflower", {
description = S("Sunflower"),
inventory_image = "cucina_vegana_sunflower.png",
groups = {flammable = 4},
})
2018-05-04 01:05:36 +02:00
minetest.register_craftitem("cucina_vegana:sunflower_seeds", {
description = S("Sunflower Seeds"),
2019-01-07 20:20:47 +01:00
groups = {seed = 1, food = 1, eatable = 1},
2018-05-04 01:05:36 +02:00
inventory_image = "cucina_vegana_sunflower_seeds.png",
on_use = minetest.item_eat(1),
})
-- *******************************************
-- ***** Food *****
-- *******************************************
minetest.register_craftitem("cucina_vegana:tofu_cooked", {
description = S("Tofu"),
inventory_image = "cucina_vegana_tofu_cooked.png",
groups = {flammable = 1, food = 1, eatable = 1, food_vegan = 1},
on_use = minetest.item_eat(3),
})
minetest.register_craftitem("cucina_vegana:kohlrabi_roasted", {
description = S("Roasted Kohlrabi"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, eatable = 1},
inventory_image = "cucina_vegana_kohlrabi_roasted.png",
on_use = minetest.item_eat(4),
2018-05-04 01:05:36 +02:00
})
minetest.register_craftitem("cucina_vegana:sunflower_seeds_roasted", {
description = S("Roasted Sunflower Seeds"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, eatable = 1},
2018-05-04 01:05:36 +02:00
inventory_image = "cucina_vegana_sunflower_seeds_roasted.png",
on_use = minetest.item_eat(2),
})
minetest.register_craftitem("cucina_vegana:sunflower_seeds_bread", {
description = S("Sunflower Seeds Bread"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, food_bread = 1, eatable = 1},
2018-05-04 01:05:36 +02:00
inventory_image = "cucina_vegana_sunflower_seeds_bread.png",
on_use = minetest.item_eat(4),
})
minetest.register_craftitem("cucina_vegana:vegan_sushi", {
description = S("Vegan Sushi"),
2019-01-07 20:20:47 +01:00
groups = {food = 1, food_vegan = 1, eatable = 1},
inventory_image = "cucina_vegana_vegan_sushi.png",
on_use = minetest.item_eat(4),
})