commit c934a3b536c1024e024a7912be0fba68e1fa77f2 Author: rainer Date: Thu Feb 12 12:43:57 2026 +0100 init; added hunger-ng compatibility diff --git a/LICENCE.txt b/LICENCE.txt new file mode 100644 index 0000000..a2ad4d6 --- /dev/null +++ b/LICENCE.txt @@ -0,0 +1,23 @@ +License for Code +---------------- + +Copyright (C) 2018 Annalysa + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License for Textures +--------------------------------------- + +CC-BY-SA 3.0 UNPORTED. Created by Annalysa \ No newline at end of file diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..f64195c --- /dev/null +++ b/README.txt @@ -0,0 +1,36 @@ +Ciao! +This is my first mod, so sorry if there are any errors or english typos. + +This mod adds to your minetest game various type of sandwiches, +including vegetarian, nutella, bacon, pb&j and many more, +if you have supported mods like BBQ and cucina_vegana! +There are also some other related food like a sweet bread pudding, +made from sandwiches crumbs and jam. + +Developed and tested for Minetest 0.4.17 until version 1.7 +Developed and tested for Minetest 5.4.x since 1.8 + +Current version: +v 1.9 - complete overhaul plus added some toasts through the use of farming:skillet +v 1.8 - lost to time (RIP old pc) +v 1.7 - added cucina_vegana compatibility + more sandwiches +v 1.6 - added bbq compatibility + chicken strips +v 1.5 - added ethereal compatibility and lots of sandwiches +v 1.4 - peanut crop and bacon added +v 1.3 - made moretrees optional +v 1.2 - replaced meat with craftable ham +v 1.1 - fixed some on_use values +v 1.0 - the very first release; + +This mod has some dependencies, so some sandwiches might not be present if +some mods are not present. + +default farming or farming-redo by TenPlus1 - (Essential) provides the main feature: transforming bread into slices +mobs by TenPlus1 or any other cow-chicken-pig prividing mod - (Optional) provides access to meat related items +moretrees by VanessaE - (Optional) (thanks R-One) provides Noyella +ethereal by TenPlus1 - (Optional) provides banana related recipes and two fish sandwiches +Your Dad's BBQ Mod (aka bbq) by Grizzly Adam - (Optional) provides special recipes +cucina_vegana by Clyde - (Optional) (thanks friend) provides gourmet recipes +other mods can be found in the mod.conf and provide some minor additional features + +This mod has a LGPL v2.1 Licence. diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..2bd2e3f --- /dev/null +++ b/TODO.txt @@ -0,0 +1,9 @@ +X picnic basket (little storage for group:food_sandwiches) + +cheese support (add bruschetta then?) +"mozzarella", "tomato", "olive_oil", +"garlic_bread", "garlic_bread", "garlic_bread", + +X ketchup and maionesse -- what is their purpose ??? +im not adding them until they have multiple purposes + diff --git a/crops/peanuts.lua b/crops/peanuts.lua new file mode 100644 index 0000000..d539fba --- /dev/null +++ b/crops/peanuts.lua @@ -0,0 +1,234 @@ +local crop_def = {} +local mope = "sandwiches:mortar_pestle" + +if minetest.global_exists("farming") and farming.mod == "redo" then + mope = "farming:mortar_pestle" + + -- peanut seeds + minetest.register_node("sandwiches:seed_peanut", { + description = "Peanuts Seed", + tiles = {"seed_peanut.png"}, + inventory_image = "sandwiches_seed_peanut.png", + wield_image = "sandwiches_seed_peanut.png", + drawtype = "signlike", + groups = {seed = 1, snappy = 3, attached_node = 1, flammable = 4}, + paramtype = "light", + paramtype2 = "wallmounted", + walkable = false, + sunlight_propagates = true, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + }, + on_place = function(itemstack, placer, pointed_thing) + return farming.place_seed(itemstack, placer, pointed_thing, "sandwiches:peanut_1") + end, + }) + minetest.register_craftitem("sandwiches:peanuts", { + description = "Peanuts", + on_use = minetest.item_eat(1), + inventory_image = "sandwiches_peanut.png", -- not peanutS due to compatibility with the default farming mod + groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1}, + }) + + minetest.register_alias("sandwiches:seed_peanuts", "sandwiches:seed_peanut") + --minetest.register_alias("sandwiches:peanuts", "sandwiches:peanut") + + -- peanut plant definition + crop_def = { + drawtype = "plantlike", + tiles = {"sandwiches_peanut_1.png"}, + paramtype = "light", + sunlight_propagates = true, + walkable = false, + buildable_to = true, + drop = "", + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + }, + groups = { snappy = 3, flammable = 4, plant = 1, flora = 1, attached_node = 1, + not_in_creative_inventory = 1, growing = 1 }, + sounds = default.node_sound_leaves_defaults() + } + + -- stage 1 + minetest.register_node("sandwiches:peanut_1", table.copy(crop_def)) + + -- stage 2 + crop_def.tiles = {"sandwiches_peanut_2.png"} + minetest.register_node("sandwiches:peanut_2", table.copy(crop_def)) + + -- stage 3 + crop_def.tiles = {"sandwiches_peanut_3.png"} + crop_def.drop = { + items = { + {items = {'sandwiches:peanuts 2'}, rarity = 1}, + {items = {'sandwiches:peanuts'}, rarity = 2}, + } + } + minetest.register_node("sandwiches:peanut_3", table.copy(crop_def)) + + + -- stage 4 + crop_def.tiles = {"sandwiches_peanut_4.png"} + crop_def.drop = { + items = { + {items = {'sandwiches:peanuts 4'}, rarity = 1}, + {items = {'sandwiches:peanuts 2'}, rarity = 2}, + {items = {'sandwiches:peanuts'}, rarity = 4}, + {items = {'sandwiches:seed_peanut 2'}, rarity = 1}, + {items = {'sandwiches:seed_peanut 2'}, rarity = 3}, + } + } + minetest.register_node("sandwiches:peanut_4", table.copy(crop_def)) + + -- stage 5 (spreading stage) + -- as the crop grows to the 5th stage, it has less seeds + -- because they are "used" when spreading + crop_def.tiles = {"sandwiches_peanut_5.png"} + crop_def.drop = { + items = { + {items = {'sandwiches:peanuts 3'}, rarity = 1}, + {items = {'sandwiches:peanuts 2'}, rarity = 2}, + {items = {'sandwiches:peanuts'}, rarity = 4}, + {items = {'sandwiches:seed_peanut'}, rarity = 1}, + {items = {'sandwiches:seed_peanut'}, rarity = 2}, + } + } + minetest.register_node("sandwiches:peanut_5", table.copy(crop_def)) + + -- stage 6 (final) + -- the plant is "exhausted" from the spreading + crop_def.tiles = {"sandwiches_peanut_6.png"} + crop_def.groups.growing = 0 + crop_def.drop = { + items = { + {items = {'sandwiches:peanuts 3'}, rarity = 1}, + {items = {'sandwiches:peanuts 2'}, rarity = 2}, + {items = {'sandwiches:peanuts'}, rarity = 4}, + {items = {'sandwiches:seed_peanut'}, rarity = 1}, + {items = {'sandwiches:seed_peanut'}, rarity = 4}, + } + } + minetest.register_node("sandwiches:peanut_6", table.copy(crop_def)) + + if minetest.get_modpath("bonemeal") then + bonemeal:add_crop({ {"sandwiches:peanut_", 5, "sandwiches:seed_peanut"}, }) + end + +else -- farming-redo not present ----------------------------------------------- + + farming.register_plant("sandwiches:peanut", { + description = "Peanut Seed", + harvest_description = "Peanuts", + inventory_image = "sandwiches_seed_peanut.png", + steps = 6, + minlight = 12, + maxlight = default.LIGHT_MAX, + fertility = {"grassland"}, + groups = {flammable = 4, attached_node = 1, snappy = 3, plant = 1, flora = 1,}, + }) + if minetest.registered_items["sandwiches:peanuts"] then + minetest.override_item("sandwiches:peanuts", { + --description = "Peanuts", + on_use = minetest.item_eat(1), + inventory_image = "sandwiches_peanut.png", + groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1}, + }) + end + + if minetest.get_modpath("bonemeal") then + bonemeal:add_crop({ {"sandwiches:peanut_", 5, "sandwiches:seed_peanut"}, }) + end + +end -- register different plant nodes + +minetest.register_abm({ + name = "sandwiches:peanut_spreading_abm", + nodenames = {"sandwiches:peanut_5"}, + interval = 5, + chance = 5, + action = function(pos, node) + -- Check 3x3x3 nodes around the currently triggered node + local soil_positions = minetest.find_nodes_in_area_under_air( + vector.add(pos, -1), vector.add(pos, 1), + {"farming:soil_wet", "farming:soil"} + ) + if(next(soil_positions) ~= null) then + local found_soil_pos = soil_positions[math.random(#soil_positions)] + found_soil_pos.y = found_soil_pos.y +1 + minetest.set_node(found_soil_pos, {name="sandwiches:peanut_1"}) + if(math.random(10) > 5) then + minetest.set_node(pos,{name="sandwiches:peanut_6"}) + end + end + end +}) + +-- WILD PEANUTS -- + +minetest.register_node("sandwiches:wild_peanut", { + description = "Wild Peanuts", + paramtype = "light", + walkable = false, + drop = { + items = { + {items = {'sandwiches:peanuts'}, rarity = 1}, + {items = {'sandwiches:peanuts'}, rarity = 2}, + {items = {'sandwiches:seed_peanut 2'}, rarity = 1}, + {items = {'sandwiches:seed_peanut'}, rarity = 3}, + } + }, + drawtype = "plantlike", + paramtype2 = "facedir", + tiles = {"sandwiches_peanut_4.png"}, + inventory_image = "sandwiches_peanut_4.png", + wield_image = "sandwiches_peanut_4.png", + groups = {snappy = 3, dig_immediate=1, flammable=2, plant=1, flora = 1, attached_node = 1, not_in_creative_inventory = 1}, + sounds = default.node_sound_leaves_defaults(), + selection_box = { + type = "fixed", + fixed = { {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, + }, +}) + +minetest.register_decoration({ + deco_type = "simple", + place_on = {"default:dirt_with_grass", "default:dirt"}, + sidelen = 16, + noise_params = { + offset = 0, + scale = 0.0003, + spread = {x = 70, y = 70, z = 70}, + seed = 2570, + octaves = 3, + persist = 0.6 + }, + y_min = 0, + y_max = 100, + decoration = "sandwiches:wild_peanut", +}) + +-- PEANUT BUTTER -- + +minetest.register_craftitem("sandwiches:peanut_butter", { + description = "Peanut Butter", + on_use = minetest.item_eat(2), + groups = {food = 2, food_peanut_butter = 1, flammable = 1}, + inventory_image = "sandwiches_peanut_butter.png" +}) + +minetest.register_craft({ + output = "sandwiches:peanut_butter 5", + type = "shapeless"; + recipe = {"sandwiches:peanuts", "sandwiches:peanuts", "sandwiches:peanuts", + "sandwiches:peanuts", "sandwiches:peanuts", "sandwiches:peanuts", + "group:food_mortar_pestle","sandwiches:peanuts", "sandwiches:peanuts", + }, + replacements = {{"group:food_mortar_pestle", mope }}, +}) diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..1376196 --- /dev/null +++ b/depends.txt @@ -0,0 +1,15 @@ +default +farming +flowers? +mobs? +mobs_animal? +petz? +animalia? +moretrees? +cacaotree? +ethereal? +bbq? +cucina_vegana? +bonemeal? +xdecor? +potted_farming? diff --git a/description.txt b/description.txt new file mode 100644 index 0000000..db4f25d --- /dev/null +++ b/description.txt @@ -0,0 +1 @@ +Add Sandwiches to your game! Choose between meat, vegetarian or sweet sandwiches! diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..2308fdb --- /dev/null +++ b/init.lua @@ -0,0 +1,593 @@ +-- Mod: sandwiches + +sandwiches = {} +sandwiches.version = 1.9 -- complete overhaul +sandwiches.path = minetest.get_modpath("sandwiches") + +sandwiches.ingredient_support = { + ["true"] = true, -- provided by this mod or its dependencies + ["meat"] = false, + ["veggie"] = false, + ["berry"] = false, + ["banana"] = false, + ["choco"] = false, + ["honey"] = minetest.get_modpath("bees") ~= nil or minetest.get_modpath("mobs_animal") ~= nil or minetest.get_modpath("xdecor") ~= nil, + ["fish"] = false, + ["mushroom"] = minetest.get_modpath("flowers") ~= nil, + ["dairy"] = minetest.get_modpath("mobs_animal") ~= nil, + ["herbs"] = minetest.get_modpath("potted_farming") ~= nil, +} + +-- for future improvements (need cuisine) +local pot = "sandwiches:pot" --jam and jelly +local skillet = "sandwiches:skillet" -- toasts and tasty veg +local board = "sandwiches:cutting_board" -- ham bacon chicken_strips +local mope = "sandwiches:mortar_pestle" -- tabasco +local mix = "sandwiches:mixing_bowl" --sprinkles +if minetest.global_exists("farming") and farming.mod == "redo" then + pot = "farming:pot" + skillet = "farming:skillet" + board = "farming:cutting_board" + mope = "farming:mortar_pestle" + mix = "farming:mixing_bowl" + + sandwiches.ingredient_support.veggie = true + sandwiches.ingredient_support.berry = true + sandwiches.ingredient_support.choco = true + +else + dofile(sandwiches.path .. "/luas/tools.lua") +end + +-- BREAD -- + +minetest.register_craftitem("sandwiches:bread_slice", { + description = "Bread slice", + on_use = minetest.item_eat(1), + groups = {food = 1, food_bread_slice = 1, flammable = 1}, + inventory_image = "sandwiches_bread_slice.png" +}) +minetest.register_craft({ + output = "sandwiches:bread_slice 8", + type = "shapeless", + recipe = {"group:food_bread", "group:food_cutting_board", "group:food_bread"}, + replacements = { {"group:food_cutting_board", board }, } +}) + +minetest.register_craftitem("sandwiches:bread_crumbs", { + description = "Bread crumbs", + on_use = minetest.item_eat(1), + groups = {food = 1, food_bread_crumbs = 1, flammable = 1}, + inventory_image = "bread_crumbs.png" +}) +minetest.register_craft({ + output = "sandwiches:bread_crumbs 4", + type = "shapeless", + recipe = {"group:food_bread_slice"}, +}) + +if minetest.get_modpath("animalia") or minetest.get_modpath("mobs") then + if minetest.get_modpath("petz") then + sandwiches.ingredient_support.honey = true + end + dofile(sandwiches.path .. "/luas/meat.lua") + sandwiches.ingredient_support.meat = true + sandwiches.ingredient_support.dairy = true +end +if minetest.get_modpath("cheese") then + sandwiches.ingredient_support.dairy = true +end +if sandwiches.ingredient_support.meat and sandwiches.ingredient_support.dairy and sandwiches.ingredient_support.veggie then + dofile(sandwiches.path .. "/luas/toasts.lua") +end +if minetest.get_modpath("cucina_vegana") then + dofile(sandwiches.path .. "/luas/cucina_vegana.lua") + sandwiches.ingredient_support.banana = true + sandwiches.ingredient_support.veggie = true + sandwiches.ingredient_support.banana = true + sandwiches.ingredient_support.honey = true +end +if minetest.get_modpath("bbq") and sandwiches.ingredient_support.meat then + dofile(sandwiches.path .. "/luas/bbq.lua") +end +if minetest.get_modpath("ethereal") then + dofile(sandwiches.path .. "/luas/fish.lua") + sandwiches.ingredient_support.fish = true + sandwiches.ingredient_support.banana = true + sandwiches.ingredient_support.berry = true +end +if minetest.get_modpath("agriculture") then + dofile(sandwiches.path .. "/luas/agriculture.lua") + sandwiches.ingredient_support.veggie = true + sandwiches.ingredient_support.berry = true +end +if minetest.get_modpath("x_farming") then + dofile(sandwiches.path .. "/luas/xfarming.lua") + sandwiches.ingredient_support.veggie = true + sandwiches.ingredient_support.berry = true + sandwiches.ingredient_support.choco = true +end +if minetest.get_modpath("cacaotree") then + sandwiches.ingredient_support.choco = true +end +if minetest.get_modpath("moretrees") and sandwiches.ingredient_support.choco then + dofile(sandwiches.path .. "/luas/nutella.lua") +end + + +if minetest.get_modpath("bushes_classic") or sandwiches.ingredient_support.berry then + +-- BREAD PUDDING -- + -- no jam, no bread pudding + minetest.register_craftitem("sandwiches:sweet_bread_pudding_raw", { + description = "Uncooked sweet bread pudding", + groups = {food_sweet_bread = 1, flammable = 1}, + inventory_image = "sweet_bread_pudding_raw.png" + }) + minetest.register_craftitem("sandwiches:sweet_bread_pudding", { + description = "Sweet bread pudding", + on_use = minetest.item_eat(10), + groups = {food = 10, food_sweet_bread = 1, flammable = 1}, + inventory_image = "sweet_bread_pudding.png" + }) + minetest.register_craft({ + output = "sandwiches:sweet_bread_pudding_raw", + recipe = { + {"sandwiches:bread_crumbs", "sandwiches:bread_crumbs", "sandwiches:bread_crumbs"}, + {"group:food_jam", "group:food_sugar", "group:food_jam"}, + {"sandwiches:bread_crumbs", "sandwiches:bread_crumbs", "sandwiches:bread_crumbs"}, + } + }) + minetest.register_craft({ + type = "cooking", + output = "sandwiches:sweet_bread_pudding", + recipe = "sandwiches:sweet_bread_pudding_raw", + cooktime = 15, + }) + +-- JAM AND JELLY -- + local jj = { + ["blue"] = { {food_jam = 1, food_blueberry_jam = 1, flammable = 1},}, + ["rasp"] = { {food_jam = 1, food_raspberry_jam = 1, flammable = 1},}, + ["straw"] = { {food_jam = 1, food_strawberry_jam = 1, flammable = 1},}, + ["black"] = { {food_jam = 1, food_blackberry_jam = 1, flammable = 1},}, + } + for k, v in pairs(jj) do + minetest.register_craftitem("sandwiches:".. k .."berry_jam", { + description = k:gsub("(%a)(%a+)", function(a, b) return string.upper(a) .. string.lower(b) end).."berry jam", + on_use = minetest.item_eat(2), + groups = v[1], + inventory_image = "sandwiches_".. k .."berry_jam.png" + }) + + minetest.register_craft({ + output = "sandwiches:".. k .."berry_jam 5", + recipe = { + {"group:food_".. k .."berry", "group:food_sugar", "group:food_".. k .."berry"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"group:food_".. k .."berry", "group:food_sugar", "group:food_".. k .."berry"}, + }, + replacements = {{"group:food_pot", pot }}, + }) + end + + minetest.register_craftitem("sandwiches:grape_jelly", { + description = "Grape jelly", + on_use = minetest.item_eat(2), + groups = {food = 2, food_jam = 1, flammable = 1 }, + inventory_image = "sandwiches_grape_jelly.png" + }) + minetest.register_craft({ + output = "sandwiches:grape_jelly 5", + recipe = { + {"group:food_grapes", "group:food_sugar", "group:food_grapes"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"group:food_grapes", "group:food_sugar", "group:food_grapes"}, + }, + replacements = {{"group:food_pot", "group:food_pot"}}, + }) + + minetest.register_craftitem("sandwiches:multi_jam", { + description = "Multi jam", + on_use = minetest.item_eat(2), + groups = {food = 2, food_jam = 1, flammable = 1}, + inventory_image = "sandwiches_multi_jam.png" + }) + minetest.register_craft({ + output = "sandwiches:multi_jam 5", + recipe = { + {"group:food_berry", "group:food_sugar", "group:food_berry"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"group:food_berry", "group:food_sugar", "group:food_berry"}, + }, + replacements = {{"group:food_pot", "group:food_pot"}}, + }) + minetest.register_craft({ + output = "sandwiches:multi_jam 3", + type = "shapeless"; + recipe = { "group:food_jam", "group:food_jam", "group:food_jam", }, + }) + +end -- if merries are registered + +-- MEAT -- moved + +-- PEANUTS -- moved + +-- SAUCE -- + +minetest.register_node("sandwiches:tabasco", { + description = "Tabasco bottle", + inventory_image = "tabasco.png", + wield_image = "tabasco.png", + drawtype = "plantlike", + paramtype = "light", + is_ground_content = false, + tiles = {"tabasco.png"}, + groups = {vessel = 1, dig_immediate = 3, attached_node = 1, food_hot = 1, food_spicy = 1, food_sauce = 1}, + sounds = default.node_sound_glass_defaults(), + selection_box = { + type = "fixed", + fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} + }, +}) +minetest.register_craft({ + output = "sandwiches:tabasco 3", + type = "shapeless"; + recipe = {"group:food_chili_pepper", "group:food_chili_pepper", "group:food_chili_pepper", + "group:food_chili_pepper", "group:food_chili_pepper", "group:food_chili_pepper", + "group:food_mortar_pestle", "vessels:glass_bottle", + }, + replacements = {{"group:food_mortar_pestle", mope }} +}) + +-- TASTY VEGGIES -- +local herb = "group:food_parsley" +local rosm = "group:food_pepper_ground" +if sandwiches.ingredient_support.herbs then + herb = "potted_farming:sage" + rosm = "group:food_rosemary" +end + + minetest.register_craftitem("sandwiches:butter_carrots", { + description = "Butter carrots", + on_use = minetest.item_eat(3), + groups = {food = 3, food_tasty_veggie = 1, flammable = 1}, + inventory_image = "butter_carrots.png" + }) + minetest.register_craft({ + output = "sandwiches:butter_carrots 5", + type = "shapeless", + recipe = { + "group:food_carrot", "group:food_carrot", + "group:food_skillet", "group:food_butter", herb, + }, + replacements = {{"group:food_skillet", skillet }} + }) + + minetest.register_craftitem("sandwiches:roasted_potatoes", { + description = "Roasted potatoes", + on_use = minetest.item_eat(4), + groups = {food = 4, food_tasty_veggie = 1, flammable = 1}, + inventory_image = "roasted_potatoes.png" + }) + minetest.register_craft({ + output = "sandwiches:roasted_potatoes 5", + type = "shapeless", + recipe = { + "group:food_potato", "group:food_potato", + "group:food_skillet", "group:food_oil", rosm, + }, + replacements = { + {"group:food_skillet", skillet }, + {"group:food_pepper_ground", "vessels:glass_bottle"}, + {"group:food_oil", "vessels:glass_bottle"}, } + }) + + minetest.register_craftitem("sandwiches:caramelized_onion", { + description = "Caramelized onion", + on_use = minetest.item_eat(3), + groups = {food = 3, food_tasty_veggie = 1, flammable = 1}, + inventory_image = "caramelized_onion.png" + }) + minetest.register_craft({ + output = "sandwiches:caramelized_onion 4", + type = "shapeless"; + recipe = {"group:food_onion", "group:food_onion", "group:food_sugar", "group:food_skillet"}, + replacements = {{"group:food_skillet", skillet }} + }) + +if sandwiches.ingredient_support.mushroom then + minetest.register_craftitem("sandwiches:trifolat_mushrooms", { + description = "Trifolat Mushrooms", + on_use = minetest.item_eat(3), + groups = {food = 3, food_tasty_veggie = 1, flammable = 1}, + inventory_image = "trifolat_mushrooms.png" + }) + minetest.register_craft({ + output = "sandwiches:trifolat_mushrooms 4", + type = "shapeless", + recipe = { + "group:food_mushroom", "group:food_mushroom", "group:food_garlic_clove", + "group:food_skillet", "group:food_oil", "group:food_parsley", + }, + replacements = {{"group:food_skillet", skillet }, + {"group:food_oil", "vessels:glass_bottle" },} + }) +end + +-- -- + +dofile(sandwiches.path .. "/crops/peanuts.lua") + + +local sandwiches_recipes = { +--[[ name, is definable, fancy name, hunger, + recipe, + alternative recipe (optional), + replacements (optional), +]]-- + ["american"] = {{"veggie", "meat", "dairy"}, "American", 8, + {"group:food_cucumber", "group:food_ham", "group:food_cheese"}, + {"group:food_cucumber", "group:food_bacon", "group:food_cheese"}, + }, + ["veggie"] = {{"veggie", "veggie", "veggie"}, "Veggie", 8, + {"group:food_cucumber", "group:food_tomato", "group:food_potato"}, + {"group:food_carrot", "group:food_onion", "group:food_beetroot"}, + }, + ["classic"] = {{"veggie", "meat", "veggie"}, "Classic", 8, + {"group:food_lettuce", "group:food_ham", "group:food_tomato"}, + {"group:food_lettuce", "farming:tofu_cooked", "group:food_tomato" } + }, + ["blt"] = {{"veggie", "meat", "veggie"}, "BLT", 8, + {"group:food_lettuce", "group:food_bacon" ,"group:food_tomato"}, + }, + ["ham"] = {{"meat", "meat", "meat"}, "Ham", 8, + {"group:food_ham", "group:food_ham", "group:food_ham"}, + }, + ["bacon"] = {{"meat", "meat", "meat"}, "Bacon", 8, + {"group:food_bacon", "group:food_bacon", "group:food_bacon"}, + }, + ["egg_and_bacon"] = {{"meat", "meat", "meat"}, "Egg&Bacon", 10, + {"group:food_bacon", "group:food_egg_fried", "group:food_bacon"}, + }, + ["tasty_meat"] = {{"veggie", "meat", "veggie"}, "Tasty veggie with meat", 10, + {"group:food_tasty_veggie", "group:food_ham", "group:food_tasty_veggie"}, + {"group:food_tasty_veggie", "sandwiches:chicken_strips", "group:food_tasty_veggie"} + }, + ["enhanced_bacon"] = {{"meat", "mushroom", "meat"}, "Enhanced bacon", 10, + {"group:food_bacon", "sandwiches:trifolat_mushrooms", "group:food_bacon"}, + }, + ["tasty_veggie"] = {{"veggie", "veggie", "veggie"}, "Tasty veggie", 10, + {"sandwiches:caramelized_onion", "sandwiches:butter_carrots" ,"sandwiches:roasted_potatoes" }, + {"group:food_tasty_veggie", "group:food_tasty_veggie" ,"group:food_tasty_veggie" }, + }, + ["hot_ham"] = {{"meat", "veggie", "meat"}, "Hot ham", 9, + {"group:food_ham", "sandwiches:tabasco", "group:food_ham"}, + nil, + {{"sandwiches:tabasco", "vessels:glass_bottle"},}, + }, + ["hot_veggie"] = {{"veggie", "veggie", "veggie"}, "Hot veggie", 9, + {"group:food_tomato", "sandwiches:tabasco", "group:food_potato"}, + {"group:food_carrot", "sandwiches:tabasco", "group:food_onion"}, + {{"sandwiches:tabasco", "vessels:glass_bottle"},} + }, + ["italian"] = {{"mushroom", "veggie", "dairy"}, "Italian", 7, + {"flowers:mushroom_brown", "group:food_tomato", "group:food_cheese"}, + }, + ["cheesy"] = {{"dairy", "dairy", "dairy"}, "Cheesy", 8, + {"group:food_cheese","group:food_cheese", "group:food_cheese"}, + }, + ["sweet"] = {{"true", "honey", "true"}, "Sweet", 8, -- apples are from default, a dependant mod + {"default:apple", "group:food_honey", "default:apple"}, + nil, + {{"cucina_vegana:dandelion_honey", "vessels:glass_bottle"}, + {"petz:honey_bottle", "vessels:glass_bottle"}}, + }, + ["blueberry_jam"] = {{"veggie", "veggie", "veggie"}, "Blueberry jam", 7, + {"sandwiches:blueberry_jam", "sandwiches:blueberry_jam", "sandwiches:blueberry_jam"}, + }, + ["raspberry_jam"] = {{"veggie", "veggie", "veggie"}, "Rasperry jam", 7, + {"sandwiches:raspberry_jam", "sandwiches:raspberry_jam", "sandwiches:raspberry_jam"}, + }, + ["strawberry_jam"] = {{"veggie", "veggie", "veggie"}, "Strawberry jam", 7, + {"sandwiches:strawberry_jam", "sandwiches:strawberry_jam", "sandwiches:strawberry_jam"}, + }, + ["blackberry_jam"] = {{"veggie", "veggie", "veggie"}, "Blackberry jam", 7, + {"sandwiches:blackberry_jam", "sandwiches:blackberry_jam", "sandwiches:blackberry_jam"}, + }, + ["grape_jelly"] = {{"veggie", "veggie", "veggie"}, "Grape jelly", 7, + {"sandwiches:grape_jelly", "sandwiches:grape_jelly", "sandwiches:grape_jelly"}, + }, + ["pb_and_j"] = {{"true", "veggie", "true"}, "PeanutButter & Jelly", 10, -- peanut_butter is provided + {"sandwiches:peanut_butter", "sandwiches:grape_jelly", "sandwiches:peanut_butter"}, + }, + ["jam"] = {{"veggie", "veggie", "veggie"}, "Jam", 7, + {"group:food_jam","group:food_jam", "group:food_jam"}, + }, + ["banana_and_chocolate"] = {{"banana", "choco", "banana"}, "Banana&Chocolate", 8, + {"group:food_banana", "farming:chocolate_dark", "group:food_banana"}, + {"group:food_banana", "cacaotree:milk_chocolate", "group:food_banana"}, + }, + ["elvis"] = {{"banana", "true", "meat"}, "Elvis", 9, + {"group:food_banana", "sandwiches:peanut_butter", "group:food_bacon"}, + }, + ["marinated_chicken"] = {{"veggie", "meat", "honey"}, "Marinated chicken", 10, + {"group:food_soy_sauce", "group:food_chicken_strips", "group:food_honey"}, + nil, + {{"cucina_vegana:dandelion_honey", "vessels:glass_bottle"}, + {"petz:honey_bottle", "vessels:glass_bottle"}, + {"farming:soy_sauce", "vessels:glass_bottle"}}, + }, +} + +local function ingredients_registered (ingredient_types) + local s = sandwiches.ingredient_support + local can_register = false + if s[ingredient_types[1]] and s[ingredient_types[2]] and s[ingredient_types[3]] then + can_register = true + end + + return can_register +end + +for k, v in pairs(sandwiches_recipes) do + + if ingredients_registered(v[1]) then + local replace + if v[6] ~= nil then + replace = v[6] + end + minetest.register_craftitem("sandwiches:".. k .."_sandwich", { + description = v[2].." sandwich", + on_use = minetest.item_eat(v[3], "sandwiches:bread_crumbs"), + groups = {food = v[3] ,food_sandwich = 1, flammable = 1, satiates_hunger = v[3]}, + inventory_image = k .."_sandwich.png", + }) + + minetest.register_craft({ + output = "sandwiches:".. k .."_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + v[4], + {"", "sandwiches:bread_slice", ""}, + }, + replacements = replace + }) + + if v[5] ~= nil then + minetest.register_craft({ + output = "sandwiches:".. k .."_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + v[5], + {"", "sandwiches:bread_slice", ""}, + }, + replacements = replace + }) + end + + end -- registerable + +end + +-- ALIASES for compatibility, no unknown nodes or items must exist --- + +--minetest.register_alias("name", "convert_to") +minetest.register_alias("sandwiches:rasperry_jam_sandwich", "sandwiches:raspberry_jam_sandwich") +minetest.register_alias("sandwiches:tasty_bacon_sandwich", "sandwiches:tasty_meat_sandwich") +minetest.register_alias("sandwiches:tasty_chicken_sandwich", "sandwiches:tasty_meat_sandwich") +minetest.register_alias("sandwiches:tasty_ham_sandwich", "sandwiches:tasty_meat_sandwich") +minetest.register_alias("sandwiches:classic_vegan_sandwich", "sandwiches:classic_sandwich") + +-- SPECIAL SANDWICHES -- + +minetest.register_craftitem("sandwiches:triple_mega_sandwich", { + description = "Triple Mega sandwich", + on_use = minetest.item_eat(20, "sandwiches:bread_crumbs"), + groups = {food = 20, food_big_sandwich = 1, flammable = 1}, + inventory_image = "triple_mega_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:triple_mega_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_sandwich", "group:food_sandwich","group:food_sandwich"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craftitem("sandwiches:sand_sandwich", { + description = "Sand-sandwich", + inventory_image = "sand_sandwich.png", + groups = {food = 5, food_sandwich = 1, flammable = 1}, + on_use = function(itemstack, player, pointed_thing) + if player:get_hp() > 2 then + player:set_hp(player:get_hp() - 2) + minetest.chat_send_player(player:get_player_name(), "Ouch!" ) + end + return minetest.do_item_eat(5, nil, itemstack, player, pointed_thing) + end, +}) +minetest.register_craft({ + output = "sandwiches:sand_sandwich", + recipe = { + {"default:sand", "default:sand", "default:sand"}, + {"default:cactus", "default:cactus", "default:cactus"}, + {"default:sand", "default:sand", "default:sand"}, + } +}) +if sandwiches.ingredient_support.dairy then + +--fairy bread, (butter and sprinkles) +minetest.register_craftitem("sandwiches:sprinkles", { + description = "Sprinkles", + on_use = minetest.item_eat(1), + groups = {food = 1, food_sprinkles = 1, flammable = 1}, + inventory_image = "sugar_sprinkles.png" +}) +minetest.register_craft({ + output = "sandwiches:sprinkles 5", + recipe = { + {"dye:red", "group:food_sugar", "dye:yellow"}, + {"group:food_sugar", "group:food_sugar", "group:food_sugar"}, + {"dye:blue", "group:food_mixing_bowl", "dye:green"}, + }, + replacements = {{"group:food_mixing_bowl", mix }} +}) + +minetest.register_craftitem("sandwiches:fairy_bread", { + description = "Fairy bread", + on_use = minetest.item_eat(6, "sandwiches:bread_crumbs"), + groups = {food = 6, food_fairy_bread = 1, flammable = 1}, + inventory_image = "fairy_bread.png" +}) +minetest.register_craft({ + output = "sandwiches:fairy_bread 2", + recipe = { + {"sandwiches:sprinkles", "sandwiches:sprinkles", "sandwiches:sprinkles"}, + {"sandwiches:sprinkles", "sandwiches:sprinkles", "sandwiches:sprinkles"}, + {"sandwiches:bread_slice", "group:food_butter", "sandwiches:bread_slice"}, + }, +}) + +end -- if dairy is present ( need butter ) + +-- Hunger_ng Interoperability Support +if minetest.get_modpath("hunger_ng") then + local add = hunger_ng.add_hunger_data + + -- 1. Alle dynamischen Sandwiches aus der Rezept-Tabelle registrieren + -- Wir nutzen die Tabelle 'sandwiches_recipes', die weiter oben in dieser Datei definiert wurde. + for k, v in pairs(sandwiches_recipes) do + add("sandwiches:" .. k .. "_sandwich", { + satiates = v[3] + }) + end + + -- 2. Spezial-Sandwiches und Einzelteile registrieren + add("sandwiches:bread_slice", { satiates = 1 }) + add("sandwiches:bread_crumbs", { satiates = 1 }) + add("sandwiches:sweet_bread_pudding", { satiates = 10 }) + add("sandwiches:triple_mega_sandwich", { satiates = 20 }) + add("sandwiches:fairy_bread", { satiates = 6 }) + + -- Jams / Gelees + add("sandwiches:blueberry_jam", { satiates = 2 }) + add("sandwiches:raspberry_jam", { satiates = 2 }) + add("sandwiches:strawberry_jam", { satiates = 2 }) + add("sandwiches:blackberry_jam", { satiates = 2 }) + add("sandwiches:grape_jelly", { satiates = 2 }) + add("sandwiches:multi_jam", { satiates = 2 }) + + -- Gemüse-Beilagen + add("sandwiches:butter_carrots", { satiates = 3 }) + add("sandwiches:roasted_potatoes", { satiates = 4 }) + add("sandwiches:caramelized_onion", { satiates = 3 }) + if sandwiches.ingredient_support.mushroom then + add("sandwiches:trifolat_mushrooms", { satiates = 3 }) + end + + -- Der Sand-Sandwich (macht Schaden, sättigt aber) + add("sandwiches:sand_sandwich", { satiates = 5, heals = -2 }) +end diff --git a/luas/TODO.lua b/luas/TODO.lua new file mode 100644 index 0000000..4068de0 --- /dev/null +++ b/luas/TODO.lua @@ -0,0 +1,46 @@ +-- TODO -- + +minetest.register_craftitem("sandwiches:ketchup", { + description = "Ketchup bottle", + inventory_image = "ketchup.png", + groups = {food_sauce = 1, food_ketchup = 1}, +}) +minetest.register_craft({ + output = "sandwiches:ketchup 5", + type = "shapeless"; + recipe = {"group:food_tomato", "group:food_tomato", "group:food_tomato", + "group:food_sugar", "group:food_sugar", "group:food_sugar", + "group:food_pot", "vessels:glass_bottle", + }, + replacements = {{"group:food_pot", "group:food_pot"}} +}) + +minetest.register_craftitem("sandwiches:spicy_ketchup", { +description = "Spicy ketchup bottle", +inventory_image = "ketchup.png", -- colorize more red ? +groups = {food_sauce = 1, food_ketchup = 1, food_spicy = 1, food_hot = 1}, +}) +minetest.register_craft({ + output = "sandwiches:spicy_ketchup 5", + type = "shapeless"; + recipe = {"group:food_tomato", "group:food_tomato", "group:food_tomato", + "group:food_sugar", "group:food_sugar", "group:food_chili_pepper", + "group:food_pot", "vessels:glass_bottle", "group:food_chili_pepper" + }, + replacements = {{"group:food_pot", "group:food_pot"}} +}) + +minetest.register_craftitem("sandwiches:maionaisse", { + description = "Maionaisse", + inventory_image = "maionaisse.png", + groups = {food_sauce = 1, food_maionaisse = 1}, +}) +minetest.register_craft({ + output = "sandwiches:maionaisse 5", + type = "shapeless"; + recipe = {"group:food_egg", "group:food_egg", "group:food_oil", + "group:food_oil", "group:food_lemon", "group:food_lemon", + "group:food_mixing_bowl", "vessels:glass_bottle", + }, + replacements = {{"group:food_mixing_bowl", "group:food_mixing_bowl"}} +}) diff --git a/luas/agriculture.lua b/luas/agriculture.lua new file mode 100644 index 0000000..1aa82a4 --- /dev/null +++ b/luas/agriculture.lua @@ -0,0 +1,148 @@ +local pot = "sandwiches:pot" +local skillet = "sandwiches:skillet" +if minetest.global_exists("farming") and farming.mod == "redo" then + pot = "farming:pot" + skillet = "farming:skillet" +end + +minetest.register_craft({ + output = "sandwiches:classic_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"agriculture:lettuce", "group:food_ham", "agriculture:tomato"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) +minetest.register_craft({ + output = "sandwiches:classic_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"agriculture:lettuce", "farming:tofu_cooked", "agriculture:tomato"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) + +minetest.register_craft({ + output = "sandwiches:blt_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"agriculture:lettuce", "group:food_bacon" ,"agriculture:tomato"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) + + +minetest.register_craft({ + output = "sandwiches:italian_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"flowers:mushroom_brown", "agriculture:tomato", "group:food_cheese"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) + +minetest.register_craft({ + output = "sandwiches:hot_veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"agriculture:tomato", "sandwiches:tabasco", "agriculture:potato"}, + {"", "sandwiches:bread_slice", ""}, + }, + replacements = {{"sandwiches:tabasco", "vessels:glass_bottle"},} +}) +minetest.register_craft({ + output = "sandwiches:hot_veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"agriculture:carrot", "sandwiches:tabasco", "group:food_onion"}, + {"", "sandwiches:bread_slice", ""}, + }, + replacements = {{"sandwiches:tabasco", "vessels:glass_bottle"},} +}) + + +minetest.register_craft({ + output = "sandwiches:veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_cucumber", "agriculture:tomato", "agriculture:potato"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) +minetest.register_craft({ + output = "sandwiches:veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"agriculture:carrot", "group:food_onion", "agriculture:sugar_beet"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) + +-- NON SANDWICH CRAFTS -- +local herb = "group:food_parsley" +local rosm = "group:food_pepper_ground" +if sandwiches.ingredient_support.herbs then + herb = "potted_farming:sage" + rosm = "group:food_rosemary" +end +minetest.register_craft({ + output = "sandwiches:roasted_potatoes 5", + type = "shapeless", + recipe = { + "agriculture:potato", "agriculture:potato", + "group:food_skillet", "group:food_oil", rosm, + }, + replacements = { + {"group:food_skillet", skillet }, + {"group:food_pepper_ground", "vessels:glass_bottle"}, + {"group:food_oil", "vessels:glass_bottle"}, } +}) +minetest.register_craft({ + output = "sandwiches:butter_carrots 5", + type = "shapeless", + recipe = { + "agriculture:carrot", "agriculture:carrot", + "group:food_skillet", "group:food_butter", herb, + }, + replacements = {{"group:food_skillet", skillet }} +}) + +minetest.register_craft({ + output = "sandwiches:strawberry_jam 5", + recipe = { + {"agriculture:strawberry", "group:food_sugar", "agriculture:strawberry"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"agriculture:strawberry", "group:food_sugar", "agriculture:strawberry"}, + }, + replacements = {{"group:food_pot", pot }}, +}) + +minetest.register_craft({ + output = "sandwiches:blueberry_jam 5", + recipe = { + {"agriculture:huckleberry", "group:food_sugar", "agriculture:huckleberry"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"agriculture:huckleberry", "group:food_sugar", "agriculture:huckleberry"}, + }, + replacements = {{"group:food_pot", pot }}, +}) + +minetest.register_craft({ + output = "sandwiches:strawberry_jam 5", + recipe = { + {"agriculture:strawberry", "agriculture:sugar", "agriculture:strawberry"}, + {"agriculture:sugar", "group:food_pot", "agriculture:sugar"}, + {"agriculture:strawberry", "agriculture:sugar", "agriculture:strawberry"}, + }, + replacements = {{"group:food_pot", pot }}, +}) + +minetest.register_craft({ + output = "sandwiches:blueberry_jam 5", + recipe = { + {"agriculture:huckleberry", "agriculture:sugar", "agriculture:huckleberry"}, + {"agriculture:sugar", "group:food_pot", "agriculture:sugar"}, + {"agriculture:huckleberry", "agriculture:sugar", "agriculture:huckleberry"}, + }, + replacements = {{"group:food_pot", pot }}, +}) diff --git a/luas/bbq.lua b/luas/bbq.lua new file mode 100644 index 0000000..b38a661 --- /dev/null +++ b/luas/bbq.lua @@ -0,0 +1,51 @@ +-- SANDWHICHES -- +if minetest.global_exists("farming") and farming.mod == "redo" then -- need pepper + + minetest.register_craftitem("sandwiches:hamwich", { + description = "Hamwich", + on_use = minetest.item_eat(11, "sandwiches:bread_crumbs"), + groups = {food_sandwich = 1}, + inventory_image = "hamwich.png" + }) + minetest.register_craft({ + output = "sandwiches:hamwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_pepper", "bbq:hamburger_patty", "group:food_cheese"}, + {"", "sandwiches:bread_slice", ""}, + } + }) + +end + +minetest.register_craftitem("sandwiches:jerky_sandwich", { + description = "Jerky sandwich", + on_use = minetest.item_eat(11, "sandwiches:bread_crumbs"), + groups = {food_sandwich = 1}, + inventory_image = "jerky_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:jerky_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"sandwiches:tabasco", "bbq:beef_jerky", "group:food_cheese"}, + {"", "sandwiches:bread_slice", ""}, + }, + replacements = {{"sandwiches:tabasco", "vessels:glass_bottle"},} +}) + +--NON SANDWICH ITEMS CRAFT -- + +minetest.register_craft({ + output = "sandwiches:ham 3", + type = "shapeless"; + recipe = {"bbq:beef", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", "farming:cutting_board"}} +}) + +minetest.register_craft({ + output = "sandwiches:caramelized_onion 4", -- added an use to molasses + type = "shapeless"; + recipe = {"group:food_onion", "group:food_onion", "bbq:molasses", "group:food_skillet"}, + replacements = {{"group:food_skillet", "farming:skillet"}} +}) diff --git a/luas/cucina_vegana.lua b/luas/cucina_vegana.lua new file mode 100644 index 0000000..68b4b5c --- /dev/null +++ b/luas/cucina_vegana.lua @@ -0,0 +1,262 @@ +local skillet = "sandwiches:skillet" +local mope = "sandwiches:mortar_pestle" +if minetest.global_exists("farming") and farming.mod == "redo" then + mope = "farming:mortar_pestle" + skillet = "farming:skillet" +end + +-- SANDWICHES -- + +minetest.register_craftitem("sandwiches:tasty_asparagus_sandwich", { + description = "Tasty asparagus sandwich", + on_use = minetest.item_eat(7, "sandwiches:bread_crumbs"), + groups = {food = 7, food_sandwich = 1, food_vegan = 1}, + inventory_image = "tasty_asparagus_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:tasty_asparagus_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:asparagus", "cucina_vegana:sauce_hollandaise", "cucina_vegana:asparagus"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +if sandwiches.ingredient_support.meat then + + minetest.register_craftitem("sandwiches:ham_and_asparagus_sandwich", { + description = "Ham and asparagus sandwich", + on_use = minetest.item_eat(7, "sandwiches:bread_crumbs"), + groups = {food = 7, food_sandwich = 1}, + inventory_image = "ham_and_asparagus_sandwich.png" + }) + minetest.register_craft({ + output = "sandwiches:ham_and_asparagus_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:asparagus", "group:food_ham" ,"cucina_vegana:asparagus"}, + {"", "sandwiches:bread_slice", ""}, + } + }) + + minetest.register_craftitem("sandwiches:club_sandwich", { + description = "Club sandwich", + on_use = minetest.item_eat(18, "sandwiches:bread_crumbs"), + groups = {food = 18, food_sandwich = 1, }, + inventory_image = "club_sandwich.png" + }) + minetest.register_craft({ + output = "sandwiches:club_sandwich", + recipe = { + {"sandwiches:bread_slice", "group:food_tomato" , "sandwiches:bread_slice"}, + {"sandwiches:chicken_strips", "cucina_vegana:sauce_hollandaise" ,"group:food_bacon" }, + {"sandwiches:bread_slice", "group:food_lettuce", "sandwiches:bread_slice"}, + } + }) + + +end -- if ham is present + +minetest.register_craftitem("sandwiches:tasty_tofu_sandwich", { + description = "Tofu and asparagus sandwich", + on_use = minetest.item_eat(8, "sandwiches:bread_crumbs"), + groups = {food = 8, food_sandwich = 1, food_vegan = 1}, + inventory_image = "tasty_tofu_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:tasty_tofu_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:asparagus", "cucina_vegana:tofu_cooked" ,"cucina_vegana:asparagus"}, + {"", "sandwiches:bread_slice", ""}, + } +}) +minetest.register_craft({ + output = "sandwiches:tasty_tofu_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:asparagus", "farming:tofu_cooked" ,"cucina_vegana:asparagus"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craftitem("sandwiches:tofu_sandwich", { + description = "Tofu sandwich", + on_use = minetest.item_eat(7, "sandwiches:bread_crumbs"), + groups = {food = 7, food_sandwich = 1, food_vegan = 1}, + inventory_image = "tofu_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:tofu_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives","cucina_vegana:tofu_cooked", "cucina_vegana:rosemary"}, + {"", "sandwiches:bread_slice", ""}, + } +}) +minetest.register_craft({ + output = "sandwiches:tofu_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives","farming:tofu_cooked", "cucina_vegana:rosemary"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craftitem("sandwiches:gourmet_sandwich", { + description = "Gourmet sandwich", + on_use = minetest.item_eat(12, "sandwiches:bread_crumbs"), + groups = {food = 12, food_sandwich = 1}, + inventory_image = "gourmet_vegan_sandwich.png" +}) +minetest.register_alias("sandwiches:gourmet_meat_sandwich", "sandwiches:gourmet_sandwich") +minetest.register_alias("sandwiches:gourmet_vegan_sandwich", "sandwiches:gourmet_sandwich") + +minetest.register_craft({ + output = "sandwiches:gourmet_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives", "group:food_ham" ,"cucina_vegana:sauce_hollandaise" }, + {"", "sandwiches:bread_slice", ""}, + } +}) +minetest.register_craft({ + output = "sandwiches:gourmet_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives", "group:food_chicken_strips" ,"cucina_vegana:sauce_hollandaise" }, + {"", "sandwiches:bread_slice", ""}, + } +}) +minetest.register_craft({ + output = "sandwiches:gourmet_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives", "cucina_vegana:tofu_cooked" ,"cucina_vegana:sauce_hollandaise" }, + {"", "sandwiches:bread_slice", ""}, + } +}) +minetest.register_craft({ + output = "sandwiches:gourmet_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives", "farming:tofu_cooked" ,"cucina_vegana:sauce_hollandaise" }, + {"", "sandwiches:bread_slice", ""}, + } +}) +minetest.register_craft({ + output = "sandwiches:gourmet_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives", "cucina_vegana:imitation_meat" ,"cucina_vegana:sauce_hollandaise" }, + {"", "sandwiches:bread_slice", ""}, + } +}) +minetest.register_craft({ + output = "sandwiches:gourmet_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:chives", "cucina_vegana:imitation_poultry" ,"cucina_vegana:sauce_hollandaise" }, + {"", "sandwiches:bread_slice", ""}, + } +}) + +-- ALREADY EXISTING SANDWICHES CRAFT -- + +minetest.register_craft({ + output = "sandwiches:classic_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_lettuce", "cucina_vegana:tofu_cooked", "group:food_tomato" }, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craft({ + output = "sandwiches:hot_veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"cucina_vegana:asparagus", "sandwiches:tabasco", "group:food_lettuce"}, + {"", "sandwiches:bread_slice", ""}, + }, + replacements = {{"sandwiches:tabasco", "vessels:glass_bottle"},} +}) + +minetest.register_craft({ + output = "sandwiches:fancy_garlic_sandwich", + recipe = { + {"", "sandwiches:garlic_bread", ""}, + {"cucina_vegana:tofu_cooked", "sandwiches:trifolat_mushrooms", "group:food_cheese"}, + {"", "sandwiches:garlic_bread", ""}, + }, +}) +minetest.register_craft({ + output = "sandwiches:fancy_garlic_sandwich", + recipe = { + {"", "sandwiches:garlic_bread", ""}, + {"farming:tofu_cooked", "sandwiches:trifolat_mushrooms", "group:food_cheese"}, + {"", "sandwiches:garlic_bread", ""}, + }, +}) + +minetest.register_craft({ + output = "sandwiches:tasty_garlic_sandwich", + recipe = { + {"", "sandwiches:garlic_bread", ""}, + {"group:food_tomato", "cucina_vegana:tofu_cooked", "group:food_cheese"}, + {"", "sandwiches:garlic_bread", ""}, + }, +}) +minetest.register_craft({ + output = "sandwiches:tasty_garlic_sandwich", + recipe = { + {"", "sandwiches:garlic_bread", ""}, + {"group:food_tomato", "farming:tofu_cooked", "group:food_cheese"}, + {"", "sandwiches:garlic_bread", ""}, + }, +}) + +--ALREADY EXISTING NON SANDWICH ITEMS + +minetest.register_craft({ + output = "sandwiches:tabasco 3", + type = "shapeless"; + recipe = {"group:food_chili", "group:food_chili", "group:food_chili", + "group:food_chili", "group:food_chili", "group:food_chili", + "group:food_mortar_pestle", "vessels:glass_bottle", + }, + replacements = {{"group:food_mortar_pestle", mope }} +}) + +minetest.register_craft({ + output = "sandwiches:roasted_potatoes 5", + type = "shapeless", + recipe = { + "group:food_potato", "group:food_potato", + "group:food_skillet", "group:food_oil", "cucina_vegana:rosemary", + }, + replacements = {{"group:food_skillet", "farming:skillet"}, {"group:food_oil", "vessels:glass_bottle"}} +}) + +minetest.register_craft({ + output = "sandwiches:garlic_bread 4", + recipe = { + {"", "cucina_vegana:garlic", ""}, + {"sandwiches:bread_slice", "sandwiches:bread_slice", "sandwiches:bread_slice"}, + {"group:food_skillet", "sandwiches:bread_slice", "group:food_butter"}, + }, + replacements = {{"group:food_skillet", skillet}} +}) + +-- MOLASSES -- + +if minetest.registered_items["sandwiches:caramelized_onion"] then + + minetest.register_craft({ + output = "sandwiches:caramelized_onion 4", + type = "shapeless"; + recipe = {"group:food_onion", "group:food_onion", "cucina_vegana:molasses", "group:food_skillet"}, + replacements = {{"group:food_skillet", "farming:skillet"}} + }) + +end diff --git a/luas/ethereal.lua b/luas/ethereal.lua new file mode 100644 index 0000000..4e82c7f --- /dev/null +++ b/luas/ethereal.lua @@ -0,0 +1,87 @@ +-- banana_and_chocolate_sandwich, strawberry jam and strawberry_jam_sandwich are added. + +minetest.register_craftitem("sandwiches:strawberry_jam", { + description = "Strawberry jam", + on_use = minetest.item_eat(2), + groups = {food_jam = 1, }, + inventory_image = "strawberry_jam.png" +}) + +minetest.register_craftitem("sandwiches:strawberry_jam_sandwich", { + description = "Strawberry Jam Sandwich", + on_use = minetest.item_eat(7, "sandwiches:bread_crumbs"), + groups = {food_sandwich = 1}, + inventory_image = "strawberry_jam_sandwich.png" +}) + +minetest.register_craftitem("sandwiches:banana_and_chocolate_sandwich", { + description = "Banana and chocolate sandwich", + on_use = minetest.item_eat(7, "sandwiches:bread_crumbs"), + groups = {food_sandwich = 1}, + inventory_image = "banana_and_chocolate_sandwich.png" +}) + +minetest.register_craftitem("sandwiches:elvis_sandwich", { + description = "Elvis sandwich", + on_use = minetest.item_eat(8, "sandwiches:bread_crumbs"), + groups = {food_sandwich = 1}, + inventory_image = "elvis_sandwich.png" +}) + +-- CRAFTS -- + +minetest.register_craft({ + output = "sandwiches:strawberry_jam", + recipe = { + {"group:food_strawberry", "group:food_sugar", "group:food_strawberry"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"group:food_strawberry", "group:food_sugar", "group:food_strawberry"}, + }, + replacements = {{"group:food_pot", "group:food_pot"}} +}) + +minetest.register_craft({ + output = "sandwiches:strawberry_jam", + recipe = { + {"ethereal:strawberry", "group:food_sugar", "ethereal:strawberry"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"ethereal:strawberry", "group:food_sugar", "ethereal:strawberry"}, + }, + replacements = {{"group:food_pot", "group:food_pot"}} +}) + +minetest.register_craft({ + output = "sandwiches:strawberry_jam_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"sandwiches:strawberry_jam", "sandwiches:strawberry_jam", "sandwiches:strawberry_jam"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craft({ + output = "sandwiches:banana_and_chocolate_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_banana", "farming:chocolate_dark", "group:food_banana"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craft({ + output = "sandwiches:banana_and_chocolate_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"ethereal:banana", "farming:chocolate_dark", "ethereal:banana"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craft({ + output = "sandwiches:elvis_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"ethereal:banana", "sandwiches:peanut_butter", "sandwiches:crispy_bacon"}, + {"", "sandwiches:bread_slice", ""}, + } +}) \ No newline at end of file diff --git a/luas/fish.lua b/luas/fish.lua new file mode 100644 index 0000000..f0eecb5 --- /dev/null +++ b/luas/fish.lua @@ -0,0 +1,68 @@ +minetest.register_craftitem("sandwiches:cooked_salmon", { + description = "Cooked Salmon", + on_use = minetest.item_eat(4), + groups = {food = 4, food_fish_cooked = 1, food_salmon = 1, flammable = 1}, + inventory_image = "sandwiches_salmon_cooked.png" +}) +minetest.register_craft({ + type = "cooking", + output = "sandwiches:cooked_salmon", + recipe = "ethereal:fish_salmon", + cooktime = 5, +}) + +local ingredient = "group:food_tomato" +if minetest.get_modpath("cheese") then + ingredient = "group:food_cream" +end + +if minetest.global_exists("farming") and farming.mod == "redo" then + + minetest.register_craftitem("sandwiches:lox_sandwich", { + description = "Lox sandwich", + on_use = minetest.item_eat(12, "sandwiches:bread_crumbs"), + groups = {food = 12, food_sandwich = 1, flammable = 1}, + inventory_image = "lox_sandwich.png" + }) + minetest.register_craft({ + output = "sandwiches:lox_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {ingredient, "sandwiches:cooked_salmon","group:food_cucumber"}, + {"", "sandwiches:bread_slice", ""}, + } + }) + +end -- it needs cucumber + +if sandwiches.ingredient_support.meat then + +minetest.register_craftitem("sandwiches:cooked_trout", { + description = "Cooked Trout", + on_use = minetest.item_eat(4), + groups = {food = 4, food_fish_cooked = 1, food_trout = 1, flammable = 1}, + inventory_image = "sandwiches_trout_cooked.png" +}) +minetest.register_craft({ + type = "cooking", + output = "sandwiches:cooked_trout", + recipe = "ethereal:fish_trout", + cooktime = 5, +}) + +minetest.register_craftitem("sandwiches:trout_sandwich", { + description = "Trout sandwich", + on_use = minetest.item_eat(13, "sandwiches:bread_crumbs"), + groups = {food = 13, food_sandwich = 1, flammable = 1}, + inventory_image = "trout_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:trout_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_egg", "sandwiches:cooked_trout","group:food_onion"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +end -- if eggs are present diff --git a/luas/meat.lua b/luas/meat.lua new file mode 100644 index 0000000..cadf095 --- /dev/null +++ b/luas/meat.lua @@ -0,0 +1,98 @@ +local board = "sandwiches:cutting_board" +if minetest.global_exists("farming") and farming.mod == "redo" then + board = "farming:cutting_board" +end + +minetest.register_craftitem("sandwiches:ham", { + description = "Ham", + on_use = minetest.item_eat(3), + groups = {food = 3, food_ham = 1, food_meat = 1, flammable = 1}, + inventory_image = "sandwiches_ham.png" +}) + +minetest.register_craftitem("sandwiches:chicken_strips", { + description = "Chicken strips", + on_use = minetest.item_eat(2), + groups = {food = 2, food_chicken_strips = 1, food_meat = 1, flammable = 1}, + inventory_image = "sandwiches_chicken_strips.png" +}) +minetest.register_craft({ + output = "sandwiches:chicken_strips 3", + type = "shapeless"; + recipe = {"group:food_chicken", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} +}) + +minetest.register_craftitem("sandwiches:raw_bacon", { + description = "Raw Bacon", + on_use = minetest.item_eat(1), + groups = {food = 1, food_bacon_raw = 1, food_meat = 1, flammable = 1}, + inventory_image = "sandwiches_raw_bacon.png" +}) +minetest.register_craftitem("sandwiches:crispy_bacon", { + description = "Crispy Bacon", + on_use = minetest.item_eat(3), + groups = {food = 3, food_bacon = 1, food_meat = 1, flammable = 1}, + inventory_image = "sandwiches_crispy_bacon.png" +}) +minetest.register_craft({ + type = "cooking", + output = "sandwiches:crispy_bacon", + recipe = "sandwiches:raw_bacon", + cooktime = 5, +}) +minetest.register_craft({ + output = "sandwiches:raw_bacon 3", + type = "shapeless"; + recipe = {"group:food_pork_raw", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} +}) + +if minetest.get_modpath("mobs") then + minetest.register_craft({ + output = "sandwiches:ham 3", + type = "shapeless"; + recipe = {"mobs:meat", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} + }) +end +if minetest.get_modpath("petz") then + minetest.register_craft({ + output = "sandwiches:ham 3", + type = "shapeless"; + recipe = {"petz:steak", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} + }) + minetest.register_craft({ + output = "sandwiches:chicken_strips 3", + type = "shapeless"; + recipe = {"petz:roasted_chicken", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} + }) + minetest.register_craft({ + output = "sandwiches:raw_bacon 3", + type = "shapeless"; + recipe = {"petz:raw_porkchop", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} + }) +end +if minetest.get_modpath("animalia") then + minetest.register_craft({ + output = "sandwiches:ham 3", + type = "shapeless"; + recipe = {"animalia:beef_cooked", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} + }) + minetest.register_craft({ + output = "sandwiches:chicken_strips 3", + type = "shapeless"; + recipe = {"animalia:poultry_cooked", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} + }) + minetest.register_craft({ + output = "sandwiches:raw_bacon 3", + type = "shapeless"; + recipe = {"animalia:porkchop_raw", "group:food_cutting_board"}, + replacements = {{"group:food_cutting_board", board }} + }) +end diff --git a/luas/nutella.lua b/luas/nutella.lua new file mode 100644 index 0000000..125a8fd --- /dev/null +++ b/luas/nutella.lua @@ -0,0 +1,99 @@ +minetest.register_node("sandwiches:noyella_block", { + description = "Noyella block", + groups = {snappy = 1 , oddly_breakable_by_hand = 3, not_in_creative_inventory=1, flammable = 1}, + paramtype2 = "facedir", + tiles = {"noyella_block_top.png", + "noyella_block_bottom.png", + "noyella_block_side.png", + "noyella_block_side.png", + "noyella_block_side.png", + "noyella_block_front.png" + }, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_craftitem("sandwiches:noyella_sandwich", { + description = "noyella sandwich", + on_use = minetest.item_eat(8, "sandwiches:bread_crumbs"), + groups = {food_sandwich = 1}, + inventory_image = "noyella_sandwich.png" +}) + +minetest.register_craftitem("sandwiches:noyella_spread", { + description = "Noyella spread", + on_use = minetest.item_eat(2), + groups = {food_nutella = 1, food_noyella = 1, food_chocolate_spead = 1, flammable = 1}, + inventory_image = "noyella_spread.png" +}) + +-- CRAFTS -- + +minetest.register_craft({ + output = "sandwiches:noyella_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"sandwiches:noyella_spread", "sandwiches:noyella_spread", "sandwiches:noyella_spread"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + +minetest.register_craft({ + output = "sandwiches:noyella_spread 5", + type = "shapeless", + recipe = { + "farming:cocoa_beans", "farming:cocoa_beans", "farming:cocoa_beans", + "group:food_sugar", "group:food_sugar", "group:food_sugar", + "moretrees:acorn", "moretrees:acorn", "moretrees:acorn", + } +}) + +if minetest.get_modpath("x_farming") then + minetest.register_craft({ + output = "sandwiches:noyella_spread 5", + type = "shapeless", + recipe = { + "x_farming:cocoa_bean", "x_farming:cocoa_bean", "x_farming:cocoa_bean", + "group:food_sugar", "group:food_sugar", "group:food_sugar", + "moretrees:acorn", "moretrees:acorn", "moretrees:acorn", + } + }) +end -- if x_farming is present +if minetest.get_modpath("cacaotree")then + minetest.register_craft({ + output = "sandwiches:noyella_spread 5", + type = "shapeless", + recipe = { + "cacaotree:cacao_beans", "cacaotree:cacao_beans", "cacaotree:cacao_beans", + "group:food_sugar", "group:food_sugar", "group:food_sugar", + "moretrees:acorn", "moretrees:acorn", "moretrees:acorn", + } + }) + minetest.register_craft({ + output = "sandwiches:noyella_spread 5", + type = "shapeless", + recipe = { + "cacaotree:cacao_beans", "cacaotree:cacao_beans", "cacaotree:cacao_beans", + "x_farming:sugar", "x_farming:sugar", "x_farming:sugar", + "moretrees:acorn", "moretrees:acorn", "moretrees:acorn", + } + }) +end -- if cool_trees with cacaotree is present + +minetest.register_craft({ + output = "sandwiches:noyella_block", + recipe = { + {"sandwiches:noyella_spread", "sandwiches:noyella_spread", "sandwiches:noyella_spread"}, + {"sandwiches:noyella_spread", "sandwiches:noyella_spread", "sandwiches:noyella_spread"}, + {"sandwiches:noyella_spread", "sandwiches:noyella_spread", "sandwiches:noyella_spread"} + } +}) + +minetest.register_craft({ + output = "sandwiches:noyella_spread 9", + type = "shapeless", + recipe = {"sandwiches:noyella_block"} +}) + +minetest.register_alias("sandwiches:nutella_block", "sandwiches:noyella_block") +minetest.register_alias("sandwiches:acorn_nutella", "sandwiches:noyella_spread") +minetest.register_alias("sandwiches:nutella_sandwich", "sandwiches:noyella_sandwich") diff --git a/luas/toasts.lua b/luas/toasts.lua new file mode 100644 index 0000000..bb4b2e9 --- /dev/null +++ b/luas/toasts.lua @@ -0,0 +1,124 @@ +local skillet = "sandwiches:skillet" +local mix = "sandwiches:mixing_bowl" +if minetest.global_exists("farming") and farming.mod == "redo" then + skillet = "farming:skillet" + mix = "farming:mixing_bowl" +end + +-- food_toasted = 1 means sandwich wich craft uses skillet+butter or uses garlic bread slice + +minetest.register_craftitem("sandwiches:grilled_hot_cheesy_sandwich", { + description = "Grilled hot cheese sandwich", + on_use = minetest.item_eat(10, "sandwiches:bread_crumbs"), + groups = {food = 10, food_sandwich = 1, food_toasted = 1}, + inventory_image = "grilled_hot_cheesy_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:grilled_hot_cheesy_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_cheese", "sandwiches:tabasco", "group:food_cheese"}, + {"group:food_skillet", "sandwiches:bread_slice", "group:food_butter"}, + }, + replacements = {{"group:food_skillet", skillet}, {"sandwiches:tabasco","vessels:glass_bottle"}} +}) + +--garlic bread done right +minetest.register_craftitem("sandwiches:garlic_bread", { + description = "Garlic bread", + on_use = minetest.item_eat(4, "sandwiches:bread_crumbs"), + groups = {food = 4, food_garlic_bread = 1}, + inventory_image = "sandwiches_garlic_bread_slice.png" +}) +minetest.register_craft({ + output = "sandwiches:garlic_bread 2", + recipe = { + {"group:food_garlic_clove", "group:food_garlic_clove", "group:food_garlic_clove"}, + {"group:food_garlic_clove", "sandwiches:bread_slice", "group:food_garlic_clove"}, + {"group:food_skillet", "sandwiches:bread_slice", "group:food_butter"}, + }, + replacements = {{"group:food_skillet", skillet}} +}) + +minetest.register_craftitem("sandwiches:tasty_garlic_sandwich", { + description = "Tasty garlic sandwich", + on_use = minetest.item_eat(16, "sandwiches:bread_crumbs"), + groups = {food = 16, food_sandwich = 1, food_toasted = 1}, + inventory_image = "tasty_garlic_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:tasty_garlic_sandwich", + recipe = { + {"", "sandwiches:garlic_bread", ""}, + {"group:food_tomato", "group:food_ham", "group:food_cheese"}, + {"", "sandwiches:garlic_bread", ""}, + }, +}) + +minetest.register_craftitem("sandwiches:fancy_garlic_sandwich", { + description = "Fancy garlic sandwich", + on_use = minetest.item_eat(18, "sandwiches:bread_crumbs"), + groups = {food = 18, food_sandwich = 1, food_toasted = 1}, + inventory_image = "fancy_garlic_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:fancy_garlic_sandwich", + recipe = { + {"", "sandwiches:garlic_bread", ""}, + {"group:food_bacon", "sandwiches:trifolat_mushrooms", "group:food_cheese"}, + {"", "sandwiches:garlic_bread", ""}, + }, +}) + +-- croque monsier, croque madame --- need GRUYERE +local cheese = "group:food_cheese" +if minetest.get_modpath("cheese") then + cheese = "cheese:gruyere" +end + +if minetest.registered_items["sandwiches:ham"] then + +minetest.register_craftitem("sandwiches:croque_monsieur", { + description = "Croque Monsier", + on_use = minetest.item_eat(13, "sandwiches:bread_crumbs"), + groups = {food = 13, food_sandwich = 1, food_toasted = 1}, + inventory_image = "croque_monsieur.png" +}) +minetest.register_craft({ + output = "sandwiches:croque_monsieur", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {cheese, "group:food_ham", cheese}, + {"group:food_skillet", "sandwiches:bread_slice", "group:food_butter"}, + }, + replacements = {{"group:food_skillet", skillet}} +}) + +end + +if minetest.registered_items["sandwiches:chicken_strips"] then + +minetest.register_craftitem("sandwiches:croque_madame", { + description = "Croque madame", + on_use = minetest.item_eat(16, "sandwiches:bread_crumbs"), + groups = {food = 16, food_sandwich = 1, food_toasted = 1}, + inventory_image = "croque_madame.png" +}) +minetest.register_craft({ + output = "sandwiches:croque_madame", + recipe = { + {"", "sandwiches:bread_slice", "group:food_egg_fried"}, + {cheese, "sandwiches:chicken_strips", cheese}, + {"group:food_skillet", "sandwiches:bread_slice", "group:food_butter"}, + }, + replacements = {{"group:food_skillet", skillet}} +}) + +end +--[[ +minetest.register_craft({ + output = "sandwiches:croque_madame", + type = "shapeless"; + recipe = {"group:food_egg_fried", "sandwiches:croque_monsieur"}, +}) +]]-- diff --git a/luas/tools.lua b/luas/tools.lua new file mode 100644 index 0000000..824e27e --- /dev/null +++ b/luas/tools.lua @@ -0,0 +1,84 @@ +-- same exact recipes as the ones in farming's utensils.lua + +minetest.register_craftitem("sandwiches:pot", { + description = "Cooking Pot", + inventory_image = "cooking_pot.png", + groups = {food_pot = 1} +}) +minetest.register_craft({ + output = "sandwiches:pot", + recipe = { + {"group:stick", "default:steel_ingot", "default:steel_ingot"}, + {"", "default:steel_ingot", "default:steel_ingot"} + } +}) +--[[ +minetest.register_craftitem("sandwiches:baking_tray", { + description = "Baking Tray", + inventory_image = "baking_tray.png", + groups = {food_baking_tray = 1} +}) +minetest.register_craft({ + output = "sandwiches:baking_tray", + recipe = { + {"default:clay_brick", "default:clay_brick", "default:clay_brick"}, + {"default:clay_brick", "", "default:clay_brick"}, + {"default:clay_brick", "default:clay_brick", "default:clay_brick"} + } +}) +]]-- +minetest.register_craftitem("sandwiches:skillet", { + description = "Skillet", + inventory_image = "skillet.png", + groups = {food_skillet = 1} +}) +minetest.register_craft({ + output = "sandwiches:skillet", + recipe = { + {"default:steel_ingot", "", ""}, + {"", "default:steel_ingot", ""}, + {"", "", "group:stick"} + } +}) + +minetest.register_craftitem("sandwiches:mortar_pestle", { + description = "Mortar and Pestle", + inventory_image = "mortar_pestle.png", + groups = {food_mortar_pestle = 1} +}) +minetest.register_craft({ + output = "sandwiches:mortar_pestle", + recipe = { + {"default:stone", "group:stick", "default:stone"}, + {"", "default:stone", ""} + } +}) + +minetest.register_craftitem("sandwiches:cutting_board", { + description = "Cutting Board", + inventory_image = "cutting_board.png", + groups = {food_cutting_board = 1} +}) + +minetest.register_craft({ + output = "sandwiches:cutting_board", + recipe = { + {"default:steel_ingot", "", ""}, + {"", "group:stick", ""}, + {"", "", "group:wood"} + } +}) + +minetest.register_craftitem("sandwiches:mixing_bowl", { + description = "Glass Mixing Bowl", + inventory_image = "mixing_bowl.png", + groups = {food_mixing_bowl = 1,} +}) +minetest.register_craft({ + output = "sandwiches:mixing_bowl", + recipe = { + {"", "", ""}, + {"default:glass", "group:stick", "default:glass"}, + {"", "default:glass", ""} + } +}) diff --git a/luas/xfarming.lua b/luas/xfarming.lua new file mode 100644 index 0000000..9017aac --- /dev/null +++ b/luas/xfarming.lua @@ -0,0 +1,127 @@ +local ingredient = "group:food_lettuce" + +local pot = "sandwiches:pot" +local skillet = "sandwiches:skillet" +if minetest.global_exists("farming") and farming.mod == "redo" then + pot = "farming:pot" + skillet = "farming:skillet" + + ingredient = "group:food_cucumber" +end + +if sandwiches.ingredient_support.dairy then + ingredient = "group:food_cheese" +end + +-- SANDWICHES -- +minetest.register_craftitem("sandwiches:po_boy_sandwich", { + description = "Po\'boy sandwich", + on_use = minetest.item_eat(7, "sandwiches:bread_crumbs"), + + groups = {food = 7, food_sandwich = 1}, + inventory_image = "po_boy_sandwich.png" +}) +minetest.register_craft({ + output = "sandwiches:po_boy_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {ingredient, "x_farming:shrimp_cooked", "group:food_tomato"}, + {"", "sandwiches:bread_slice", ""}, + } +}) + + +-- ALREADY EXISTING SANDWICHES CRAFT -- + +minetest.register_craft({ + output = "sandwiches:hot_veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"x_farming:carrot", "sandwiches:tabasco", "x_farming:potato"}, + {"", "sandwiches:bread_slice", ""}, + }, + replacements = {{"sandwiches:tabasco", "vessels:glass_bottle"},} +}) +minetest.register_craft({ + output = "sandwiches:hot_veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"x_farming:carrot", "sandwiches:tabasco", "group:food_onion"}, + {"", "sandwiches:bread_slice", ""}, + }, + replacements = {{"sandwiches:tabasco", "vessels:glass_bottle"},} +}) + +minetest.register_craft({ + output = "sandwiches:veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_cucumber", "x_farming:carrot", "x_farming:potato"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) +minetest.register_craft({ + output = "sandwiches:veggie_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"x_farming:carrot", "group:food_onion", "x_farming:beetroot"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) +minetest.register_craft({ + output = "sandwiches:banana_and_chocolate_sandwich", + recipe = { + {"", "sandwiches:bread_slice", ""}, + {"group:food_banana", "x_farming:chocolate", "group:food_banana"}, + {"", "sandwiches:bread_slice", ""}, + }, +}) + +-- NON SANDWICH CRAFTS -- +local herb = "group:food_parsley" +local rosm = "group:food_pepper_ground" +if sandwiches.ingredient_support.herbs then + herb = "potted_farming:sage" + rosm = "group:food_rosemary" +end +minetest.register_craft({ + output = "sandwiches:roasted_potatoes 5", + type = "shapeless", + recipe = { + "x_farming:potato", "x_farming:potato", + "group:food_skillet", "group:food_oil", rosm, + }, + replacements = { + {"group:food_skillet", skillet }, + {"group:food_pepper_ground", "vessels:glass_bottle"}, + {"group:food_oil", "vessels:glass_bottle"}, } +}) +minetest.register_craft({ + output = "sandwiches:butter_carrots 5", + type = "shapeless", + recipe = { + "x_farming:carrot", "x_farming:carrot", + "group:food_skillet", "group:food_butter", herb, + }, + replacements = {{"group:food_skillet", skillet }} +}) + +minetest.register_craft({ + output = "sandwiches:strawberry_jam 5", + recipe = { + {"x_farming:strawberry", "group:food_sugar", "x_farming:strawberry"}, + {"group:food_sugar", "group:food_pot", "group:food_sugar"}, + {"x_farming:strawberry", "group:food_sugar", "x_farming:strawberry"}, + }, + replacements = {{"group:food_pot", pot }}, +}) + +minetest.register_craft({ + output = "sandwiches:strawberry_jam 5", + recipe = { + {"x_farming:strawberry", "x_farming:sugar", "x_farming:strawberry"}, + {"x_farming:sugar", "group:food_pot", "x_farming:sugar"}, + {"x_farming:strawberry", "x_farming:sugar", "x_farming:strawberry"}, + }, + replacements = {{"group:food_pot", pot }}, +}) diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..bac7224 --- /dev/null +++ b/mod.conf @@ -0,0 +1,8 @@ +name = sandwiches +depends = default, farming +optional_depends = flowers, mobs, mobs_animal, petz, animalia, moretrees, cacaotree, ethereal, bbq, cucina_vegana, bonemeal, xdecor, potted_farming, hunger_ng +author = Annalysa +version = 1.9 +release = 17426 +description = Add Sandwiches to your game! Choose between meat, vegetarian, jam and many more! +title = Sandwiches! diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..3e74d45 Binary files /dev/null and b/screenshot.png differ diff --git a/support.lua b/support.lua new file mode 100644 index 0000000..5ce9bd1 --- /dev/null +++ b/support.lua @@ -0,0 +1,18 @@ + +if minetest.registered_craftitems["ethereal:strawberry"] and minetest.registered_nodes["ethereal:banana"] then + dofile(sandwiches.path .. "/luas/ethereal.lua") +end + +if minetest.get_modpath ("moretrees") then + dofile(sandwiches.path .. "/luas/nutella.lua") +end + +if minetest.get_modpath ("cucina_vegana") then + dofile(sandwiches.path .. "/luas/cucina_vegana.lua") + minetest.register_alias("sandwiches:peanuts","cucina_vegana:peanut") + minetest.register_alias("sandwiches:peanut_seed","cucina_vegana:peanut_seed") +end + +if minetest.get_modpath ("bbq") then + dofile(sandwiches.path .. "/luas/bbq.lua") +end \ No newline at end of file diff --git a/textures/.blt_sandwich.png-autosave.kra b/textures/.blt_sandwich.png-autosave.kra new file mode 100644 index 0000000..356d6a2 Binary files /dev/null and b/textures/.blt_sandwich.png-autosave.kra differ diff --git a/textures/.garlic_bread_slice.kra-autosave.kra b/textures/.garlic_bread_slice.kra-autosave.kra new file mode 100644 index 0000000..72fa164 Binary files /dev/null and b/textures/.garlic_bread_slice.kra-autosave.kra differ diff --git a/textures/.ham_sandwich.png-autosave.kra b/textures/.ham_sandwich.png-autosave.kra new file mode 100644 index 0000000..3d5ae37 Binary files /dev/null and b/textures/.ham_sandwich.png-autosave.kra differ diff --git a/textures/.tasty_garlic_sandwich.png-autosave.kra b/textures/.tasty_garlic_sandwich.png-autosave.kra new file mode 100644 index 0000000..3181cc6 Binary files /dev/null and b/textures/.tasty_garlic_sandwich.png-autosave.kra differ diff --git a/textures/american_sandwich.png b/textures/american_sandwich.png new file mode 100644 index 0000000..473e8a2 Binary files /dev/null and b/textures/american_sandwich.png differ diff --git a/textures/bacon_sandwich.png b/textures/bacon_sandwich.png new file mode 100644 index 0000000..03f9873 Binary files /dev/null and b/textures/bacon_sandwich.png differ diff --git a/textures/baking_tray.png~ b/textures/baking_tray.png~ new file mode 100644 index 0000000..458b2e6 Binary files /dev/null and b/textures/baking_tray.png~ differ diff --git a/textures/banana_and_chocolate_sandwich.png b/textures/banana_and_chocolate_sandwich.png new file mode 100644 index 0000000..cb927e5 Binary files /dev/null and b/textures/banana_and_chocolate_sandwich.png differ diff --git a/textures/blackberry_jam.png~ b/textures/blackberry_jam.png~ new file mode 100644 index 0000000..a4ab02d Binary files /dev/null and b/textures/blackberry_jam.png~ differ diff --git a/textures/blackberry_jam_sandwich.png b/textures/blackberry_jam_sandwich.png new file mode 100644 index 0000000..dd0f074 Binary files /dev/null and b/textures/blackberry_jam_sandwich.png differ diff --git a/textures/blackberry_jam_sandwich.png~ b/textures/blackberry_jam_sandwich.png~ new file mode 100644 index 0000000..a14034a Binary files /dev/null and b/textures/blackberry_jam_sandwich.png~ differ diff --git a/textures/blt_sandwich.png b/textures/blt_sandwich.png new file mode 100644 index 0000000..0be3951 Binary files /dev/null and b/textures/blt_sandwich.png differ diff --git a/textures/blueberry_jam.png b/textures/blueberry_jam.png new file mode 100644 index 0000000..13e3f77 Binary files /dev/null and b/textures/blueberry_jam.png differ diff --git a/textures/blueberry_jam.png~ b/textures/blueberry_jam.png~ new file mode 100644 index 0000000..a8c8460 Binary files /dev/null and b/textures/blueberry_jam.png~ differ diff --git a/textures/blueberry_jam_sandwich.png b/textures/blueberry_jam_sandwich.png new file mode 100644 index 0000000..4e1b40f Binary files /dev/null and b/textures/blueberry_jam_sandwich.png differ diff --git a/textures/bread_crumbs.png b/textures/bread_crumbs.png new file mode 100644 index 0000000..fa15061 Binary files /dev/null and b/textures/bread_crumbs.png differ diff --git a/textures/bread_slice.png b/textures/bread_slice.png new file mode 100644 index 0000000..a170337 Binary files /dev/null and b/textures/bread_slice.png differ diff --git a/textures/bread_slice.png~ b/textures/bread_slice.png~ new file mode 100644 index 0000000..36c0e4b Binary files /dev/null and b/textures/bread_slice.png~ differ diff --git a/textures/butter_carrots.png b/textures/butter_carrots.png new file mode 100644 index 0000000..b7e12fc Binary files /dev/null and b/textures/butter_carrots.png differ diff --git a/textures/caramelized_onion.png b/textures/caramelized_onion.png new file mode 100644 index 0000000..7417c22 Binary files /dev/null and b/textures/caramelized_onion.png differ diff --git a/textures/cheese_sandwich.png~ b/textures/cheese_sandwich.png~ new file mode 100644 index 0000000..a1296e2 Binary files /dev/null and b/textures/cheese_sandwich.png~ differ diff --git a/textures/cheesy_sandwich.png b/textures/cheesy_sandwich.png new file mode 100644 index 0000000..ed941f3 Binary files /dev/null and b/textures/cheesy_sandwich.png differ diff --git a/textures/chicken_strips.png b/textures/chicken_strips.png new file mode 100644 index 0000000..7fd1fde Binary files /dev/null and b/textures/chicken_strips.png differ diff --git a/textures/classic_sandwich.png b/textures/classic_sandwich.png new file mode 100644 index 0000000..4c350dd Binary files /dev/null and b/textures/classic_sandwich.png differ diff --git a/textures/classic_vegan_sandwich.png b/textures/classic_vegan_sandwich.png new file mode 100644 index 0000000..6ca1d1e Binary files /dev/null and b/textures/classic_vegan_sandwich.png differ diff --git a/textures/club_sandwich.png b/textures/club_sandwich.png new file mode 100644 index 0000000..7dd2716 Binary files /dev/null and b/textures/club_sandwich.png differ diff --git a/textures/cooking_pot.png b/textures/cooking_pot.png new file mode 100644 index 0000000..1e392a5 Binary files /dev/null and b/textures/cooking_pot.png differ diff --git a/textures/cooking_pot.png~ b/textures/cooking_pot.png~ new file mode 100644 index 0000000..09c6e6d Binary files /dev/null and b/textures/cooking_pot.png~ differ diff --git a/textures/crispy_bacon.png b/textures/crispy_bacon.png new file mode 100644 index 0000000..60c79ab Binary files /dev/null and b/textures/crispy_bacon.png differ diff --git a/textures/croque_madame.png b/textures/croque_madame.png new file mode 100644 index 0000000..52306b6 Binary files /dev/null and b/textures/croque_madame.png differ diff --git a/textures/croque_madame.png~ b/textures/croque_madame.png~ new file mode 100644 index 0000000..3a37224 Binary files /dev/null and b/textures/croque_madame.png~ differ diff --git a/textures/croque_monsier.png~ b/textures/croque_monsier.png~ new file mode 100644 index 0000000..33c845d Binary files /dev/null and b/textures/croque_monsier.png~ differ diff --git a/textures/croque_monsieur.png b/textures/croque_monsieur.png new file mode 100644 index 0000000..b89d14b Binary files /dev/null and b/textures/croque_monsieur.png differ diff --git a/textures/croque_monsieur.png.kra~ b/textures/croque_monsieur.png.kra~ new file mode 100644 index 0000000..8f88345 Binary files /dev/null and b/textures/croque_monsieur.png.kra~ differ diff --git a/textures/croque_monsieur.png~ b/textures/croque_monsieur.png~ new file mode 100644 index 0000000..be74b78 Binary files /dev/null and b/textures/croque_monsieur.png~ differ diff --git a/textures/cutting_board.png b/textures/cutting_board.png new file mode 100644 index 0000000..4828738 Binary files /dev/null and b/textures/cutting_board.png differ diff --git a/textures/cutting_board.png~ b/textures/cutting_board.png~ new file mode 100644 index 0000000..b4c7299 Binary files /dev/null and b/textures/cutting_board.png~ differ diff --git a/textures/egg_and_bacon_sandwich.png b/textures/egg_and_bacon_sandwich.png new file mode 100644 index 0000000..fdc1ee1 Binary files /dev/null and b/textures/egg_and_bacon_sandwich.png differ diff --git a/textures/elvis_sandwich.png b/textures/elvis_sandwich.png new file mode 100644 index 0000000..74b9a27 Binary files /dev/null and b/textures/elvis_sandwich.png differ diff --git a/textures/enhanced_bacon_sandwich.png b/textures/enhanced_bacon_sandwich.png new file mode 100644 index 0000000..b31183b Binary files /dev/null and b/textures/enhanced_bacon_sandwich.png differ diff --git a/textures/enhanced_bacon_sandwich.png~ b/textures/enhanced_bacon_sandwich.png~ new file mode 100644 index 0000000..cc2ceeb Binary files /dev/null and b/textures/enhanced_bacon_sandwich.png~ differ diff --git a/textures/fairy_bread.png b/textures/fairy_bread.png new file mode 100644 index 0000000..75c9ef6 Binary files /dev/null and b/textures/fairy_bread.png differ diff --git a/textures/fairy_bread.png~ b/textures/fairy_bread.png~ new file mode 100644 index 0000000..9c4bcdd Binary files /dev/null and b/textures/fairy_bread.png~ differ diff --git a/textures/fancy_garlic_sandwich.png b/textures/fancy_garlic_sandwich.png new file mode 100644 index 0000000..81f1fc3 Binary files /dev/null and b/textures/fancy_garlic_sandwich.png differ diff --git a/textures/fancy_garlic_sandwich.png~ b/textures/fancy_garlic_sandwich.png~ new file mode 100644 index 0000000..a303856 Binary files /dev/null and b/textures/fancy_garlic_sandwich.png~ differ diff --git a/textures/garlic_bread_slice.kra~ b/textures/garlic_bread_slice.kra~ new file mode 100644 index 0000000..490b754 Binary files /dev/null and b/textures/garlic_bread_slice.kra~ differ diff --git a/textures/garlic_bread_slice.png~ b/textures/garlic_bread_slice.png~ new file mode 100644 index 0000000..1fb9282 Binary files /dev/null and b/textures/garlic_bread_slice.png~ differ diff --git a/textures/gourmet_meat_sandwich.png b/textures/gourmet_meat_sandwich.png new file mode 100644 index 0000000..d60d308 Binary files /dev/null and b/textures/gourmet_meat_sandwich.png differ diff --git a/textures/gourmet_vegan_sandwich.png b/textures/gourmet_vegan_sandwich.png new file mode 100644 index 0000000..0392793 Binary files /dev/null and b/textures/gourmet_vegan_sandwich.png differ diff --git a/textures/grape_jelly.png b/textures/grape_jelly.png new file mode 100644 index 0000000..0c6b4ed Binary files /dev/null and b/textures/grape_jelly.png differ diff --git a/textures/grape_jelly.png~ b/textures/grape_jelly.png~ new file mode 100644 index 0000000..c7efc31 Binary files /dev/null and b/textures/grape_jelly.png~ differ diff --git a/textures/grape_jelly_sandwich.png b/textures/grape_jelly_sandwich.png new file mode 100644 index 0000000..5a6777b Binary files /dev/null and b/textures/grape_jelly_sandwich.png differ diff --git a/textures/grilled_hot_cheesy_sandwich.png b/textures/grilled_hot_cheesy_sandwich.png new file mode 100644 index 0000000..619b3ec Binary files /dev/null and b/textures/grilled_hot_cheesy_sandwich.png differ diff --git a/textures/grilled_hot_cheesy_sandwich.png~ b/textures/grilled_hot_cheesy_sandwich.png~ new file mode 100644 index 0000000..a7bbed7 Binary files /dev/null and b/textures/grilled_hot_cheesy_sandwich.png~ differ diff --git a/textures/ham.png b/textures/ham.png new file mode 100644 index 0000000..f160462 Binary files /dev/null and b/textures/ham.png differ diff --git a/textures/ham_and_asparagus_sandwich.png b/textures/ham_and_asparagus_sandwich.png new file mode 100644 index 0000000..0347761 Binary files /dev/null and b/textures/ham_and_asparagus_sandwich.png differ diff --git a/textures/ham_sandwich.png b/textures/ham_sandwich.png new file mode 100644 index 0000000..57c7f0c Binary files /dev/null and b/textures/ham_sandwich.png differ diff --git a/textures/hamwich.png b/textures/hamwich.png new file mode 100644 index 0000000..81cd0f5 Binary files /dev/null and b/textures/hamwich.png differ diff --git a/textures/hot_ham_sandwich.png b/textures/hot_ham_sandwich.png new file mode 100644 index 0000000..4bb5570 Binary files /dev/null and b/textures/hot_ham_sandwich.png differ diff --git a/textures/hot_veggie_sandwich.png b/textures/hot_veggie_sandwich.png new file mode 100644 index 0000000..cdf4876 Binary files /dev/null and b/textures/hot_veggie_sandwich.png differ diff --git a/textures/italian_sandwich.png b/textures/italian_sandwich.png new file mode 100644 index 0000000..0f7fecf Binary files /dev/null and b/textures/italian_sandwich.png differ diff --git a/textures/jam_sandwich.png b/textures/jam_sandwich.png new file mode 100644 index 0000000..34e0e5a Binary files /dev/null and b/textures/jam_sandwich.png differ diff --git a/textures/jerky_sandwich.png b/textures/jerky_sandwich.png new file mode 100644 index 0000000..13fdb67 Binary files /dev/null and b/textures/jerky_sandwich.png differ diff --git a/textures/lox_sandwich.kra~ b/textures/lox_sandwich.kra~ new file mode 100644 index 0000000..95660dd Binary files /dev/null and b/textures/lox_sandwich.kra~ differ diff --git a/textures/lox_sandwich.png b/textures/lox_sandwich.png new file mode 100644 index 0000000..383ab4b Binary files /dev/null and b/textures/lox_sandwich.png differ diff --git a/textures/lox_sandwich.png~ b/textures/lox_sandwich.png~ new file mode 100644 index 0000000..82a294d Binary files /dev/null and b/textures/lox_sandwich.png~ differ diff --git a/textures/marinated_chicken_sandwich.png b/textures/marinated_chicken_sandwich.png new file mode 100644 index 0000000..ca1ee8b Binary files /dev/null and b/textures/marinated_chicken_sandwich.png differ diff --git a/textures/marinated_chicken_sandwich.png~ b/textures/marinated_chicken_sandwich.png~ new file mode 100644 index 0000000..deef9e6 Binary files /dev/null and b/textures/marinated_chicken_sandwich.png~ differ diff --git a/textures/mixing_bowl.png b/textures/mixing_bowl.png new file mode 100644 index 0000000..197e39f Binary files /dev/null and b/textures/mixing_bowl.png differ diff --git a/textures/mortar_pestle.png b/textures/mortar_pestle.png new file mode 100644 index 0000000..75532c5 Binary files /dev/null and b/textures/mortar_pestle.png differ diff --git a/textures/multi_jam.png b/textures/multi_jam.png new file mode 100644 index 0000000..4b5469e Binary files /dev/null and b/textures/multi_jam.png differ diff --git a/textures/multi_jam.png~ b/textures/multi_jam.png~ new file mode 100644 index 0000000..0431e0a Binary files /dev/null and b/textures/multi_jam.png~ differ diff --git a/textures/noyella_block_bottom.png b/textures/noyella_block_bottom.png new file mode 100644 index 0000000..9401971 Binary files /dev/null and b/textures/noyella_block_bottom.png differ diff --git a/textures/noyella_block_bottom.png~ b/textures/noyella_block_bottom.png~ new file mode 100644 index 0000000..9784a90 Binary files /dev/null and b/textures/noyella_block_bottom.png~ differ diff --git a/textures/noyella_block_front.png b/textures/noyella_block_front.png new file mode 100644 index 0000000..d3c7446 Binary files /dev/null and b/textures/noyella_block_front.png differ diff --git a/textures/noyella_block_front.png~ b/textures/noyella_block_front.png~ new file mode 100644 index 0000000..e0ad16d Binary files /dev/null and b/textures/noyella_block_front.png~ differ diff --git a/textures/noyella_block_side.png b/textures/noyella_block_side.png new file mode 100644 index 0000000..60503ab Binary files /dev/null and b/textures/noyella_block_side.png differ diff --git a/textures/noyella_block_top.png b/textures/noyella_block_top.png new file mode 100644 index 0000000..442b8c5 Binary files /dev/null and b/textures/noyella_block_top.png differ diff --git a/textures/noyella_sandwich.png b/textures/noyella_sandwich.png new file mode 100644 index 0000000..88bfdcf Binary files /dev/null and b/textures/noyella_sandwich.png differ diff --git a/textures/noyella_spread.png b/textures/noyella_spread.png new file mode 100644 index 0000000..7d83197 Binary files /dev/null and b/textures/noyella_spread.png differ diff --git a/textures/pb_and_j_sandwich.png b/textures/pb_and_j_sandwich.png new file mode 100644 index 0000000..f66fd97 Binary files /dev/null and b/textures/pb_and_j_sandwich.png differ diff --git a/textures/peanut_butter.png b/textures/peanut_butter.png new file mode 100644 index 0000000..e2e3807 Binary files /dev/null and b/textures/peanut_butter.png differ diff --git a/textures/peanuts.png b/textures/peanuts.png new file mode 100644 index 0000000..4379734 Binary files /dev/null and b/textures/peanuts.png differ diff --git a/textures/po_boy_sandwich.png b/textures/po_boy_sandwich.png new file mode 100644 index 0000000..5cd8990 Binary files /dev/null and b/textures/po_boy_sandwich.png differ diff --git a/textures/po_boy_sandwich.png~ b/textures/po_boy_sandwich.png~ new file mode 100644 index 0000000..d92794f Binary files /dev/null and b/textures/po_boy_sandwich.png~ differ diff --git a/textures/raspberry_jam.png b/textures/raspberry_jam.png new file mode 100644 index 0000000..95e134c Binary files /dev/null and b/textures/raspberry_jam.png differ diff --git a/textures/raspberry_jam.png~ b/textures/raspberry_jam.png~ new file mode 100644 index 0000000..76a9340 Binary files /dev/null and b/textures/raspberry_jam.png~ differ diff --git a/textures/raspberry_jam_sandwich.png b/textures/raspberry_jam_sandwich.png new file mode 100644 index 0000000..c0938c1 Binary files /dev/null and b/textures/raspberry_jam_sandwich.png differ diff --git a/textures/rasperry_jam_sandwich.png b/textures/rasperry_jam_sandwich.png new file mode 100644 index 0000000..c0938c1 Binary files /dev/null and b/textures/rasperry_jam_sandwich.png differ diff --git a/textures/raw_bacon.png b/textures/raw_bacon.png new file mode 100644 index 0000000..e49d96d Binary files /dev/null and b/textures/raw_bacon.png differ diff --git a/textures/roasted_potatoes.png b/textures/roasted_potatoes.png new file mode 100644 index 0000000..868b3ea Binary files /dev/null and b/textures/roasted_potatoes.png differ diff --git a/textures/salmon_cooked.png~ b/textures/salmon_cooked.png~ new file mode 100644 index 0000000..ed90210 Binary files /dev/null and b/textures/salmon_cooked.png~ differ diff --git a/textures/sand_sandwich.png b/textures/sand_sandwich.png new file mode 100644 index 0000000..ac308fa Binary files /dev/null and b/textures/sand_sandwich.png differ diff --git a/textures/sandwiches_blackberry_jam.png b/textures/sandwiches_blackberry_jam.png new file mode 100644 index 0000000..bbb20b6 Binary files /dev/null and b/textures/sandwiches_blackberry_jam.png differ diff --git a/textures/sandwiches_blueberry_jam.png b/textures/sandwiches_blueberry_jam.png new file mode 100644 index 0000000..668f151 Binary files /dev/null and b/textures/sandwiches_blueberry_jam.png differ diff --git a/textures/sandwiches_blueberry_jam.png~ b/textures/sandwiches_blueberry_jam.png~ new file mode 100644 index 0000000..668f151 Binary files /dev/null and b/textures/sandwiches_blueberry_jam.png~ differ diff --git a/textures/sandwiches_bread_slice.png b/textures/sandwiches_bread_slice.png new file mode 100644 index 0000000..79dc732 Binary files /dev/null and b/textures/sandwiches_bread_slice.png differ diff --git a/textures/sandwiches_chicken_strips.png b/textures/sandwiches_chicken_strips.png new file mode 100644 index 0000000..7fd1fde Binary files /dev/null and b/textures/sandwiches_chicken_strips.png differ diff --git a/textures/sandwiches_crispy_bacon.png b/textures/sandwiches_crispy_bacon.png new file mode 100644 index 0000000..60c79ab Binary files /dev/null and b/textures/sandwiches_crispy_bacon.png differ diff --git a/textures/sandwiches_garlic_bread_slice.png b/textures/sandwiches_garlic_bread_slice.png new file mode 100644 index 0000000..35214d3 Binary files /dev/null and b/textures/sandwiches_garlic_bread_slice.png differ diff --git a/textures/sandwiches_grape_jelly.png b/textures/sandwiches_grape_jelly.png new file mode 100644 index 0000000..0b31d58 Binary files /dev/null and b/textures/sandwiches_grape_jelly.png differ diff --git a/textures/sandwiches_ham.png b/textures/sandwiches_ham.png new file mode 100644 index 0000000..f160462 Binary files /dev/null and b/textures/sandwiches_ham.png differ diff --git a/textures/sandwiches_multi_jam.png b/textures/sandwiches_multi_jam.png new file mode 100644 index 0000000..7711130 Binary files /dev/null and b/textures/sandwiches_multi_jam.png differ diff --git a/textures/sandwiches_peanut.png b/textures/sandwiches_peanut.png new file mode 100644 index 0000000..faa23d7 Binary files /dev/null and b/textures/sandwiches_peanut.png differ diff --git a/textures/sandwiches_peanut.png~ b/textures/sandwiches_peanut.png~ new file mode 100644 index 0000000..2d1f73d Binary files /dev/null and b/textures/sandwiches_peanut.png~ differ diff --git a/textures/sandwiches_peanut_1.png b/textures/sandwiches_peanut_1.png new file mode 100644 index 0000000..4831ca8 Binary files /dev/null and b/textures/sandwiches_peanut_1.png differ diff --git a/textures/sandwiches_peanut_1.png~ b/textures/sandwiches_peanut_1.png~ new file mode 100644 index 0000000..1c23cad Binary files /dev/null and b/textures/sandwiches_peanut_1.png~ differ diff --git a/textures/sandwiches_peanut_2.png b/textures/sandwiches_peanut_2.png new file mode 100644 index 0000000..704dc4d Binary files /dev/null and b/textures/sandwiches_peanut_2.png differ diff --git a/textures/sandwiches_peanut_3.png b/textures/sandwiches_peanut_3.png new file mode 100644 index 0000000..b3e1ea7 Binary files /dev/null and b/textures/sandwiches_peanut_3.png differ diff --git a/textures/sandwiches_peanut_4.png b/textures/sandwiches_peanut_4.png new file mode 100644 index 0000000..90b4568 Binary files /dev/null and b/textures/sandwiches_peanut_4.png differ diff --git a/textures/sandwiches_peanut_5.png b/textures/sandwiches_peanut_5.png new file mode 100644 index 0000000..7ea99e9 Binary files /dev/null and b/textures/sandwiches_peanut_5.png differ diff --git a/textures/sandwiches_peanut_6.png b/textures/sandwiches_peanut_6.png new file mode 100644 index 0000000..bf0e865 Binary files /dev/null and b/textures/sandwiches_peanut_6.png differ diff --git a/textures/sandwiches_peanut_butter.png b/textures/sandwiches_peanut_butter.png new file mode 100644 index 0000000..e2e3807 Binary files /dev/null and b/textures/sandwiches_peanut_butter.png differ diff --git a/textures/sandwiches_peanuts.png b/textures/sandwiches_peanuts.png new file mode 100644 index 0000000..faa23d7 Binary files /dev/null and b/textures/sandwiches_peanuts.png differ diff --git a/textures/sandwiches_raspberry_jam.png b/textures/sandwiches_raspberry_jam.png new file mode 100644 index 0000000..34e3b33 Binary files /dev/null and b/textures/sandwiches_raspberry_jam.png differ diff --git a/textures/sandwiches_raw_bacon.png b/textures/sandwiches_raw_bacon.png new file mode 100644 index 0000000..e49d96d Binary files /dev/null and b/textures/sandwiches_raw_bacon.png differ diff --git a/textures/sandwiches_salmon_cooked.png b/textures/sandwiches_salmon_cooked.png new file mode 100644 index 0000000..87cfc36 Binary files /dev/null and b/textures/sandwiches_salmon_cooked.png differ diff --git a/textures/sandwiches_seed_peanut.png b/textures/sandwiches_seed_peanut.png new file mode 100644 index 0000000..bbffdbe Binary files /dev/null and b/textures/sandwiches_seed_peanut.png differ diff --git a/textures/sandwiches_seed_peanut.png~ b/textures/sandwiches_seed_peanut.png~ new file mode 100644 index 0000000..03c8353 Binary files /dev/null and b/textures/sandwiches_seed_peanut.png~ differ diff --git a/textures/sandwiches_strawberry_jam.png b/textures/sandwiches_strawberry_jam.png new file mode 100644 index 0000000..2927314 Binary files /dev/null and b/textures/sandwiches_strawberry_jam.png differ diff --git a/textures/sandwiches_trout_cooked.png b/textures/sandwiches_trout_cooked.png new file mode 100644 index 0000000..c4d1e62 Binary files /dev/null and b/textures/sandwiches_trout_cooked.png differ diff --git a/textures/seed_peanut.png b/textures/seed_peanut.png new file mode 100644 index 0000000..bbffdbe Binary files /dev/null and b/textures/seed_peanut.png differ diff --git a/textures/seed_peanuts.png b/textures/seed_peanuts.png new file mode 100644 index 0000000..85076da Binary files /dev/null and b/textures/seed_peanuts.png differ diff --git a/textures/skillet.png b/textures/skillet.png new file mode 100644 index 0000000..e6105f7 Binary files /dev/null and b/textures/skillet.png differ diff --git a/textures/skillet.png~ b/textures/skillet.png~ new file mode 100644 index 0000000..29a8538 Binary files /dev/null and b/textures/skillet.png~ differ diff --git a/textures/sprinkles.png~ b/textures/sprinkles.png~ new file mode 100644 index 0000000..eb47e62 Binary files /dev/null and b/textures/sprinkles.png~ differ diff --git a/textures/strawberry_jam.png b/textures/strawberry_jam.png new file mode 100644 index 0000000..ca4c101 Binary files /dev/null and b/textures/strawberry_jam.png differ diff --git a/textures/strawberry_jam.png~ b/textures/strawberry_jam.png~ new file mode 100644 index 0000000..184c6d9 Binary files /dev/null and b/textures/strawberry_jam.png~ differ diff --git a/textures/strawberry_jam_sandwich.png b/textures/strawberry_jam_sandwich.png new file mode 100644 index 0000000..210f73a Binary files /dev/null and b/textures/strawberry_jam_sandwich.png differ diff --git a/textures/sugar_sprinkles.png b/textures/sugar_sprinkles.png new file mode 100644 index 0000000..eb47e62 Binary files /dev/null and b/textures/sugar_sprinkles.png differ diff --git a/textures/sweet_bread_pudding.png b/textures/sweet_bread_pudding.png new file mode 100644 index 0000000..aca7597 Binary files /dev/null and b/textures/sweet_bread_pudding.png differ diff --git a/textures/sweet_bread_pudding_raw.png b/textures/sweet_bread_pudding_raw.png new file mode 100644 index 0000000..74458a0 Binary files /dev/null and b/textures/sweet_bread_pudding_raw.png differ diff --git a/textures/sweet_sandwich.png b/textures/sweet_sandwich.png new file mode 100644 index 0000000..383ccd6 Binary files /dev/null and b/textures/sweet_sandwich.png differ diff --git a/textures/tabasco.png b/textures/tabasco.png new file mode 100644 index 0000000..27662d2 Binary files /dev/null and b/textures/tabasco.png differ diff --git a/textures/tasty_asparagus_sandwich.png b/textures/tasty_asparagus_sandwich.png new file mode 100644 index 0000000..03e179c Binary files /dev/null and b/textures/tasty_asparagus_sandwich.png differ diff --git a/textures/tasty_bacon_sandwich.png b/textures/tasty_bacon_sandwich.png new file mode 100644 index 0000000..61d63f2 Binary files /dev/null and b/textures/tasty_bacon_sandwich.png differ diff --git a/textures/tasty_chicken_sandwich.png b/textures/tasty_chicken_sandwich.png new file mode 100644 index 0000000..8d04a61 Binary files /dev/null and b/textures/tasty_chicken_sandwich.png differ diff --git a/textures/tasty_garlic_sandwich.kra~ b/textures/tasty_garlic_sandwich.kra~ new file mode 100644 index 0000000..a91461d Binary files /dev/null and b/textures/tasty_garlic_sandwich.kra~ differ diff --git a/textures/tasty_garlic_sandwich.png b/textures/tasty_garlic_sandwich.png new file mode 100644 index 0000000..d528c86 Binary files /dev/null and b/textures/tasty_garlic_sandwich.png differ diff --git a/textures/tasty_garlic_sandwich.png~ b/textures/tasty_garlic_sandwich.png~ new file mode 100644 index 0000000..7cffd56 Binary files /dev/null and b/textures/tasty_garlic_sandwich.png~ differ diff --git a/textures/tasty_ham_sandwich.png b/textures/tasty_ham_sandwich.png new file mode 100644 index 0000000..aa9da7c Binary files /dev/null and b/textures/tasty_ham_sandwich.png differ diff --git a/textures/tasty_meat_sandwich.png b/textures/tasty_meat_sandwich.png new file mode 100644 index 0000000..aa9da7c Binary files /dev/null and b/textures/tasty_meat_sandwich.png differ diff --git a/textures/tasty_tofu_sandwich.png b/textures/tasty_tofu_sandwich.png new file mode 100644 index 0000000..f77098f Binary files /dev/null and b/textures/tasty_tofu_sandwich.png differ diff --git a/textures/tasty_veggie_sandwich.png b/textures/tasty_veggie_sandwich.png new file mode 100644 index 0000000..ed65d6e Binary files /dev/null and b/textures/tasty_veggie_sandwich.png differ diff --git a/textures/tofu_sandwich.png b/textures/tofu_sandwich.png new file mode 100644 index 0000000..60ffd51 Binary files /dev/null and b/textures/tofu_sandwich.png differ diff --git a/textures/trifolat_mushrooms.png b/textures/trifolat_mushrooms.png new file mode 100644 index 0000000..90d84fe Binary files /dev/null and b/textures/trifolat_mushrooms.png differ diff --git a/textures/trifolat_mushrooms.png~ b/textures/trifolat_mushrooms.png~ new file mode 100644 index 0000000..af1d6f2 Binary files /dev/null and b/textures/trifolat_mushrooms.png~ differ diff --git a/textures/triple_mega_sandwich.png b/textures/triple_mega_sandwich.png new file mode 100644 index 0000000..2f8722d Binary files /dev/null and b/textures/triple_mega_sandwich.png differ diff --git a/textures/trout_cooked.png~ b/textures/trout_cooked.png~ new file mode 100644 index 0000000..8713ecb Binary files /dev/null and b/textures/trout_cooked.png~ differ diff --git a/textures/trout_sandwich.png b/textures/trout_sandwich.png new file mode 100644 index 0000000..628cd40 Binary files /dev/null and b/textures/trout_sandwich.png differ diff --git a/textures/trout_sandwich.png~ b/textures/trout_sandwich.png~ new file mode 100644 index 0000000..628cd40 Binary files /dev/null and b/textures/trout_sandwich.png~ differ diff --git a/textures/veggie_sandwich.png b/textures/veggie_sandwich.png new file mode 100644 index 0000000..cdf703d Binary files /dev/null and b/textures/veggie_sandwich.png differ diff --git a/version1-7update.png b/version1-7update.png new file mode 100644 index 0000000..e4caf55 Binary files /dev/null and b/version1-7update.png differ diff --git a/version1-9update.png b/version1-9update.png new file mode 100644 index 0000000..9f34751 Binary files /dev/null and b/version1-9update.png differ