diff --git a/depends.txt b/depends.txt index 3a7c81c..1a854c5 100644 --- a/depends.txt +++ b/depends.txt @@ -1,6 +1,7 @@ default farming vessels +dye flowers? technic? mobs? diff --git a/recipes.lua b/recipes.lua index 610ebca..ce89424 100644 --- a/recipes.lua +++ b/recipes.lua @@ -142,6 +142,42 @@ minetest.register_node("cucina_vegana:sunflower_seeds_oil", { sounds = default.node_sound_glass_defaults(), }) +minetest.register_node("cucina_vegana:tofu_chives_rosemary", { + description = "Tofu on Chives and Rosemary", + drawtype = "plantlike", + tiles = {"cucina_vegana_tofu_chives_rosemary.png"}, + inventory_image = "cucina_vegana_tofu_chives_rosemary.png", + wield_image = "cucina_vegana_tofu_chives_rosemary.png", + paramtype = "light", + is_ground_content = false, + walkable = false, + on_use = minetest.item_eat(5, "cucina_vegana:plate"), + selection_box = { + type = "fixed", + fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} + }, + groups = {dig_immediate = 3, attached_node = 1}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("cucina_vegana:tofu_chives_rosemary_cooked", { + description = "Tofu on Chives and Rosemary (cooked)", + drawtype = "plantlike", + tiles = {"cucina_vegana_tofu_chives_rosemary_cooked.png"}, + inventory_image = "cucina_vegana_tofu_chives_rosemary_cooked.png", + wield_image = "cucina_vegana_tofu_chives_rosemary_cooked.png", + paramtype = "light", + is_ground_content = false, + walkable = false, + on_use = minetest.item_eat(6, "cucina_vegana:plate"), + selection_box = { + type = "fixed", + fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} + }, + groups = {dig_immediate = 3, attached_node = 1}, + sounds = default.node_sound_glass_defaults(), +}) + -- ******************************************* -- ***** Items ***** -- ******************************************* @@ -227,6 +263,30 @@ minetest.register_craftitem("cucina_vegana:sunflower_seeds_bread", { on_use = minetest.item_eat(4), }) +-- Imitation Meat +minetest.register_craftitem("cucina_vegana:imitation_meat", { + description = "Imitation Meat", + groups = {food = 1, food_meat = 1}, + inventory_image = "cucina_vegana_imitation_meat.png", + on_use = minetest.item_eat(3), +}) + +-- Imitation Cheese +minetest.register_craftitem("cucina_vegana:imitation_butter", { + description = "Imitation Butter", + groups = {food = 1, food_butter = 1}, + inventory_image = "cucina_vegana_imitation_butter.png", + on_use = minetest.item_eat(2), +}) + +-- Imitation Cheese +minetest.register_craftitem("cucina_vegana:imitation_cheese", { + description = "Imitation Cheese", + groups = {food = 1, food_cheese = 1}, + inventory_image = "cucina_vegana_imitation_cheese.png", + on_use = minetest.item_eat(3), +}) + -- ******************************************* -- ***** Crafts ***** -- ******************************************* @@ -358,6 +418,36 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "cucina_vegana:tofu_chives_rosemary", + recipe = { {"cucina_vegana:chives", "", "cucina_vegana:rosemary"}, + {"", "cucina_vegana:tofu", ""}, + {"", "group:food_plate", ""} + }, +}) + +minetest.register_craft({ + output = "cucina_vegana:imitation_meat", + recipe = { {"dye:red", "cucina_vegana:tofu", "dye:white"}, + {"", "cucina_vegana:tofu", ""}, + {"", "cucina_vegana:tofu", ""} + }, +}) + +minetest.register_craft({ + output = "cucina_vegana:imitation_butter", + recipe = { {"dye:yellow", "cucina_vegana:soy_milk", "cucina_vegana:soy_milk"} + }, + replacements = {{"cucina_vegana:soy_milk", "vessels:drinking_glass 2"} + } +}) + +minetest.register_craft({ + output = "cucina_vegana:imitation_cheese", + recipe = { {"dye:orange","cucina_vegana:imitation_butter", "cucina_vegana:imitation_butter", ""} + }, +}) + -- ******************************************* -- ***** Cookings ***** -- ******************************************* @@ -402,6 +492,13 @@ minetest.register_craft({ recipe = "cucina_vegana:soy_soup" }) +minetest.register_craft({ + type = "cooking", + cooktime = 18, + output = "cucina_vegana:tofu_chives_rosemary_cooked", + recipe = "cucina_vegana:tofu_chives_rosemary" +}) + -- ******************************************* -- ***** Fuels ***** -- ******************************************* diff --git a/textures/16x16/cucina_vegana_imitation_butter.png b/textures/16x16/cucina_vegana_imitation_butter.png new file mode 100644 index 0000000..65390f3 Binary files /dev/null and b/textures/16x16/cucina_vegana_imitation_butter.png differ diff --git a/textures/16x16/cucina_vegana_imitation_cheese.png b/textures/16x16/cucina_vegana_imitation_cheese.png new file mode 100644 index 0000000..445a362 Binary files /dev/null and b/textures/16x16/cucina_vegana_imitation_cheese.png differ diff --git a/textures/16x16/cucina_vegana_imitation_meat.png b/textures/16x16/cucina_vegana_imitation_meat.png new file mode 100644 index 0000000..ce2a46e Binary files /dev/null and b/textures/16x16/cucina_vegana_imitation_meat.png differ diff --git a/textures/16x16/cucina_vegana_tofu_chives_rosemary.png b/textures/16x16/cucina_vegana_tofu_chives_rosemary.png new file mode 100644 index 0000000..e27204d Binary files /dev/null and b/textures/16x16/cucina_vegana_tofu_chives_rosemary.png differ diff --git a/textures/16x16/cucina_vegana_tofu_chives_rosemary_cooked.png b/textures/16x16/cucina_vegana_tofu_chives_rosemary_cooked.png new file mode 100644 index 0000000..3f072f3 Binary files /dev/null and b/textures/16x16/cucina_vegana_tofu_chives_rosemary_cooked.png differ diff --git a/textures/cucina_vegana_imitation_butter.png b/textures/cucina_vegana_imitation_butter.png new file mode 100644 index 0000000..a7b88ca Binary files /dev/null and b/textures/cucina_vegana_imitation_butter.png differ diff --git a/textures/cucina_vegana_imitation_cheese.png b/textures/cucina_vegana_imitation_cheese.png new file mode 100644 index 0000000..479606e Binary files /dev/null and b/textures/cucina_vegana_imitation_cheese.png differ diff --git a/textures/cucina_vegana_imitation_meat.png b/textures/cucina_vegana_imitation_meat.png new file mode 100644 index 0000000..8e8c69f Binary files /dev/null and b/textures/cucina_vegana_imitation_meat.png differ diff --git a/textures/cucina_vegana_tofu_chives_rosemary.png b/textures/cucina_vegana_tofu_chives_rosemary.png new file mode 100644 index 0000000..ae3a3da Binary files /dev/null and b/textures/cucina_vegana_tofu_chives_rosemary.png differ diff --git a/textures/cucina_vegana_tofu_chives_rosemary_cooked.png b/textures/cucina_vegana_tofu_chives_rosemary_cooked.png new file mode 100644 index 0000000..6b04aab Binary files /dev/null and b/textures/cucina_vegana_tofu_chives_rosemary_cooked.png differ