From 30f3b6d7bc3415e37bb4bfb53ad3667dedab42c9 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 16 Nov 2014 12:48:24 +0000 Subject: Move stuff around --- api.lua | 155 ----------- depends.txt | 17 -- food/description.txt | 1 + food/init.lua | 155 +++++++++++ food_basic/README.md | 42 +++ food_basic/depends.txt | 18 ++ food_basic/description.txt | 1 + food_basic/ingredients.lua | 285 ++++++++++++++++++++ food_basic/init.lua | 288 +++++++++++++++++++++ food_basic/locale/de.txt | 37 +++ food_basic/locale/template.txt | 40 +++ food_basic/support.lua | 81 ++++++ food_basic/textures/food_apple_juice.png | Bin 0 -> 729 bytes food_basic/textures/food_baked_potato.png | Bin 0 -> 321 bytes food_basic/textures/food_baking_bread_slice.png | Bin 0 -> 437 bytes food_basic/textures/food_baking_bun_mix.png | Bin 0 -> 474 bytes food_basic/textures/food_baking_dough.png | Bin 0 -> 343 bytes food_basic/textures/food_bowl.png | Bin 0 -> 338 bytes food_basic/textures/food_butter.png | Bin 0 -> 476 bytes food_basic/textures/food_cactus_juice.png | Bin 0 -> 867 bytes food_basic/textures/food_cake_carrot_texture.png | Bin 0 -> 786 bytes .../textures/food_cake_carrot_texture_side.png | Bin 0 -> 780 bytes food_basic/textures/food_cake_choco_texture.png | Bin 0 -> 712 bytes .../textures/food_cake_choco_texture_side.png | Bin 0 -> 709 bytes food_basic/textures/food_cake_texture.png | Bin 0 -> 758 bytes food_basic/textures/food_cake_texture_side.png | Bin 0 -> 758 bytes food_basic/textures/food_cakemix_carrot.png | Bin 0 -> 335 bytes food_basic/textures/food_cakemix_choco.png | Bin 0 -> 331 bytes food_basic/textures/food_cakemix_plain.png | Bin 0 -> 327 bytes food_basic/textures/food_carrot.png | Bin 0 -> 575 bytes food_basic/textures/food_cheese.png | Bin 0 -> 487 bytes food_basic/textures/food_chocolate_powder.png | Bin 0 -> 510 bytes food_basic/textures/food_cocoa.png | Bin 0 -> 184 bytes food_basic/textures/food_dark_chocolate.png | Bin 0 -> 480 bytes food_basic/textures/food_egg.png | Bin 0 -> 672 bytes food_basic/textures/food_flour.png | Bin 0 -> 378 bytes food_basic/textures/food_meat.png | Bin 0 -> 624 bytes food_basic/textures/food_meat_raw.png | Bin 0 -> 426 bytes food_basic/textures/food_milk.png | Bin 0 -> 559 bytes food_basic/textures/food_milk_chocolate.png | Bin 0 -> 479 bytes food_basic/textures/food_orange_juice.png | Bin 0 -> 620 bytes food_basic/textures/food_pasta.png | Bin 0 -> 310 bytes food_basic/textures/food_pasta_bake.png | Bin 0 -> 366 bytes food_basic/textures/food_pasta_bake_raw.png | Bin 0 -> 324 bytes food_basic/textures/food_potato.png | Bin 0 -> 252 bytes food_basic/textures/food_rainbow_juice.png | Bin 0 -> 396 bytes food_basic/textures/food_soup_chicken.png | Bin 0 -> 355 bytes food_basic/textures/food_soup_chicken_raw.png | Bin 0 -> 325 bytes food_basic/textures/food_soup_tomato.png | Bin 0 -> 1216 bytes food_basic/textures/food_soup_tomato_raw.png | Bin 0 -> 321 bytes food_basic/textures/food_strawberry.png | Bin 0 -> 250 bytes food_basic/textures/food_sugar.png | Bin 0 -> 4425 bytes food_basic/textures/food_tomato.png | Bin 0 -> 338 bytes food_basic/textures/food_wheat.png | Bin 0 -> 566 bytes ingredients.lua | 285 -------------------- init.lua | 288 --------------------- locale/de.txt | 37 --- locale/template.txt | 40 --- modpack.txt | 0 support.lua | 81 ------ textures/food_apple_juice.png | Bin 729 -> 0 bytes textures/food_baked_potato.png | Bin 321 -> 0 bytes textures/food_baking_bread_slice.png | Bin 437 -> 0 bytes textures/food_baking_bun_mix.png | Bin 474 -> 0 bytes textures/food_baking_dough.png | Bin 343 -> 0 bytes textures/food_bowl.png | Bin 338 -> 0 bytes textures/food_butter.png | Bin 476 -> 0 bytes textures/food_cactus_juice.png | Bin 867 -> 0 bytes textures/food_cake_carrot_texture.png | Bin 786 -> 0 bytes textures/food_cake_carrot_texture_side.png | Bin 780 -> 0 bytes textures/food_cake_choco_texture.png | Bin 712 -> 0 bytes textures/food_cake_choco_texture_side.png | Bin 709 -> 0 bytes textures/food_cake_texture.png | Bin 758 -> 0 bytes textures/food_cake_texture_side.png | Bin 758 -> 0 bytes textures/food_cakemix_carrot.png | Bin 335 -> 0 bytes textures/food_cakemix_choco.png | Bin 331 -> 0 bytes textures/food_cakemix_plain.png | Bin 327 -> 0 bytes textures/food_carrot.png | Bin 575 -> 0 bytes textures/food_cheese.png | Bin 487 -> 0 bytes textures/food_chocolate_powder.png | Bin 510 -> 0 bytes textures/food_cocoa.png | Bin 184 -> 0 bytes textures/food_dark_chocolate.png | Bin 480 -> 0 bytes textures/food_egg.png | Bin 672 -> 0 bytes textures/food_flour.png | Bin 378 -> 0 bytes textures/food_meat.png | Bin 624 -> 0 bytes textures/food_meat_raw.png | Bin 426 -> 0 bytes textures/food_milk.png | Bin 559 -> 0 bytes textures/food_milk_chocolate.png | Bin 479 -> 0 bytes textures/food_orange_juice.png | Bin 620 -> 0 bytes textures/food_pasta.png | Bin 310 -> 0 bytes textures/food_pasta_bake.png | Bin 366 -> 0 bytes textures/food_pasta_bake_raw.png | Bin 324 -> 0 bytes textures/food_potato.png | Bin 252 -> 0 bytes textures/food_rainbow_juice.png | Bin 396 -> 0 bytes textures/food_soup_chicken.png | Bin 355 -> 0 bytes textures/food_soup_chicken_raw.png | Bin 325 -> 0 bytes textures/food_soup_tomato.png | Bin 1216 -> 0 bytes textures/food_soup_tomato_raw.png | Bin 321 -> 0 bytes textures/food_strawberry.png | Bin 250 -> 0 bytes textures/food_sugar.png | Bin 4425 -> 0 bytes textures/food_tomato.png | Bin 338 -> 0 bytes textures/food_wheat.png | Bin 566 -> 0 bytes 102 files changed, 948 insertions(+), 903 deletions(-) delete mode 100644 api.lua delete mode 100644 depends.txt create mode 100644 food/description.txt create mode 100644 food/init.lua create mode 100644 food_basic/README.md create mode 100644 food_basic/depends.txt create mode 100644 food_basic/description.txt create mode 100644 food_basic/ingredients.lua create mode 100644 food_basic/init.lua create mode 100644 food_basic/locale/de.txt create mode 100644 food_basic/locale/template.txt create mode 100644 food_basic/support.lua create mode 100644 food_basic/textures/food_apple_juice.png create mode 100644 food_basic/textures/food_baked_potato.png create mode 100644 food_basic/textures/food_baking_bread_slice.png create mode 100644 food_basic/textures/food_baking_bun_mix.png create mode 100644 food_basic/textures/food_baking_dough.png create mode 100644 food_basic/textures/food_bowl.png create mode 100644 food_basic/textures/food_butter.png create mode 100644 food_basic/textures/food_cactus_juice.png create mode 100644 food_basic/textures/food_cake_carrot_texture.png create mode 100644 food_basic/textures/food_cake_carrot_texture_side.png create mode 100644 food_basic/textures/food_cake_choco_texture.png create mode 100644 food_basic/textures/food_cake_choco_texture_side.png create mode 100644 food_basic/textures/food_cake_texture.png create mode 100644 food_basic/textures/food_cake_texture_side.png create mode 100644 food_basic/textures/food_cakemix_carrot.png create mode 100644 food_basic/textures/food_cakemix_choco.png create mode 100644 food_basic/textures/food_cakemix_plain.png create mode 100644 food_basic/textures/food_carrot.png create mode 100644 food_basic/textures/food_cheese.png create mode 100644 food_basic/textures/food_chocolate_powder.png create mode 100644 food_basic/textures/food_cocoa.png create mode 100644 food_basic/textures/food_dark_chocolate.png create mode 100644 food_basic/textures/food_egg.png create mode 100644 food_basic/textures/food_flour.png create mode 100644 food_basic/textures/food_meat.png create mode 100644 food_basic/textures/food_meat_raw.png create mode 100644 food_basic/textures/food_milk.png create mode 100644 food_basic/textures/food_milk_chocolate.png create mode 100644 food_basic/textures/food_orange_juice.png create mode 100644 food_basic/textures/food_pasta.png create mode 100644 food_basic/textures/food_pasta_bake.png create mode 100644 food_basic/textures/food_pasta_bake_raw.png create mode 100644 food_basic/textures/food_potato.png create mode 100644 food_basic/textures/food_rainbow_juice.png create mode 100644 food_basic/textures/food_soup_chicken.png create mode 100644 food_basic/textures/food_soup_chicken_raw.png create mode 100644 food_basic/textures/food_soup_tomato.png create mode 100644 food_basic/textures/food_soup_tomato_raw.png create mode 100644 food_basic/textures/food_strawberry.png create mode 100644 food_basic/textures/food_sugar.png create mode 100644 food_basic/textures/food_tomato.png create mode 100644 food_basic/textures/food_wheat.png delete mode 100644 ingredients.lua delete mode 100644 init.lua delete mode 100644 locale/de.txt delete mode 100644 locale/template.txt create mode 100644 modpack.txt delete mode 100644 support.lua delete mode 100644 textures/food_apple_juice.png delete mode 100644 textures/food_baked_potato.png delete mode 100644 textures/food_baking_bread_slice.png delete mode 100644 textures/food_baking_bun_mix.png delete mode 100644 textures/food_baking_dough.png delete mode 100644 textures/food_bowl.png delete mode 100644 textures/food_butter.png delete mode 100644 textures/food_cactus_juice.png delete mode 100644 textures/food_cake_carrot_texture.png delete mode 100644 textures/food_cake_carrot_texture_side.png delete mode 100644 textures/food_cake_choco_texture.png delete mode 100644 textures/food_cake_choco_texture_side.png delete mode 100644 textures/food_cake_texture.png delete mode 100644 textures/food_cake_texture_side.png delete mode 100644 textures/food_cakemix_carrot.png delete mode 100644 textures/food_cakemix_choco.png delete mode 100644 textures/food_cakemix_plain.png delete mode 100644 textures/food_carrot.png delete mode 100644 textures/food_cheese.png delete mode 100644 textures/food_chocolate_powder.png delete mode 100644 textures/food_cocoa.png delete mode 100644 textures/food_dark_chocolate.png delete mode 100644 textures/food_egg.png delete mode 100644 textures/food_flour.png delete mode 100644 textures/food_meat.png delete mode 100644 textures/food_meat_raw.png delete mode 100644 textures/food_milk.png delete mode 100644 textures/food_milk_chocolate.png delete mode 100644 textures/food_orange_juice.png delete mode 100644 textures/food_pasta.png delete mode 100644 textures/food_pasta_bake.png delete mode 100644 textures/food_pasta_bake_raw.png delete mode 100644 textures/food_potato.png delete mode 100644 textures/food_rainbow_juice.png delete mode 100644 textures/food_soup_chicken.png delete mode 100644 textures/food_soup_chicken_raw.png delete mode 100644 textures/food_soup_tomato.png delete mode 100644 textures/food_soup_tomato_raw.png delete mode 100644 textures/food_strawberry.png delete mode 100644 textures/food_sugar.png delete mode 100644 textures/food_tomato.png delete mode 100644 textures/food_wheat.png diff --git a/api.lua b/api.lua deleted file mode 100644 index 19d019f..0000000 --- a/api.lua +++ /dev/null @@ -1,155 +0,0 @@ --- FOOD MOD --- A mod written by rubenwardy that adds --- food to the minetest game --- ===================================== --- >> food/api.lua --- The supporting api for the mod --- ===================================== - --- Boilerplate to support localized strings if intllib mod is installed. -S = 0 -if (intllib) then - dofile(minetest.get_modpath("intllib").."/intllib.lua") - S = intllib.Getter(minetest.get_current_modname()) -else - S = function ( s ) return s end -end - -food = { - modules = {}, - disabled_modules = {}, - debug = false, - version = 2.3 -} - --- Checks for external content, and adds support -function food.support(group, item) - if type(group) == "table" then - for i = 1, #group do - food.support(group[i], item) - end - return - end - if type(item) == "table" then - for i = 1, #item do - food.support(group, item[i]) - end - return - end - - local idx = string.find(item, ":") - if idx <= 1 then - error("[Food Error] food.support - error in item name ('" .. item .. "')") - end - mod = string.sub(item, 1, idx - 1) - - if not minetest.get_modpath(mod) then - if food.debug then - print("[Food Debug] Mod '"..mod.."' is not installed") - end - return - end - - local data = minetest.registered_items[item] - if not data then - print("[Food Warning] Item '"..item.."' not found") - return - end - - - food.disable(group) - - -- Add group - g = {} - if data.groups then - for k, v in pairs(data.groups) do - g[k] = v - end - end - g["food_"..group] = 1 - minetest.override_item(item, {groups = g}) -end - -function food.disable(name) - if type(name) == "table" then - for i = 1, #name do - food.disable(name[i]) - end - return - end - food.disabled_modules[name] = true -end - -function food.disable_if(mod, name) - if minetest.get_modpath(mod) then - food.disable(name) - end -end - --- Adds a module -function food.module(name, func, ingred) - if food.disabled_modules[name] then - return - end - if ingred then - for name, def in pairs(minetest.registered_items) do - local g = def.groups and def.groups["food_"..name] or 0 - if g > 0 then - print("cancelled") - return - end - end - - if food.debug then - print("[Food Debug] Registering " .. name .. " fallback definition") - end - elseif food.debug then - print("[Food Debug] Module " .. name) - end - func() -end - --- Checks for hunger mods to register food on -function food.item_eat(amt) - if minetest.get_modpath("diet") then - return diet.item_eat(amt) - elseif minetest.get_modpath("hud") then - return hud.item_eat(amt) - else - return minetest.item_eat(amt) - end -end - --- Registers craft item or node depending on settings -function food.register(name, data, mod) - if (minetest.setting_getbool("food_use_2d") or (mod ~= nil and minetest.setting_getbool("food_"..mod.."_use_2d"))) then - minetest.register_craftitem(name,{ - description = data.description, - inventory_image = data.inventory_image, - groups = data.groups, - on_use = data.on_use - }) - else - local newdata = { - description = data.description, - tiles = data.tiles, - groups = data.groups, - on_use = data.on_use, - walkable = false, - sunlight_propagates = true, - drawtype = "nodebox", - paramtype = "light", - node_box = data.node_box - } - if (minetest.setting_getbool("food_2d_inv_image")) then - newdata.inventory_image = data.inventory_image - end - minetest.register_node(name,newdata) - end -end - --- Allows for overriding in the future -function food.craft(craft) - minetest.register_craft(craft) -end - diff --git a/depends.txt b/depends.txt deleted file mode 100644 index f3f515d..0000000 --- a/depends.txt +++ /dev/null @@ -1,17 +0,0 @@ -animalmaterials? -bushes_classic? -default? -docfarming? -diet? -farming? -farming_plus? -hud? -intllib? -jkanimals? -jkfarming? -my_mobs? -mobs? -mobfcooking? -plantlib? -veggies? -vessels? diff --git a/food/description.txt b/food/description.txt new file mode 100644 index 0000000..1c7469f --- /dev/null +++ b/food/description.txt @@ -0,0 +1 @@ +(API framework) The largest supporting food mod for Minetest. Adds soups, cakes, bakes and juices. diff --git a/food/init.lua b/food/init.lua new file mode 100644 index 0000000..19d019f --- /dev/null +++ b/food/init.lua @@ -0,0 +1,155 @@ +-- FOOD MOD +-- A mod written by rubenwardy that adds +-- food to the minetest game +-- ===================================== +-- >> food/api.lua +-- The supporting api for the mod +-- ===================================== + +-- Boilerplate to support localized strings if intllib mod is installed. +S = 0 +if (intllib) then + dofile(minetest.get_modpath("intllib").."/intllib.lua") + S = intllib.Getter(minetest.get_current_modname()) +else + S = function ( s ) return s end +end + +food = { + modules = {}, + disabled_modules = {}, + debug = false, + version = 2.3 +} + +-- Checks for external content, and adds support +function food.support(group, item) + if type(group) == "table" then + for i = 1, #group do + food.support(group[i], item) + end + return + end + if type(item) == "table" then + for i = 1, #item do + food.support(group, item[i]) + end + return + end + + local idx = string.find(item, ":") + if idx <= 1 then + error("[Food Error] food.support - error in item name ('" .. item .. "')") + end + mod = string.sub(item, 1, idx - 1) + + if not minetest.get_modpath(mod) then + if food.debug then + print("[Food Debug] Mod '"..mod.."' is not installed") + end + return + end + + local data = minetest.registered_items[item] + if not data then + print("[Food Warning] Item '"..item.."' not found") + return + end + + + food.disable(group) + + -- Add group + g = {} + if data.groups then + for k, v in pairs(data.groups) do + g[k] = v + end + end + g["food_"..group] = 1 + minetest.override_item(item, {groups = g}) +end + +function food.disable(name) + if type(name) == "table" then + for i = 1, #name do + food.disable(name[i]) + end + return + end + food.disabled_modules[name] = true +end + +function food.disable_if(mod, name) + if minetest.get_modpath(mod) then + food.disable(name) + end +end + +-- Adds a module +function food.module(name, func, ingred) + if food.disabled_modules[name] then + return + end + if ingred then + for name, def in pairs(minetest.registered_items) do + local g = def.groups and def.groups["food_"..name] or 0 + if g > 0 then + print("cancelled") + return + end + end + + if food.debug then + print("[Food Debug] Registering " .. name .. " fallback definition") + end + elseif food.debug then + print("[Food Debug] Module " .. name) + end + func() +end + +-- Checks for hunger mods to register food on +function food.item_eat(amt) + if minetest.get_modpath("diet") then + return diet.item_eat(amt) + elseif minetest.get_modpath("hud") then + return hud.item_eat(amt) + else + return minetest.item_eat(amt) + end +end + +-- Registers craft item or node depending on settings +function food.register(name, data, mod) + if (minetest.setting_getbool("food_use_2d") or (mod ~= nil and minetest.setting_getbool("food_"..mod.."_use_2d"))) then + minetest.register_craftitem(name,{ + description = data.description, + inventory_image = data.inventory_image, + groups = data.groups, + on_use = data.on_use + }) + else + local newdata = { + description = data.description, + tiles = data.tiles, + groups = data.groups, + on_use = data.on_use, + walkable = false, + sunlight_propagates = true, + drawtype = "nodebox", + paramtype = "light", + node_box = data.node_box + } + if (minetest.setting_getbool("food_2d_inv_image")) then + newdata.inventory_image = data.inventory_image + end + minetest.register_node(name,newdata) + end +end + +-- Allows for overriding in the future +function food.craft(craft) + minetest.register_craft(craft) +end + diff --git a/food_basic/README.md b/food_basic/README.md new file mode 100644 index 0000000..c5dcd0c --- /dev/null +++ b/food_basic/README.md @@ -0,0 +1,42 @@ +The Food Mod +============ + +This is the main mod in the food mod collection. + +Version 2.3 + +The Aims +-------- + +All content should follow these aims: +* Basis for expansion - supplies a framework of ingredients for other mods to build upon +* Mod support without dependancies - this allows flexibility for the user +* Minetest-game worthy - (Minimalism) This mod only contains traditional foods - such as cakes, soups and bread. + +Documentation +------------- + +Recipe guide: https://www.dropbox.com/s/tsvjmobv9n3isu0/food_crafting.pdf?dl=1 + +Expansion Packs +--------------- + +There are expansion mods available. Just install them in a mod folder, and everything should be fine. + +* Sweet Foods - https://github.com/rubenwardy/food_sweet +* Modern food (Needs updating) - burgers, soft drinks, pop corn, coffee, etc + +Licensing +--------- + +Created by rubenwardy +License for code: GPL 3.0 or later. +License for textures: CC-BY-SA + +Exceptions: + +* Baked potato texture by Doc, WTFPL +* Dough, flour and wheat textures from default farming mod, WTFPL +* Egg and milk textures from Mobf, CC BY SA + +Have I missed out credit? Please tell me. diff --git a/food_basic/depends.txt b/food_basic/depends.txt new file mode 100644 index 0000000..974ed7c --- /dev/null +++ b/food_basic/depends.txt @@ -0,0 +1,18 @@ +food +animalmaterials? +bushes_classic? +default? +docfarming? +diet? +farming? +farming_plus? +hud? +intllib? +jkanimals? +jkfarming? +my_mobs? +mobs? +mobfcooking? +plantlib? +veggies? +vessels? diff --git a/food_basic/description.txt b/food_basic/description.txt new file mode 100644 index 0000000..eb392e0 --- /dev/null +++ b/food_basic/description.txt @@ -0,0 +1 @@ +The largest supporting food mod for Minetest. Adds soups, cakes, bakes and juices. diff --git a/food_basic/ingredients.lua b/food_basic/ingredients.lua new file mode 100644 index 0000000..de209da --- /dev/null +++ b/food_basic/ingredients.lua @@ -0,0 +1,285 @@ +-- FOOD MOD +-- A mod written by rubenwardy that adds +-- food to the minetest game +-- ===================================== +-- >> food_basic/ingredients.lua +-- Fallback ingredients +-- ===================================== + +food.module("wheat", function() + minetest.register_craftitem("food:wheat", { + description = S("Wheat"), + inventory_image = "food_wheat.png", + groups = {food_wheat=1} + }) + + food.craft({ + output = "food:wheat", + recipe = { + {"default:dry_shrub"}, + } + }) +end, true) + +food.module("flour", function() + minetest.register_craftitem("food:flour", { + description = S("Flour"), + inventory_image = "food_flour.png", + groups = {food_flour = 1} + }) + food.craft({ + output = "food:flour", + recipe = { + {"group:food_wheat"}, + {"group:food_wheat"} + } + }) + food.craft({ + output = "food:flour", + recipe = { + {"default:sand"}, + {"default:sand"} + } + }) +end, true) + +food.module("potato", function() + minetest.register_craftitem("food:potato", { + description = S("Potato"), + inventory_image = "food_potato.png", + groups = {food_potato = 1} + }) + food.craft({ + output = "food:potato", + recipe = { + {"default:dirt"}, + {"default:apple"} + + } + }) +end, true) + +food.module("orange", function() + minetest.register_craftitem("food:orange", { + description = S("Orange"), + inventory_image = "food_orange.png", + groups = {food_orange = 1} + }) + food.craft({ + output = "food:orange", + recipe = { + {"", "default:desert_sand", ""}, + {"default:desert_sand", "default:desert_sand", "default:desert_sand"}, + {"", "default:desert_sand", ""} + } + }) +end, true) + +food.module("tomato", function() + minetest.register_craftitem("food:tomato", { + description = S("Tomato"), + inventory_image = "food_tomato.png", + groups = {food_tomato = 1} + }) + food.craft({ + output = "food:tomato", + recipe = { + {"", "default:desert_sand", ""}, + {"default:desert_sand", "", "default:desert_sand"}, + {"", "default:desert_sand", ""} + } + }) +end, true) + +food.module("carrot", function() + minetest.register_craftitem("food:carrot", { + description = S("Carrot"), + inventory_image = "food_carrot.png", + groups = {food_carrot=1}, + on_use = food.item_eat(3) + }) + food.craft({ + output = "food:carrot", + recipe = { + {"default:apple", "default:apple", "default:apple"}, + } + }) +end, true) + +food.module("milk", function() + minetest.register_craftitem("food:milk", { + description = S("Milk"), + image = "food_milk.png", + on_use = food.item_eat(1), + groups = { eatable=1, food_milk = 1 }, + stack_max=10 + }) + food.craft({ + output = "food:milk", + recipe = { + {"default:sand"}, + {"bucket:bucket_water"} + }, + replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}, + }) +end, true) + +food.module("egg", function() + minetest.register_craftitem("food:egg", { + description = S("Egg"), + inventory_image = "food_egg.png", + groups = {food_egg=1} + }) + food.craft({ + output = "food:egg", + recipe = { + {"", "default:sand", ""}, + {"default:sand", "", "default:sand"}, + {"", "default:sand", ""} + } + }) +end, true) + +food.module("cocoa", function() + minetest.register_craftitem("food:cocoa", { + description = S("Cocoa Bean"), + inventory_image = "food_cocoa.png", + groups = {food_cocoa=1} + }) + food.craft({ + output = "food:cocoa", + recipe = { + {"", "default:apple", ""}, + {"default:apple", "", "default:apple"}, + {"", "default:apple", ""} + } + }) +end, true) + +food.module("meat", function() + minetest.register_craftitem("food:meat", { + description = S("Venison"), + inventory_image = "food_meat.png", + groups = {food_meat=1, food_chicken=1} + }) + food.craft({ + type = "cooking", + output = "food:meat", + recipe = "group:food_meat_raw", + cooktime = 30 + }) + + if not minetest.get_modpath("animalmaterials") then + minetest.register_craftitem("food:meat_raw", { + description = S("Raw meat"), + image = "food_meat_raw.png", + on_use = food.item_eat(1), + groups = { meat=1, eatable=1, food_meat_raw=1 }, + stack_max=25 + }) + food.craft({ + output = "food:meat_raw", + recipe = { + {"default:apple"}, + {"default:dirt"} + } + }) + end +end, true) + +food.module("sugar", function() + minetest.register_craftitem("food:sugar", { + description = S("Sugar"), + inventory_image = "food_sugar.png", + groups = {food_sugar=1} + }) + + minetest.register_craft({ + output = "food:sugar 20", + recipe = { + {"default:papyrus"}, + } + }) +end, true) + +food.module("chocolate_powder", function() + minetest.register_craftitem("food:chocolate_powder", { + description = S("Chocolate Powder"), + inventory_image = "food_chocolate_powder.png", + groups = {food_choco_powder = 1} + }) + food.craft({ + output = "food:chocolate_powder 16", + recipe = { + {"group:food_cocoa","group:food_cocoa","group:food_cocoa"}, + {"group:food_cocoa","group:food_cocoa","group:food_cocoa"}, + {"group:food_cocoa","group:food_cocoa","group:food_cocoa"} + } + }) +end, true) + +food.module("pasta", function() + minetest.register_craftitem("food:pasta",{ + description = S("Pasta"), + inventory_image = "food_pasta.png", + groups = {food_pasta=1} + }) + food.craft({ + output = "food:pasta 4", + type = "shapeless", + recipe = {"group:food_flour","group:food_egg","group:food_egg"} + }) +end, true) + +food.module("bowl", function() + minetest.register_craftitem("food:bowl",{ + description = S("Bowl"), + inventory_image = "food_bowl.png", + groups = {food_bowl=1} + }) + food.craft({ + output = "food:bowl", + recipe = { + {"default:clay_lump","","default:clay_lump"}, + {"","default:clay_lump",""} + } + }) +end, true) + +food.module("butter", function() + minetest.register_craftitem("food:butter", { + description = S("Butter"), + inventory_image = "food_butter.png", + groups = {food_butter=1} + }) + food.craft({ + output = "food:butter", + recipe = { + {"group:food_milk","group:food_milk"}, + } + }) +end, true) + +food.module("cheese", function() + minetest.register_craftitem("food:cheese", { + description = S("Cheese"), + inventory_image = "food_cheese.png", + on_use = food.item_eat(4), + groups = {food_cheese=1} + }) + food.craft({ + output = "food:cheese", + recipe = { + {"group:food_butter","group:food_butter"}, + } + }) +end, true) + +if (minetest.get_modpath("animalmaterials") and not minetest.get_modpath("mobfcooking")) then + food.craft({ + type = "cooking", + output = "food:meat", + recipe = "animalmaterials:meat_raw", + cooktime = 30 + }) +end diff --git a/food_basic/init.lua b/food_basic/init.lua new file mode 100644 index 0000000..4f438a1 --- /dev/null +++ b/food_basic/init.lua @@ -0,0 +1,288 @@ +-- FOOD MOD +-- A mod written by rubenwardy that adds +-- food to the minetest game +-- ===================================== +-- >> food_basic/init.lua +-- Some basic foods +-- ===================================== + +print("Food Mod - Version 2.3") + +dofile(minetest.get_modpath("food").."/api.lua") +dofile(minetest.get_modpath("food").."/support.lua") +dofile(minetest.get_modpath("food").."/ingredients.lua") + + + +-- Register dark chocolate +food.module("dark_chocolate", function() + minetest.register_craftitem("food:dark_chocolate",{ + description = S("Dark Chocolate"), + inventory_image = "food_dark_chocolate.png", + on_use = food.item_eat(3), + groups = {food_dark_chocolate=1} + }) + food.craft({ + output = "food:dark_chocolate", + recipe = { + {"group:food_cocoa","group:food_cocoa","group:food_cocoa"} + } + }) +end) + +-- Register milk chocolate +food.module("milk_chocolate", function() + minetest.register_craftitem("food:milk_chocolate",{ + description = S("Milk Chocolate"), + inventory_image = "food_milk_chocolate.png", + on_use = food.item_eat(3), + groups = {food_milk_chocolate=1} + }) + food.craft({ + output = "food:milk_chocolate", + recipe = { + {"","group:food_milk",""}, + {"group:food_cocoa","group:food_cocoa","group:food_cocoa"} + } + }) +end) + +-- Register baked potato +food.module("baked_potato", function() + minetest.register_craftitem("food:baked_potato", { + description = S("Baked Potato"), + inventory_image = "food_baked_potato.png", + on_use = food.item_eat(6), + }) + food.craft({ + type = "cooking", + output = "food:baked_potato", + recipe = "group:food_potato", + }) +end) + +-- Register pasta bake +food.module("pasta_bake", function() + minetest.register_craftitem("food:pasta_bake",{ + description = S("Pasta Bake"), + inventory_image = "food_pasta_bake.png", + on_use = food.item_eat(4), + groups = {food=3} + }) + minetest.register_craftitem("food:pasta_bake_raw",{ + description = S("Raw Pasta Bake"), + inventory_image = "food_pasta_bake_raw.png", + }) + food.craft({ + output = "food:pasta_bake", + type = "cooking", + recipe = "food:pasta_bake_raw" + }) + food.craft({ + output = "food:pasta_bake_raw", + recipe = { + {"group:food_cheese"}, + {"group:food_pasta"}, + {"group:food_bowl"} + } + }) +end) + +-- Register Soups +local soups = { + {"tomato", "tomato"}, + {"chicken", "meat"} +} +for i=1, #soups do + local flav = soups[i] + food.module("soup_"..flav[1], function() + minetest.register_craftitem("food:soup_"..flav[1],{ + description = S(flav[1].." Soup"), + inventory_image = "food_soup_"..flav[1]..".png", + on_use = food.item_eat(4), + groups = {food=3} + }) + minetest.register_craftitem("food:soup_"..flav[1].."_raw",{ + description = S("Uncooked ".. flav[1].." Soup"), + inventory_image = "food_soup_"..flav[1].."_raw.png", + + }) + food.craft({ + type = "cooking", + output = "food:soup_"..flav[1], + recipe = "food:soup_"..flav[1].."_raw", + }) + food.craft({ + output = "food:soup_"..flav[1].."_raw", + recipe = { + {"", "", ""}, + {"bucket:bucket_water", "group:food_"..flav[2], "bucket:bucket_water"}, + {"", "group:food_bowl", ""}, + }, + replacements = {{"bucket:bucket_water", "bucket:bucket_empty"},{"bucket:bucket_water", "bucket:bucket_empty"}} + }) + end) +end + +-- Juices +local juices = {"apple", "orange", "cactus"} +for i=1, #juices do + local flav = juices[i] + food.module(flav.."_juice", function() + minetest.register_craftitem("food:"..flav.."_juice", { + description = S(flav.." Juice"), + inventory_image = "food_"..flav.."_juice.png", + on_use = food.item_eat(2), + }) + food.craft({ + output = "food:"..flav.."_juice 4", + recipe = { + {"","",""}, + {"","group:food_"..flav,""}, + {"","group:food_cup",""}, + } + }) + end) +end + +food.module("rainbow_juice", function() + minetest.register_craftitem("food:rainbow_juice", { + description = S("Rainbow Juice"), + inventory_image = "food_rainbow_juice.png", + on_use = food.item_eat(20), + }) + + food.craft({ + output = "food:rainbow_juice 99", + recipe = { + {"","",""}, + {"","default:nyancat_rainbow",""}, + {"","group:food_cup",""}, + } + }) +end) + +food.cake_box = { + type = "fixed", + fixed = { + {-0.250000,-0.500000,-0.296880,0.250000,-0.250000,0.312502}, + {-0.309375,-0.500000,-0.250000,0.309375,-0.250000,0.250000}, + {-0.250000,-0.250000,-0.250000,0.250000,-0.200000,0.250000} + } +} + +-- Register cakes +food.module("cake", function() + minetest.register_node("food:cake", { + description = S("Cake"), + on_use = food.item_eat(4), + groups={food=3,crumbly=3}, + tiles = { + "food_cake_texture.png", + "food_cake_texture.png", + "food_cake_texture_side.png", + "food_cake_texture_side.png", + "food_cake_texture_side.png", + "food_cake_texture_side.png" + }, + walkable = false, + sunlight_propagates = true, + drawtype="nodebox", + paramtype = "light", + node_box = food.cake_box + }) + food.craft({ + type = "cooking", + output = "food:cake", + recipe = "food:cakemix_plain", + cooktime = 10, + }) + minetest.register_craftitem("food:cakemix_plain",{ + description = S("Cake Mix"), + inventory_image = "food_cakemix_plain.png", + }) + minetest.register_craft({ + output = "food:cakemix_plain", + recipe = { + {"group:food_flour","group:food_sugar","group:food_egg"}, + } + }) +end) + + +food.module("cake_choco", function() + minetest.register_node("food:cake_choco", { + description = S("Chocolate Cake"), + on_use = food.item_eat(4), + groups={food=3,crumbly=3}, + tiles = { + "food_cake_choco_texture.png", + "food_cake_choco_texture.png", + "food_cake_choco_texture_side.png", + "food_cake_choco_texture_side.png", + "food_cake_choco_texture_side.png", + "food_cake_choco_texture_side.png" + }, + walkable = false, + sunlight_propagates = true, + drawtype="nodebox", + paramtype = "light", + node_box = food.cake_box + }) + food.craft({ + type = "cooking", + output = "food:cake_choco", + recipe = "food:cakemix_choco", + cooktime = 10, + }) + minetest.register_craftitem("food:cakemix_choco",{ + description = S("Chocolate Cake Mix"), + inventory_image = "food_cakemix_choco.png", + }) + food.craft({ + output = "food:cakemix_choco", + recipe = { + {"","group:food_choco_powder",""}, + {"group:food_flour","group:food_sugar","group:food_egg"}, + } + }) +end) + +food.module("cake_carrot", function() + minetest.register_node("food:cake_carrot", { + description = S("Carrot Cake"), + on_use = food.item_eat(4), + groups={food=3,crumbly=3}, + walkable = false, + sunlight_propagates = true, + tiles = { + "food_cake_carrot_texture.png", + "food_cake_carrot_texture.png", + "food_cake_carrot_texture_side.png", + "food_cake_carrot_texture_side.png", + "food_cake_carrot_texture_side.png", + "food_cake_carrot_texture_side.png" + }, + drawtype="nodebox", + paramtype = "light", + node_box = food.cake_box + }) + food.craft({ + type = "cooking", + output = "food:cake_carrot", + recipe = "food:cakemix_carrot", + cooktime = 10, + }) + minetest.register_craftitem("food:cakemix_carrot",{ + description = S("Carrot Cake Mix"), + inventory_image = "food_cakemix_carrot.png", + }) + food.craft({ + output = "food:cakemix_carrot", + recipe = { + {"","group:food_carrot",""}, + {"group:food_flour","group:food_sugar","group:food_egg"}, + } + }) +end) + diff --git a/food_basic/locale/de.txt b/food_basic/locale/de.txt new file mode 100644 index 0000000..7b19a7a --- /dev/null +++ b/food_basic/locale/de.txt @@ -0,0 +1,37 @@ +# Translation by Xanthin and hawkril + +Wheat = Weizen +Flour = Mehl +Potato = Kartoffel +Tomato = Tomate +Carrot = Karotte +Orange = +Milk = Milch +Egg = Ei +Cocoa Bean = Kakaobohne +Raw meat = rohes Fleisch +Venison = Wildbret +Sugar = Zucker +Chocolate Powder = Schokoladenpulver +Dark Chocolate = Dunkle Schokolade +Milk Chocolate = Vollmilchschokolade +Pasta = Nudeln +Bowl = Schuessel +Butter = Butter +Cheese = Kaese +Baked Potato = Ofenkartoffel +Pasta Bake = Nudelauflauf +Raw Pasta Bake = Ungekochter Nudelauflauf +chicken Soup = Huehnersuppe +tomato Soup = Tomatensuppe +Uncooked tomato Soup = Ungekochte Tomatensuppe +Uncooked chicken Soup = Ungekochte Huehnersuppe +apple Juice = Apfelsaft +cactus Juice = Kaktussaft +Rainbow Juice = Regenbogensaft +Cake = Kuchen +Chocolate Cake = Schokoladenkuchen +Carrot Cake = Karottenkuchen +Cake Mix = Backmischung +Chocolate Cake Mix = Backmischung fuer Schokoladenkuchen +Carrot Cake Mix = Backmischung fuer Karottenkuchen diff --git a/food_basic/locale/template.txt b/food_basic/locale/template.txt new file mode 100644 index 0000000..150e9e8 --- /dev/null +++ b/food_basic/locale/template.txt @@ -0,0 +1,40 @@ +# template + +Wheat = +Flour = +Potato = +Tomato = +Carrot = +Orange = +Milk = +Egg = +Cocoa Bean = +Raw meat = +Venison = +Sugar = +Chocolate Powder = +Dark Chocolate = +Milk Chocolate = +Pasta = +Bowl = +Butter = +Cheese = +Baked Potato = +Pasta Bake = +Raw Pasta Bake = +chicken Soup = +tomato Soup = +Uncooked tomato Soup = +Uncooked chicken Soup = +apple Juice = +cactus Juice = +Rainbow Juice = +Orange Juice = +Cake = +Chocolate Cake = +Carrot Cake = +Cheese cake = +Cake Mix = +Chocolate Cake Mix = +Carrot Cake Mix = +Cheese Cake Mix = diff --git a/food_basic/support.lua b/food_basic/support.lua new file mode 100644 index 0000000..39ef1d6 --- /dev/null +++ b/food_basic/support.lua @@ -0,0 +1,81 @@ +-- FOOD MOD +-- A mod written by rubenwardy that adds +-- food to the minetest game +-- ===================================== +-- >> food/support.lua +-- Support external mods +-- ===================================== + +-- The following ingredient list is licensed under WTFPL +-- You may use the list in your mod. I am doing this to +-- make it easier for mods to support lots of others - +-- good for the end user + +-- Add support for other mods +food.support("cocoa", "farming_plus:cocoa_bean") +food.support("cup", "vessels:drinking_glass") +food.support("cactus", "default:cactus") +food.support("apple", "default:apple") +food.support("orange", "farming_plus:orange_item") +food.support("potato", { + "docfarming:potato", + "veggies:potato", + "farming_plus:potato_item" +}) +food.support("tomato", { + "farming_plus:tomato_item", + "plantlib:tomato" +}) +food.support("carrot", { + "farming_plus:carrot_item", + "docfarming:carrot", + "plantlib:carrot", + "jkfarming:carrot" +}) +food.support("milk", { + "animalmaterials:milk", + "my_mobs:milk_glass_cup", + "jkanimals:bucket_milk" +}) +food.support("egg", { + "animalmaterials:egg", + "animalmaterials:egg_big", + "jkanimals:egg" +}) +food.support("meat", { + "mobs:meat", + "jkanimals:meat", + "mobfcooking:cooked_pork", + "mobfcooking:cooked_beef", + "mobfcooking:cooked_chicken", + "mobfcooking:cooked_lamb", + "mobfcooking:cooked_venison" +}) +food.support("sugar", { + "jkfarming:sugar", + "bushes:sugar" +}) + +if farming and farming.mod == "redo" then + food.support("wheat", "farming:wheat") + food.support("flour", "farming:flour") + food.support("carrot", "farming:carrot") + food.support("potato", "farming:potato") + food.support("tomato", "farming:tomato") + food.support("cocoa", "farming:cocoa_beans") + food.support("dark_chocolate", "farming:chocolate_dark") + food.support("sugar", "farming:sugar") + food.support("cup", "farming:drinking_cup") + food.disable_if("farming", "baked_potato") +else + food.support("wheat", "farming:wheat") + food.support("flour", "farming:flour") +end + +if minetest.get_modpath("mtfoods") then + food.support("strawberry", "farming_plus:strawberry_item") + food.support("strawberry", "plantlib:strawberry") + food.support("strawberry", "bushes:strawberry") + food.support("rhubarb", "farming_plus:rhubarb_item") +end + diff --git a/food_basic/textures/food_apple_juice.png b/food_basic/textures/food_apple_juice.png new file mode 100644 index 0000000..fc2b8ef Binary files /dev/null and b/food_basic/textures/food_apple_juice.png differ diff --git a/food_basic/textures/food_baked_potato.png b/food_basic/textures/food_baked_potato.png new file mode 100644 index 0000000..425c4ae Binary files /dev/null and b/food_basic/textures/food_baked_potato.png differ diff --git a/food_basic/textures/food_baking_bread_slice.png b/food_basic/textures/food_baking_bread_slice.png new file mode 100644 index 0000000..174c900 Binary files /dev/null and b/food_basic/textures/food_baking_bread_slice.png differ diff --git a/food_basic/textures/food_baking_bun_mix.png b/food_basic/textures/food_baking_bun_mix.png new file mode 100644 index 0000000..ac2e7f4 Binary files /dev/null and b/food_basic/textures/food_baking_bun_mix.png differ diff --git a/food_basic/textures/food_baking_dough.png b/food_basic/textures/food_baking_dough.png new file mode 100644 index 0000000..5c4b197 Binary files /dev/null and b/food_basic/textures/food_baking_dough.png differ diff --git a/food_basic/textures/food_bowl.png b/food_basic/textures/food_bowl.png new file mode 100644 index 0000000..b1d2b09 Binary files /dev/null and b/food_basic/textures/food_bowl.png differ diff --git a/food_basic/textures/food_butter.png b/food_basic/textures/food_butter.png new file mode 100644 index 0000000..cb6f054 Binary files /dev/null and b/food_basic/textures/food_butter.png differ diff --git a/food_basic/textures/food_cactus_juice.png b/food_basic/textures/food_cactus_juice.png new file mode 100644 index 0000000..6180eed Binary files /dev/null and b/food_basic/textures/food_cactus_juice.png differ diff --git a/food_basic/textures/food_cake_carrot_texture.png b/food_basic/textures/food_cake_carrot_texture.png new file mode 100644 index 0000000..1acfccd Binary files /dev/null and b/food_basic/textures/food_cake_carrot_texture.png differ diff --git a/food_basic/textures/food_cake_carrot_texture_side.png b/food_basic/textures/food_cake_carrot_texture_side.png new file mode 100644 index 0000000..ef961d0 Binary files /dev/null and b/food_basic/textures/food_cake_carrot_texture_side.png differ diff --git a/food_basic/textures/food_cake_choco_texture.png b/food_basic/textures/food_cake_choco_texture.png new file mode 100644 index 0000000..20ae8b5 Binary files /dev/null and b/food_basic/textures/food_cake_choco_texture.png differ diff --git a/food_basic/textures/food_cake_choco_texture_side.png b/food_basic/textures/food_cake_choco_texture_side.png new file mode 100644 index 0000000..4f7a8b4 Binary files /dev/null and b/food_basic/textures/food_cake_choco_texture_side.png differ diff --git a/food_basic/textures/food_cake_texture.png b/food_basic/textures/food_cake_texture.png new file mode 100644 index 0000000..f4e9b27 Binary files /dev/null and b/food_basic/textures/food_cake_texture.png differ diff --git a/food_basic/textures/food_cake_texture_side.png b/food_basic/textures/food_cake_texture_side.png new file mode 100644 index 0000000..314ed39 Binary files /dev/null and b/food_basic/textures/food_cake_texture_side.png differ diff --git a/food_basic/textures/food_cakemix_carrot.png b/food_basic/textures/food_cakemix_carrot.png new file mode 100644 index 0000000..30dd002 Binary files /dev/null and b/food_basic/textures/food_cakemix_carrot.png differ diff --git a/food_basic/textures/food_cakemix_choco.png b/food_basic/textures/food_cakemix_choco.png new file mode 100644 index 0000000..cd88169 Binary files /dev/null and b/food_basic/textures/food_cakemix_choco.png differ diff --git a/food_basic/textures/food_cakemix_plain.png b/food_basic/textures/food_cakemix_plain.png new file mode 100644 index 0000000..7b9f392 Binary files /dev/null and b/food_basic/textures/food_cakemix_plain.png differ diff --git a/food_basic/textures/food_carrot.png b/food_basic/textures/food_carrot.png new file mode 100644 index 0000000..5ed61ac Binary files /dev/null and b/food_basic/textures/food_carrot.png differ diff --git a/food_basic/textures/food_cheese.png b/food_basic/textures/food_cheese.png new file mode 100644 index 0000000..eec185c Binary files /dev/null and b/food_basic/textures/food_cheese.png differ diff --git a/food_basic/textures/food_chocolate_powder.png b/food_basic/textures/food_chocolate_powder.png new file mode 100644 index 0000000..49840ed Binary files /dev/null and b/food_basic/textures/food_chocolate_powder.png differ diff --git a/food_basic/textures/food_cocoa.png b/food_basic/textures/food_cocoa.png new file mode 100644 index 0000000..4ad6b35 Binary files /dev/null and b/food_basic/textures/food_cocoa.png differ diff --git a/food_basic/textures/food_dark_chocolate.png b/food_basic/textures/food_dark_chocolate.png new file mode 100644 index 0000000..3e1df7b Binary files /dev/null and b/food_basic/textures/food_dark_chocolate.png differ diff --git a/food_basic/textures/food_egg.png b/food_basic/textures/food_egg.png new file mode 100644 index 0000000..50010de Binary files /dev/null and b/food_basic/textures/food_egg.png differ diff --git a/food_basic/textures/food_flour.png b/food_basic/textures/food_flour.png new file mode 100644 index 0000000..a526b20 Binary files /dev/null and b/food_basic/textures/food_flour.png differ diff --git a/food_basic/textures/food_meat.png b/food_basic/textures/food_meat.png new file mode 100644 index 0000000..d4e4abb Binary files /dev/null and b/food_basic/textures/food_meat.png differ diff --git a/food_basic/textures/food_meat_raw.png b/food_basic/textures/food_meat_raw.png new file mode 100644 index 0000000..0dea4ec Binary files /dev/null and b/food_basic/textures/food_meat_raw.png differ diff --git a/food_basic/textures/food_milk.png b/food_basic/textures/food_milk.png new file mode 100644 index 0000000..e535264 Binary files /dev/null and b/food_basic/textures/food_milk.png differ diff --git a/food_basic/textures/food_milk_chocolate.png b/food_basic/textures/food_milk_chocolate.png new file mode 100644 index 0000000..bbfa37e Binary files /dev/null and b/food_basic/textures/food_milk_chocolate.png differ diff --git a/food_basic/textures/food_orange_juice.png b/food_basic/textures/food_orange_juice.png new file mode 100644 index 0000000..62834ab Binary files /dev/null and b/food_basic/textures/food_orange_juice.png differ diff --git a/food_basic/textures/food_pasta.png b/food_basic/textures/food_pasta.png new file mode 100644 index 0000000..9fa194b Binary files /dev/null and b/food_basic/textures/food_pasta.png differ diff --git a/food_basic/textures/food_pasta_bake.png b/food_basic/textures/food_pasta_bake.png new file mode 100644 index 0000000..81221a6 Binary files /dev/null and b/food_basic/textures/food_pasta_bake.png differ diff --git a/food_basic/textures/food_pasta_bake_raw.png b/food_basic/textures/food_pasta_bake_raw.png new file mode 100644 index 0000000..2a6294a Binary files /dev/null and b/food_basic/textures/food_pasta_bake_raw.png differ diff --git a/food_basic/textures/food_potato.png b/food_basic/textures/food_potato.png new file mode 100644 index 0000000..6e91d6a Binary files /dev/null and b/food_basic/textures/food_potato.png differ diff --git a/food_basic/textures/food_rainbow_juice.png b/food_basic/textures/food_rainbow_juice.png new file mode 100644 index 0000000..7eb97cf Binary files /dev/null and b/food_basic/textures/food_rainbow_juice.png differ diff --git a/food_basic/textures/food_soup_chicken.png b/food_basic/textures/food_soup_chicken.png new file mode 100644 index 0000000..db9f10d Binary files /dev/null and b/food_basic/textures/food_soup_chicken.png differ diff --git a/food_basic/textures/food_soup_chicken_raw.png b/food_basic/textures/food_soup_chicken_raw.png new file mode 100644 index 0000000..0cf6b21 Binary files /dev/null and b/food_basic/textures/food_soup_chicken_raw.png differ diff --git a/food_basic/textures/food_soup_tomato.png b/food_basic/textures/food_soup_tomato.png new file mode 100644 index 0000000..5cc23be Binary files /dev/null and b/food_basic/textures/food_soup_tomato.png differ diff --git a/food_basic/textures/food_soup_tomato_raw.png b/food_basic/textures/food_soup_tomato_raw.png new file mode 100644 index 0000000..1eac22c Binary files /dev/null and b/food_basic/textures/food_soup_tomato_raw.png differ diff --git a/food_basic/textures/food_strawberry.png b/food_basic/textures/food_strawberry.png new file mode 100644 index 0000000..0a80f45 Binary files /dev/null and b/food_basic/textures/food_strawberry.png differ diff --git a/food_basic/textures/food_sugar.png b/food_basic/textures/food_sugar.png new file mode 100644 index 0000000..10ecf70 Binary files /dev/null and b/food_basic/textures/food_sugar.png differ diff --git a/food_basic/textures/food_tomato.png b/food_basic/textures/food_tomato.png new file mode 100644 index 0000000..c998b60 Binary files /dev/null and b/food_basic/textures/food_tomato.png differ diff --git a/food_basic/textures/food_wheat.png b/food_basic/textures/food_wheat.png new file mode 100644 index 0000000..8ecd735 Binary files /dev/null and b/food_basic/textures/food_wheat.png differ diff --git a/ingredients.lua b/ingredients.lua deleted file mode 100644 index 1d14acf..0000000 --- a/ingredients.lua +++ /dev/null @@ -1,285 +0,0 @@ --- FOOD MOD --- A mod written by rubenwardy that adds --- food to the minetest game --- ===================================== --- >> food/ingredients.lua --- Fallback ingredients --- ===================================== - -food.module("wheat", function() - minetest.register_craftitem("food:wheat", { - description = S("Wheat"), - inventory_image = "food_wheat.png", - groups = {food_wheat=1} - }) - - food.craft({ - output = "food:wheat", - recipe = { - {"default:dry_shrub"}, - } - }) -end, true) - -food.module("flour", function() - minetest.register_craftitem("food:flour", { - description = S("Flour"), - inventory_image = "food_flour.png", - groups = {food_flour = 1} - }) - food.craft({ - output = "food:flour", - recipe = { - {"group:food_wheat"}, - {"group:food_wheat"} - } - }) - food.craft({ - output = "food:flour", - recipe = { - {"default:sand"}, - {"default:sand"} - } - }) -end, true) - -food.module("potato", function() - minetest.register_craftitem("food:potato", { - description = S("Potato"), - inventory_image = "food_potato.png", - groups = {food_potato = 1} - }) - food.craft({ - output = "food:potato", - recipe = { - {"default:dirt"}, - {"default:apple"} - - } - }) -end, true) - -food.module("orange", function() - minetest.register_craftitem("food:orange", { - description = S("Orange"), - inventory_image = "food_orange.png", - groups = {food_orange = 1} - }) - food.craft({ - output = "food:orange", - recipe = { - {"", "default:desert_sand", ""}, - {"default:desert_sand", "default:desert_sand", "default:desert_sand"}, - {"", "default:desert_sand", ""} - } - }) -end, true) - -food.module("tomato", function() - minetest.register_craftitem("food:tomato", { - description = S("Tomato"), - inventory_image = "food_tomato.png", - groups = {food_tomato = 1} - }) - food.craft({ - output = "food:tomato", - recipe = { - {"", "default:desert_sand", ""}, - {"default:desert_sand", "", "default:desert_sand"}, - {"", "default:desert_sand", ""} - } - }) -end, true) - -food.module("carrot", function() - minetest.register_craftitem("food:carrot", { - description = S("Carrot"), - inventory_image = "food_carrot.png", - groups = {food_carrot=1}, - on_use = food.item_eat(3) - }) - food.craft({ - output = "food:carrot", - recipe = { - {"default:apple", "default:apple", "default:apple"}, - } - }) -end, true) - -food.module("milk", function() - minetest.register_craftitem("food:milk", { - description = S("Milk"), - image = "food_milk.png", - on_use = food.item_eat(1), - groups = { eatable=1, food_milk = 1 }, - stack_max=10 - }) - food.craft({ - output = "food:milk", - recipe = { - {"default:sand"}, - {"bucket:bucket_water"} - }, - replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}, - }) -end, true) - -food.module("egg", function() - minetest.register_craftitem("food:egg", { - description = S("Egg"), - inventory_image = "food_egg.png", - groups = {food_egg=1} - }) - food.craft({ - output = "food:egg", - recipe = { - {"", "default:sand", ""}, - {"default:sand", "", "default:sand"}, - {"", "default:sand", ""} - } - }) -end, true) - -food.module("cocoa", function() - minetest.register_craftitem("food:cocoa", { - description = S("Cocoa Bean"), - inventory_image = "food_cocoa.png", - groups = {food_cocoa=1} - }) - food.craft({ - output = "food:cocoa", - recipe = { - {"", "default:apple", ""}, - {"default:apple", "", "default:apple"}, - {"", "default:apple", ""} - } - }) -end, true) - -food.module("meat", function() - minetest.register_craftitem("food:meat", { - description = S("Venison"), - inventory_image = "food_meat.png", - groups = {food_meat=1, food_chicken=1} - }) - food.craft({ - type = "cooking", - output = "food:meat", - recipe = "group:food_meat_raw", - cooktime = 30 - }) - - if not minetest.get_modpath("animalmaterials") then - minetest.register_craftitem("food:meat_raw", { - description = S("Raw meat"), - image = "food_meat_raw.png", - on_use = food.item_eat(1), - groups = { meat=1, eatable=1, food_meat_raw=1 }, - stack_max=25 - }) - food.craft({ - output = "food:meat_raw", - recipe = { - {"default:apple"}, - {"default:dirt"} - } - }) - end -end, true) - -food.module("sugar", function() - minetest.register_craftitem("food:sugar", { - description = S("Sugar"), - inventory_image = "food_sugar.png", - groups = {food_sugar=1} - }) - - minetest.register_craft({ - output = "food:sugar 20", - recipe = { - {"default:papyrus"}, - } - }) -end, true) - -food.module("chocolate_powder", function() - minetest.register_craftitem("food:chocolate_powder", { - description = S("Chocolate Powder"), - inventory_image = "food_chocolate_powder.png", - groups = {food_choco_powder = 1} - }) - food.craft({ - output = "food:chocolate_powder 16", - recipe = { - {"group:food_cocoa","group:food_cocoa","group:food_cocoa"}, - {"group:food_cocoa","group:food_cocoa","group:food_cocoa"}, - {"group:food_cocoa","group:food_cocoa","group:food_cocoa"} - } - }) -end, true) - -food.module("pasta", function() - minetest.register_craftitem("food:pasta",{ - description = S("Pasta"), - inventory_image = "food_pasta.png", - groups = {food_pasta=1} - }) - food.craft({ - output = "food:pasta 4", - type = "shapeless", - recipe = {"group:food_flour","group:food_egg","group:food_egg"} - }) -end, true) - -food.module("bowl", function() - minetest.register_craftitem("food:bowl",{ - description = S("Bowl"), - inventory_image = "food_bowl.png", - groups = {food_bowl=1} - }) - food.craft({ - output = "food:bowl", - recipe = { - {"default:clay_lump","","default:clay_lump"}, - {"","default:clay_lump",""} - } - }) -end, true) - -food.module("butter", function() - minetest.register_craftitem("food:butter", { - description = S("Butter"), - inventory_image = "food_butter.png", - groups = {food_butter=1} - }) - food.craft({ - output = "food:butter", - recipe = { - {"group:food_milk","group:food_milk"}, - } - }) -end, true) - -food.module("cheese", function() - minetest.register_craftitem("food:cheese", { - description = S("Cheese"), - inventory_image = "food_cheese.png", - on_use = food.item_eat(4), - groups = {food_cheese=1} - }) - food.craft({ - output = "food:cheese", - recipe = { - {"group:food_butter","group:food_butter"}, - } - }) -end, true) - -if (minetest.get_modpath("animalmaterials") and not minetest.get_modpath("mobfcooking")) then - food.craft({ - type = "cooking", - output = "food:meat", - recipe = "animalmaterials:meat_raw", - cooktime = 30 - }) -end diff --git a/init.lua b/init.lua deleted file mode 100644 index e7b7152..0000000 --- a/init.lua +++ /dev/null @@ -1,288 +0,0 @@ --- FOOD MOD --- A mod written by rubenwardy that adds --- food to the minetest game --- ===================================== --- >> food/init.lua --- Some basic foods --- ===================================== - -print("Food Mod - Version 2.3") - -dofile(minetest.get_modpath("food").."/api.lua") -dofile(minetest.get_modpath("food").."/support.lua") -dofile(minetest.get_modpath("food").."/ingredients.lua") - - - --- Register dark chocolate -food.module("dark_chocolate", function() - minetest.register_craftitem("food:dark_chocolate",{ - description = S("Dark Chocolate"), - inventory_image = "food_dark_chocolate.png", - on_use = food.item_eat(3), - groups = {food_dark_chocolate=1} - }) - food.craft({ - output = "food:dark_chocolate", - recipe = { - {"group:food_cocoa","group:food_cocoa","group:food_cocoa"} - } - }) -end) - --- Register milk chocolate -food.module("milk_chocolate", function() - minetest.register_craftitem("food:milk_chocolate",{ - description = S("Milk Chocolate"), - inventory_image = "food_milk_chocolate.png", - on_use = food.item_eat(3), - groups = {food_milk_chocolate=1} - }) - food.craft({ - output = "food:milk_chocolate", - recipe = { - {"","group:food_milk",""}, - {"group:food_cocoa","group:food_cocoa","group:food_cocoa"} - } - }) -end) - --- Register baked potato -food.module("baked_potato", function() - minetest.register_craftitem("food:baked_potato", { - description = S("Baked Potato"), - inventory_image = "food_baked_potato.png", - on_use = food.item_eat(6), - }) - food.craft({ - type = "cooking", - output = "food:baked_potato", - recipe = "group:food_potato", - }) -end) - --- Register pasta bake -food.module("pasta_bake", function() - minetest.register_craftitem("food:pasta_bake",{ - description = S("Pasta Bake"), - inventory_image = "food_pasta_bake.png", - on_use = food.item_eat(4), - groups = {food=3} - }) - minetest.register_craftitem("food:pasta_bake_raw",{ - description = S("Raw Pasta Bake"), - inventory_image = "food_pasta_bake_raw.png", - }) - food.craft({ - output = "food:pasta_bake", - type = "cooking", - recipe = "food:pasta_bake_raw" - }) - food.craft({ - output = "food:pasta_bake_raw", - recipe = { - {"group:food_cheese"}, - {"group:food_pasta"}, - {"group:food_bowl"} - } - }) -end) - --- Register Soups -local soups = { - {"tomato", "tomato"}, - {"chicken", "meat"} -} -for i=1, #soups do - local flav = soups[i] - food.module("soup_"..flav[1], function() - minetest.register_craftitem("food:soup_"..flav[1],{ - description = S(flav[1].." Soup"), - inventory_image = "food_soup_"..flav[1]..".png", - on_use = food.item_eat(4), - groups = {food=3} - }) - minetest.register_craftitem("food:soup_"..flav[1].."_raw",{ - description = S("Uncooked ".. flav[1].." Soup"), - inventory_image = "food_soup_"..flav[1].."_raw.png", - - }) - food.craft({ - type = "cooking", - output = "food:soup_"..flav[1], - recipe = "food:soup_"..flav[1].."_raw", - }) - food.craft({ - output = "food:soup_"..flav[1].."_raw", - recipe = { - {"", "", ""}, - {"bucket:bucket_water", "group:food_"..flav[2], "bucket:bucket_water"}, - {"", "group:food_bowl", ""}, - }, - replacements = {{"bucket:bucket_water", "bucket:bucket_empty"},{"bucket:bucket_water", "bucket:bucket_empty"}} - }) - end) -end - --- Juices -local juices = {"apple", "orange", "cactus"} -for i=1, #juices do - local flav = juices[i] - food.module(flav.."_juice", function() - minetest.register_craftitem("food:"..flav.."_juice", { - description = S(flav.." Juice"), - inventory_image = "food_"..flav.."_juice.png", - on_use = food.item_eat(2), - }) - food.craft({ - output = "food:"..flav.."_juice 4", - recipe = { - {"","",""}, - {"","group:food_"..flav,""}, - {"","group:food_cup",""}, - } - }) - end) -end - -food.module("rainbow_juice", function() - minetest.register_craftitem("food:rainbow_juice", { - description = S("Rainbow Juice"), - inventory_image = "food_rainbow_juice.png", - on_use = food.item_eat(20), - }) - - food.craft({ - output = "food:rainbow_juice 99", - recipe = { - {"","",""}, - {"","default:nyancat_rainbow",""}, - {"","group:food_cup",""}, - } - }) -end) - -food.cake_box = { - type = "fixed", - fixed = { - {-0.250000,-0.500000,-0.296880,0.250000,-0.250000,0.312502}, - {-0.309375,-0.500000,-0.250000,0.309375,-0.250000,0.250000}, - {-0.250000,-0.250000,-0.250000,0.250000,-0.200000,0.250000} - } -} - --- Register cakes -food.module("cake", function() - minetest.register_node("food:cake", { - description = S("Cake"), - on_use = food.item_eat(4), - groups={food=3,crumbly=3}, - tiles = { - "food_cake_texture.png", - "food_cake_texture.png", - "food_cake_texture_side.png", - "food_cake_texture_side.png", - "food_cake_texture_side.png", - "food_cake_texture_side.png" - }, - walkable = false, - sunlight_propagates = true, - drawtype="nodebox", - paramtype = "light", - node_box = food.cake_box - }) - food.craft({ - type = "cooking", - output = "food:cake", - recipe = "food:cakemix_plain", - cooktime = 10, - }) - minetest.register_craftitem("food:cakemix_plain",{ - description = S("Cake Mix"), - inventory_image = "food_cakemix_plain.png", - }) - minetest.register_craft({ - output = "food:cakemix_plain", - recipe = { - {"group:food_flour","group:food_sugar","group:food_egg"}, - } - }) -end) - - -food.module("cake_choco", function() - minetest.register_node("food:cake_choco", { - description = S("Chocolate Cake"), - on_use = food.item_eat(4), - groups={food=3,crumbly=3}, - tiles = { - "food_cake_choco_texture.png", - "food_cake_choco_texture.png", - "food_cake_choco_texture_side.png", - "food_cake_choco_texture_side.png", - "food_cake_choco_texture_side.png", - "food_cake_choco_texture_side.png" - }, - walkable = false, - sunlight_propagates = true, - drawtype="nodebox", - paramtype = "light", - node_box = food.cake_box - }) - food.craft({ - type = "cooking", - output = "food:cake_choco", - recipe = "food:cakemix_choco", - cooktime = 10, - }) - minetest.register_craftitem("food:cakemix_choco",{ - description = S("Chocolate Cake Mix"), - inventory_image = "food_cakemix_choco.png", - }) - food.craft({ - output = "food:cakemix_choco", - recipe = { - {"","group:food_choco_powder",""}, - {"group:food_flour","group:food_sugar","group:food_egg"}, - } - }) -end) - -food.module("cake_carrot", function() - minetest.register_node("food:cake_carrot", { - description = S("Carrot Cake"), - on_use = food.item_eat(4), - groups={food=3,crumbly=3}, - walkable = false, - sunlight_propagates = true, - tiles = { - "food_cake_carrot_texture.png", - "food_cake_carrot_texture.png", - "food_cake_carrot_texture_side.png", - "food_cake_carrot_texture_side.png", - "food_cake_carrot_texture_side.png", - "food_cake_carrot_texture_side.png" - }, - drawtype="nodebox", - paramtype = "light", - node_box = food.cake_box - }) - food.craft({ - type = "cooking", - output = "food:cake_carrot", - recipe = "food:cakemix_carrot", - cooktime = 10, - }) - minetest.register_craftitem("food:cakemix_carrot",{ - description = S("Carrot Cake Mix"), - inventory_image = "food_cakemix_carrot.png", - }) - food.craft({ - output = "food:cakemix_carrot", - recipe = { - {"","group:food_carrot",""}, - {"group:food_flour","group:food_sugar","group:food_egg"}, - } - }) -end) - diff --git a/locale/de.txt b/locale/de.txt deleted file mode 100644 index 7b19a7a..0000000 --- a/locale/de.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Translation by Xanthin and hawkril - -Wheat = Weizen -Flour = Mehl -Potato = Kartoffel -Tomato = Tomate -Carrot = Karotte -Orange = -Milk = Milch -Egg = Ei -Cocoa Bean = Kakaobohne -Raw meat = rohes Fleisch -Venison = Wildbret -Sugar = Zucker -Chocolate Powder = Schokoladenpulver -Dark Chocolate = Dunkle Schokolade -Milk Chocolate = Vollmilchschokolade -Pasta = Nudeln -Bowl = Schuessel -Butter = Butter -Cheese = Kaese -Baked Potato = Ofenkartoffel -Pasta Bake = Nudelauflauf -Raw Pasta Bake = Ungekochter Nudelauflauf -chicken Soup = Huehnersuppe -tomato Soup = Tomatensuppe -Uncooked tomato Soup = Ungekochte Tomatensuppe -Uncooked chicken Soup = Ungekochte Huehnersuppe -apple Juice = Apfelsaft -cactus Juice = Kaktussaft -Rainbow Juice = Regenbogensaft -Cake = Kuchen -Chocolate Cake = Schokoladenkuchen -Carrot Cake = Karottenkuchen -Cake Mix = Backmischung -Chocolate Cake Mix = Backmischung fuer Schokoladenkuchen -Carrot Cake Mix = Backmischung fuer Karottenkuchen diff --git a/locale/template.txt b/locale/template.txt deleted file mode 100644 index 150e9e8..0000000 --- a/locale/template.txt +++ /dev/null @@ -1,40 +0,0 @@ -# template - -Wheat = -Flour = -Potato = -Tomato = -Carrot = -Orange = -Milk = -Egg = -Cocoa Bean = -Raw meat = -Venison = -Sugar = -Chocolate Powder = -Dark Chocolate = -Milk Chocolate = -Pasta = -Bowl = -Butter = -Cheese = -Baked Potato = -Pasta Bake = -Raw Pasta Bake = -chicken Soup = -tomato Soup = -Uncooked tomato Soup = -Uncooked chicken Soup = -apple Juice = -cactus Juice = -Rainbow Juice = -Orange Juice = -Cake = -Chocolate Cake = -Carrot Cake = -Cheese cake = -Cake Mix = -Chocolate Cake Mix = -Carrot Cake Mix = -Cheese Cake Mix = diff --git a/modpack.txt b/modpack.txt new file mode 100644 index 0000000..e69de29 diff --git a/support.lua b/support.lua deleted file mode 100644 index 39ef1d6..0000000 --- a/support.lua +++ /dev/null @@ -1,81 +0,0 @@ --- FOOD MOD --- A mod written by rubenwardy that adds --- food to the minetest game --- ===================================== --- >> food/support.lua --- Support external mods --- ===================================== - --- The following ingredient list is licensed under WTFPL --- You may use the list in your mod. I am doing this to --- make it easier for mods to support lots of others - --- good for the end user - --- Add support for other mods -food.support("cocoa", "farming_plus:cocoa_bean") -food.support("cup", "vessels:drinking_glass") -food.support("cactus", "default:cactus") -food.support("apple", "default:apple") -food.support("orange", "farming_plus:orange_item") -food.support("potato", { - "docfarming:potato", - "veggies:potato", - "farming_plus:potato_item" -}) -food.support("tomato", { - "farming_plus:tomato_item", - "plantlib:tomato" -}) -food.support("carrot", { - "farming_plus:carrot_item", - "docfarming:carrot", - "plantlib:carrot", - "jkfarming:carrot" -}) -food.support("milk", { - "animalmaterials:milk", - "my_mobs:milk_glass_cup", - "jkanimals:bucket_milk" -}) -food.support("egg", { - "animalmaterials:egg", - "animalmaterials:egg_big", - "jkanimals:egg" -}) -food.support("meat", { - "mobs:meat", - "jkanimals:meat", - "mobfcooking:cooked_pork", - "mobfcooking:cooked_beef", - "mobfcooking:cooked_chicken", - "mobfcooking:cooked_lamb", - "mobfcooking:cooked_venison" -}) -food.support("sugar", { - "jkfarming:sugar", - "bushes:sugar" -}) - -if farming and farming.mod == "redo" then - food.support("wheat", "farming:wheat") - food.support("flour", "farming:flour") - food.support("carrot", "farming:carrot") - food.support("potato", "farming:potato") - food.support("tomato", "farming:tomato") - food.support("cocoa", "farming:cocoa_beans") - food.support("dark_chocolate", "farming:chocolate_dark") - food.support("sugar", "farming:sugar") - food.support("cup", "farming:drinking_cup") - food.disable_if("farming", "baked_potato") -else - food.support("wheat", "farming:wheat") - food.support("flour", "farming:flour") -end - -if minetest.get_modpath("mtfoods") then - food.support("strawberry", "farming_plus:strawberry_item") - food.support("strawberry", "plantlib:strawberry") - food.support("strawberry", "bushes:strawberry") - food.support("rhubarb", "farming_plus:rhubarb_item") -end - diff --git a/textures/food_apple_juice.png b/textures/food_apple_juice.png deleted file mode 100644 index fc2b8ef..0000000 Binary files a/textures/food_apple_juice.png and /dev/null differ diff --git a/textures/food_baked_potato.png b/textures/food_baked_potato.png deleted file mode 100644 index 425c4ae..0000000 Binary files a/textures/food_baked_potato.png and /dev/null differ diff --git a/textures/food_baking_bread_slice.png b/textures/food_baking_bread_slice.png deleted file mode 100644 index 174c900..0000000 Binary files a/textures/food_baking_bread_slice.png and /dev/null differ diff --git a/textures/food_baking_bun_mix.png b/textures/food_baking_bun_mix.png deleted file mode 100644 index ac2e7f4..0000000 Binary files a/textures/food_baking_bun_mix.png and /dev/null differ diff --git a/textures/food_baking_dough.png b/textures/food_baking_dough.png deleted file mode 100644 index 5c4b197..0000000 Binary files a/textures/food_baking_dough.png and /dev/null differ diff --git a/textures/food_bowl.png b/textures/food_bowl.png deleted file mode 100644 index b1d2b09..0000000 Binary files a/textures/food_bowl.png and /dev/null differ diff --git a/textures/food_butter.png b/textures/food_butter.png deleted file mode 100644 index cb6f054..0000000 Binary files a/textures/food_butter.png and /dev/null differ diff --git a/textures/food_cactus_juice.png b/textures/food_cactus_juice.png deleted file mode 100644 index 6180eed..0000000 Binary files a/textures/food_cactus_juice.png and /dev/null differ diff --git a/textures/food_cake_carrot_texture.png b/textures/food_cake_carrot_texture.png deleted file mode 100644 index 1acfccd..0000000 Binary files a/textures/food_cake_carrot_texture.png and /dev/null differ diff --git a/textures/food_cake_carrot_texture_side.png b/textures/food_cake_carrot_texture_side.png deleted file mode 100644 index ef961d0..0000000 Binary files a/textures/food_cake_carrot_texture_side.png and /dev/null differ diff --git a/textures/food_cake_choco_texture.png b/textures/food_cake_choco_texture.png deleted file mode 100644 index 20ae8b5..0000000 Binary files a/textures/food_cake_choco_texture.png and /dev/null differ diff --git a/textures/food_cake_choco_texture_side.png b/textures/food_cake_choco_texture_side.png deleted file mode 100644 index 4f7a8b4..0000000 Binary files a/textures/food_cake_choco_texture_side.png and /dev/null differ diff --git a/textures/food_cake_texture.png b/textures/food_cake_texture.png deleted file mode 100644 index f4e9b27..0000000 Binary files a/textures/food_cake_texture.png and /dev/null differ diff --git a/textures/food_cake_texture_side.png b/textures/food_cake_texture_side.png deleted file mode 100644 index 314ed39..0000000 Binary files a/textures/food_cake_texture_side.png and /dev/null differ diff --git a/textures/food_cakemix_carrot.png b/textures/food_cakemix_carrot.png deleted file mode 100644 index 30dd002..0000000 Binary files a/textures/food_cakemix_carrot.png and /dev/null differ diff --git a/textures/food_cakemix_choco.png b/textures/food_cakemix_choco.png deleted file mode 100644 index cd88169..0000000 Binary files a/textures/food_cakemix_choco.png and /dev/null differ diff --git a/textures/food_cakemix_plain.png b/textures/food_cakemix_plain.png deleted file mode 100644 index 7b9f392..0000000 Binary files a/textures/food_cakemix_plain.png and /dev/null differ diff --git a/textures/food_carrot.png b/textures/food_carrot.png deleted file mode 100644 index 5ed61ac..0000000 Binary files a/textures/food_carrot.png and /dev/null differ diff --git a/textures/food_cheese.png b/textures/food_cheese.png deleted file mode 100644 index eec185c..0000000 Binary files a/textures/food_cheese.png and /dev/null differ diff --git a/textures/food_chocolate_powder.png b/textures/food_chocolate_powder.png deleted file mode 100644 index 49840ed..0000000 Binary files a/textures/food_chocolate_powder.png and /dev/null differ diff --git a/textures/food_cocoa.png b/textures/food_cocoa.png deleted file mode 100644 index 4ad6b35..0000000 Binary files a/textures/food_cocoa.png and /dev/null differ diff --git a/textures/food_dark_chocolate.png b/textures/food_dark_chocolate.png deleted file mode 100644 index 3e1df7b..0000000 Binary files a/textures/food_dark_chocolate.png and /dev/null differ diff --git a/textures/food_egg.png b/textures/food_egg.png deleted file mode 100644 index 50010de..0000000 Binary files a/textures/food_egg.png and /dev/null differ diff --git a/textures/food_flour.png b/textures/food_flour.png deleted file mode 100644 index a526b20..0000000 Binary files a/textures/food_flour.png and /dev/null differ diff --git a/textures/food_meat.png b/textures/food_meat.png deleted file mode 100644 index d4e4abb..0000000 Binary files a/textures/food_meat.png and /dev/null differ diff --git a/textures/food_meat_raw.png b/textures/food_meat_raw.png deleted file mode 100644 index 0dea4ec..0000000 Binary files a/textures/food_meat_raw.png and /dev/null differ diff --git a/textures/food_milk.png b/textures/food_milk.png deleted file mode 100644 index e535264..0000000 Binary files a/textures/food_milk.png and /dev/null differ diff --git a/textures/food_milk_chocolate.png b/textures/food_milk_chocolate.png deleted file mode 100644 index bbfa37e..0000000 Binary files a/textures/food_milk_chocolate.png and /dev/null differ diff --git a/textures/food_orange_juice.png b/textures/food_orange_juice.png deleted file mode 100644 index 62834ab..0000000 Binary files a/textures/food_orange_juice.png and /dev/null differ diff --git a/textures/food_pasta.png b/textures/food_pasta.png deleted file mode 100644 index 9fa194b..0000000 Binary files a/textures/food_pasta.png and /dev/null differ diff --git a/textures/food_pasta_bake.png b/textures/food_pasta_bake.png deleted file mode 100644 index 81221a6..0000000 Binary files a/textures/food_pasta_bake.png and /dev/null differ diff --git a/textures/food_pasta_bake_raw.png b/textures/food_pasta_bake_raw.png deleted file mode 100644 index 2a6294a..0000000 Binary files a/textures/food_pasta_bake_raw.png and /dev/null differ diff --git a/textures/food_potato.png b/textures/food_potato.png deleted file mode 100644 index 6e91d6a..0000000 Binary files a/textures/food_potato.png and /dev/null differ diff --git a/textures/food_rainbow_juice.png b/textures/food_rainbow_juice.png deleted file mode 100644 index 7eb97cf..0000000 Binary files a/textures/food_rainbow_juice.png and /dev/null differ diff --git a/textures/food_soup_chicken.png b/textures/food_soup_chicken.png deleted file mode 100644 index db9f10d..0000000 Binary files a/textures/food_soup_chicken.png and /dev/null differ diff --git a/textures/food_soup_chicken_raw.png b/textures/food_soup_chicken_raw.png deleted file mode 100644 index 0cf6b21..0000000 Binary files a/textures/food_soup_chicken_raw.png and /dev/null differ diff --git a/textures/food_soup_tomato.png b/textures/food_soup_tomato.png deleted file mode 100644 index 5cc23be..0000000 Binary files a/textures/food_soup_tomato.png and /dev/null differ diff --git a/textures/food_soup_tomato_raw.png b/textures/food_soup_tomato_raw.png deleted file mode 100644 index 1eac22c..0000000 Binary files a/textures/food_soup_tomato_raw.png and /dev/null differ diff --git a/textures/food_strawberry.png b/textures/food_strawberry.png deleted file mode 100644 index 0a80f45..0000000 Binary files a/textures/food_strawberry.png and /dev/null differ diff --git a/textures/food_sugar.png b/textures/food_sugar.png deleted file mode 100644 index 10ecf70..0000000 Binary files a/textures/food_sugar.png and /dev/null differ diff --git a/textures/food_tomato.png b/textures/food_tomato.png deleted file mode 100644 index c998b60..0000000 Binary files a/textures/food_tomato.png and /dev/null differ diff --git a/textures/food_wheat.png b/textures/food_wheat.png deleted file mode 100644 index 8ecd735..0000000 Binary files a/textures/food_wheat.png and /dev/null differ -- cgit v1.2.3