summaryrefslogtreecommitdiff
path: root/food_basic
diff options
context:
space:
mode:
Diffstat (limited to 'food_basic')
-rw-r--r--food_basic/README.md42
-rw-r--r--food_basic/depends.txt18
-rw-r--r--food_basic/description.txt1
-rw-r--r--food_basic/ingredients.lua285
-rw-r--r--food_basic/init.lua286
-rw-r--r--food_basic/locale/de.txt37
-rw-r--r--food_basic/locale/template.txt40
-rw-r--r--food_basic/support.lua81
-rw-r--r--food_basic/textures/food_apple_juice.pngbin0 -> 729 bytes
-rw-r--r--food_basic/textures/food_baked_potato.pngbin0 -> 321 bytes
-rw-r--r--food_basic/textures/food_baking_bread_slice.pngbin0 -> 437 bytes
-rw-r--r--food_basic/textures/food_baking_bun_mix.pngbin0 -> 474 bytes
-rw-r--r--food_basic/textures/food_baking_dough.pngbin0 -> 343 bytes
-rw-r--r--food_basic/textures/food_bowl.pngbin0 -> 338 bytes
-rw-r--r--food_basic/textures/food_butter.pngbin0 -> 476 bytes
-rw-r--r--food_basic/textures/food_cactus_juice.pngbin0 -> 867 bytes
-rw-r--r--food_basic/textures/food_cake_carrot_texture.pngbin0 -> 786 bytes
-rw-r--r--food_basic/textures/food_cake_carrot_texture_side.pngbin0 -> 780 bytes
-rw-r--r--food_basic/textures/food_cake_choco_texture.pngbin0 -> 712 bytes
-rw-r--r--food_basic/textures/food_cake_choco_texture_side.pngbin0 -> 709 bytes
-rw-r--r--food_basic/textures/food_cake_texture.pngbin0 -> 758 bytes
-rw-r--r--food_basic/textures/food_cake_texture_side.pngbin0 -> 758 bytes
-rw-r--r--food_basic/textures/food_cakemix_carrot.pngbin0 -> 335 bytes
-rw-r--r--food_basic/textures/food_cakemix_choco.pngbin0 -> 331 bytes
-rw-r--r--food_basic/textures/food_cakemix_plain.pngbin0 -> 327 bytes
-rw-r--r--food_basic/textures/food_carrot.pngbin0 -> 575 bytes
-rw-r--r--food_basic/textures/food_cheese.pngbin0 -> 487 bytes
-rw-r--r--food_basic/textures/food_chocolate_powder.pngbin0 -> 510 bytes
-rw-r--r--food_basic/textures/food_cocoa.pngbin0 -> 184 bytes
-rw-r--r--food_basic/textures/food_dark_chocolate.pngbin0 -> 480 bytes
-rw-r--r--food_basic/textures/food_egg.pngbin0 -> 672 bytes
-rw-r--r--food_basic/textures/food_flour.pngbin0 -> 378 bytes
-rw-r--r--food_basic/textures/food_meat.pngbin0 -> 624 bytes
-rw-r--r--food_basic/textures/food_meat_raw.pngbin0 -> 426 bytes
-rw-r--r--food_basic/textures/food_milk.pngbin0 -> 559 bytes
-rw-r--r--food_basic/textures/food_milk_chocolate.pngbin0 -> 479 bytes
-rw-r--r--food_basic/textures/food_orange.pngbin0 -> 544 bytes
-rw-r--r--food_basic/textures/food_orange_juice.pngbin0 -> 620 bytes
-rw-r--r--food_basic/textures/food_pasta.pngbin0 -> 310 bytes
-rw-r--r--food_basic/textures/food_pasta_bake.pngbin0 -> 366 bytes
-rw-r--r--food_basic/textures/food_pasta_bake_raw.pngbin0 -> 324 bytes
-rw-r--r--food_basic/textures/food_potato.pngbin0 -> 252 bytes
-rw-r--r--food_basic/textures/food_rainbow_juice.pngbin0 -> 396 bytes
-rw-r--r--food_basic/textures/food_soup_chicken.pngbin0 -> 355 bytes
-rw-r--r--food_basic/textures/food_soup_chicken_raw.pngbin0 -> 325 bytes
-rw-r--r--food_basic/textures/food_soup_tomato.pngbin0 -> 1216 bytes
-rw-r--r--food_basic/textures/food_soup_tomato_raw.pngbin0 -> 321 bytes
-rw-r--r--food_basic/textures/food_strawberry.pngbin0 -> 250 bytes
-rw-r--r--food_basic/textures/food_sugar.pngbin0 -> 4425 bytes
-rw-r--r--food_basic/textures/food_tomato.pngbin0 -> 338 bytes
-rw-r--r--food_basic/textures/food_wheat.pngbin0 -> 566 bytes
51 files changed, 790 insertions, 0 deletions
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..5d30ff1
--- /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..8e1aa8e
--- /dev/null
+++ b/food_basic/init.lua
@@ -0,0 +1,286 @@
+-- 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_basic").."/support.lua")
+dofile(minetest.get_modpath("food_basic").."/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
--- /dev/null
+++ b/food_basic/textures/food_apple_juice.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_baked_potato.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_baking_bread_slice.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_baking_bun_mix.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_baking_dough.png
Binary files differ
diff --git a/food_basic/textures/food_bowl.png b/food_basic/textures/food_bowl.png
new file mode 100644
index 0000000..b1d2b09
--- /dev/null
+++ b/food_basic/textures/food_bowl.png
Binary files differ
diff --git a/food_basic/textures/food_butter.png b/food_basic/textures/food_butter.png
new file mode 100644
index 0000000..cb6f054
--- /dev/null
+++ b/food_basic/textures/food_butter.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cactus_juice.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cake_carrot_texture.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cake_carrot_texture_side.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cake_choco_texture.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cake_choco_texture_side.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cake_texture.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cake_texture_side.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cakemix_carrot.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cakemix_choco.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_cakemix_plain.png
Binary files differ
diff --git a/food_basic/textures/food_carrot.png b/food_basic/textures/food_carrot.png
new file mode 100644
index 0000000..5ed61ac
--- /dev/null
+++ b/food_basic/textures/food_carrot.png
Binary files differ
diff --git a/food_basic/textures/food_cheese.png b/food_basic/textures/food_cheese.png
new file mode 100644
index 0000000..eec185c
--- /dev/null
+++ b/food_basic/textures/food_cheese.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_chocolate_powder.png
Binary files differ
diff --git a/food_basic/textures/food_cocoa.png b/food_basic/textures/food_cocoa.png
new file mode 100644
index 0000000..4ad6b35
--- /dev/null
+++ b/food_basic/textures/food_cocoa.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_dark_chocolate.png
Binary files differ
diff --git a/food_basic/textures/food_egg.png b/food_basic/textures/food_egg.png
new file mode 100644
index 0000000..50010de
--- /dev/null
+++ b/food_basic/textures/food_egg.png
Binary files differ
diff --git a/food_basic/textures/food_flour.png b/food_basic/textures/food_flour.png
new file mode 100644
index 0000000..a526b20
--- /dev/null
+++ b/food_basic/textures/food_flour.png
Binary files differ
diff --git a/food_basic/textures/food_meat.png b/food_basic/textures/food_meat.png
new file mode 100644
index 0000000..d4e4abb
--- /dev/null
+++ b/food_basic/textures/food_meat.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_meat_raw.png
Binary files differ
diff --git a/food_basic/textures/food_milk.png b/food_basic/textures/food_milk.png
new file mode 100644
index 0000000..e535264
--- /dev/null
+++ b/food_basic/textures/food_milk.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_milk_chocolate.png
Binary files differ
diff --git a/food_basic/textures/food_orange.png b/food_basic/textures/food_orange.png
new file mode 100644
index 0000000..4c5e045
--- /dev/null
+++ b/food_basic/textures/food_orange.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_orange_juice.png
Binary files differ
diff --git a/food_basic/textures/food_pasta.png b/food_basic/textures/food_pasta.png
new file mode 100644
index 0000000..9fa194b
--- /dev/null
+++ b/food_basic/textures/food_pasta.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_pasta_bake.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_pasta_bake_raw.png
Binary files differ
diff --git a/food_basic/textures/food_potato.png b/food_basic/textures/food_potato.png
new file mode 100644
index 0000000..6e91d6a
--- /dev/null
+++ b/food_basic/textures/food_potato.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_rainbow_juice.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_soup_chicken.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_soup_chicken_raw.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_soup_tomato.png
Binary files 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
--- /dev/null
+++ b/food_basic/textures/food_soup_tomato_raw.png
Binary files differ
diff --git a/food_basic/textures/food_strawberry.png b/food_basic/textures/food_strawberry.png
new file mode 100644
index 0000000..0a80f45
--- /dev/null
+++ b/food_basic/textures/food_strawberry.png
Binary files differ
diff --git a/food_basic/textures/food_sugar.png b/food_basic/textures/food_sugar.png
new file mode 100644
index 0000000..10ecf70
--- /dev/null
+++ b/food_basic/textures/food_sugar.png
Binary files differ
diff --git a/food_basic/textures/food_tomato.png b/food_basic/textures/food_tomato.png
new file mode 100644
index 0000000..c998b60
--- /dev/null
+++ b/food_basic/textures/food_tomato.png
Binary files differ
diff --git a/food_basic/textures/food_wheat.png b/food_basic/textures/food_wheat.png
new file mode 100644
index 0000000..8ecd735
--- /dev/null
+++ b/food_basic/textures/food_wheat.png
Binary files differ