summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drinks/hot.lua22
-rw-r--r--drinks/hot.lua~81
-rw-r--r--food/sandwich.lua20
-rw-r--r--food/sandwich.lua~68
-rw-r--r--init.lua2
-rw-r--r--init.lua~98
6 files changed, 247 insertions, 44 deletions
diff --git a/drinks/hot.lua b/drinks/hot.lua
index f39e0a5..1f600a0 100644
--- a/drinks/hot.lua
+++ b/drinks/hot.lua
@@ -57,25 +57,3 @@ minetest.register_craft({
output = "food:coffeebean_cooked",
recipe = "food:coffeebean",
})
-
-
-
-
--------------------------Hot Chocolate--------------------------
-
-minetest.register_craftitem("food:hotchoco", {
- description = "Hot Chocolate",
- inventory_image = "food_hotchoco.png",
- on_use = minetest.item_eat(4),
-})
-
-minetest.register_craft({
-output = '"food:hotchoco" 1 ',
-recipe = {
-{"food:chocolate_powder"},
-{"food:milk"},
-{"food:mug"},
-},
-})
-
-
diff --git a/drinks/hot.lua~ b/drinks/hot.lua~
new file mode 100644
index 0000000..f39e0a5
--- /dev/null
+++ b/drinks/hot.lua~
@@ -0,0 +1,81 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/drinks/hot.lua
+-- adds hot drinks
+-- =====================================
+-- [regis-food] Coffee
+-- [craft] Coffe
+-- [regis-food] Hot Chocolate
+-- [craft] Hot Chocolate
+-- =====================================
+
+print ("RubenFood [Master] - Loading Hot")
+
+-----------------------------Coffee-----------------------------
+
+minetest.register_craftitem("food:coffeebean",{
+ description = "Raw Coffee Bean",
+ tiles = {"food_coffee.png"},
+ inventory_image = "food_coffee.png",
+})
+
+minetest.register_craftitem("food:coffeebean_cooked",{
+ description = "Cooked Coffee Bean",
+ tiles = {"food_coffee_cooked.png"},
+ inventory_image = "food_coffee_cooked.png",
+})
+
+minetest.register_craftitem("food:coffee", {
+ description = "Coffee",
+ inventory_image = "food_coffee_cup.png",
+ on_use = minetest.item_eat(10),
+ groups={food=1},
+})
+
+minetest.register_craft({
+ output = '"food:coffeebean" 1',
+ recipe = {
+ {'""','"default:dry_shrub"','""'},
+ {'""','"default:dry_shrub"','""'},
+ {'""','"default:dry_shrub"','""'},
+ }
+})
+
+minetest.register_craft({
+ output = '"food:coffee" 1',
+ recipe = {
+ {'""','"food:coffeebean_cooked"','""'},
+ {'""','"food:coffeebean_cooked"','""'},
+ {'""','"food:cup"','""'},
+ }
+})
+
+minetest.register_craft({
+ type = "cooking",
+ output = "food:coffeebean_cooked",
+ recipe = "food:coffeebean",
+})
+
+
+
+
+-------------------------Hot Chocolate--------------------------
+
+minetest.register_craftitem("food:hotchoco", {
+ description = "Hot Chocolate",
+ inventory_image = "food_hotchoco.png",
+ on_use = minetest.item_eat(4),
+})
+
+minetest.register_craft({
+output = '"food:hotchoco" 1 ',
+recipe = {
+{"food:chocolate_powder"},
+{"food:milk"},
+{"food:mug"},
+},
+})
+
+
diff --git a/food/sandwich.lua b/food/sandwich.lua
index f27d641..f5b2b9f 100644
--- a/food/sandwich.lua
+++ b/food/sandwich.lua
@@ -29,15 +29,6 @@ minetest.register_craftitem("food:sw_cheese", {
groups={food=2},
})
-minetest.register_craftitem("food:burger", {
- description = "Burger",
- inventory_image = "food_burger.png",
- on_use = minetest.item_eat(10),
- groups={food=2},
-})
-
-
-
minetest.register_craft({
output = '"food:sw_meat" 1',
recipe = {
@@ -55,14 +46,3 @@ minetest.register_craft({
{"",'"food:bread_slice"',""},
}
})
-
-
-
-minetest.register_craft({
- output = '"food:burger" 1',
- recipe = {
- {"",'"food:bun"',""},
- {"food:butter","food:meat",'"food:butter"'},
- {"",'"food:bun"',""},
- }
-})
diff --git a/food/sandwich.lua~ b/food/sandwich.lua~
new file mode 100644
index 0000000..f27d641
--- /dev/null
+++ b/food/sandwich.lua~
@@ -0,0 +1,68 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- ======================================
+-- >> rubenfood/food/sandwich.lua
+-- adds sandwich
+-- ======================================
+-- [regis-food] Cheese Sandwich
+-- [craft] Cheese Sandwich
+-- [regis-food] Venison Sandwich
+-- [craft] Venison Sandwich
+-- [regis-food] Burger
+-- [craft] Burger
+-- ======================================
+
+print "RubenFood [Master] - Loading Sandwiches"
+
+minetest.register_craftitem("food:sw_meat", {
+ description = "Venison Sandwich",
+ inventory_image = "food_sw_meat.png",
+ on_use = minetest.item_eat(10),
+ groups={food=2},
+})
+
+minetest.register_craftitem("food:sw_cheese", {
+ description = "Cheese Sandwich",
+ inventory_image = "food_sw_cheese.png",
+ on_use = minetest.item_eat(8),
+ groups={food=2},
+})
+
+minetest.register_craftitem("food:burger", {
+ description = "Burger",
+ inventory_image = "food_burger.png",
+ on_use = minetest.item_eat(10),
+ groups={food=2},
+})
+
+
+
+minetest.register_craft({
+ output = '"food:sw_meat" 1',
+ recipe = {
+ {"",'"food:bread_slice"',""},
+ {"food:butter","food:meat",'"food:butter"'},
+ {"",'"food:bread_slice"',""},
+ }
+})
+
+minetest.register_craft({
+ output = '"food:sw_cheese" 1',
+ recipe = {
+ {"",'"food:bread_slice"',""},
+ {"food:butter","food:cheese",'"food:butter"'},
+ {"",'"food:bread_slice"',""},
+ }
+})
+
+
+
+minetest.register_craft({
+ output = '"food:burger" 1',
+ recipe = {
+ {"",'"food:bun"',""},
+ {"food:butter","food:meat",'"food:butter"'},
+ {"",'"food:bun"',""},
+ }
+})
diff --git a/init.lua b/init.lua
index 07a7787..d350680 100644
--- a/init.lua
+++ b/init.lua
@@ -25,11 +25,9 @@ dofile(minetest.get_modpath("food").."/food/soup.lua")
dofile(minetest.get_modpath("food").."/snacks/crumbles.lua")
dofile(minetest.get_modpath("food").."/snacks/cakes.lua")
dofile(minetest.get_modpath("food").."/snacks/tarts.lua")
-dofile(minetest.get_modpath("food").."/snacks/misc.lua")
dofile(minetest.get_modpath("food").."/drinks/juice.lua")
dofile(minetest.get_modpath("food").."/drinks/hot.lua")
-dofile(minetest.get_modpath("food").."/drinks/milkshakes.lua")
diff --git a/init.lua~ b/init.lua~
new file mode 100644
index 0000000..ae4698f
--- /dev/null
+++ b/init.lua~
@@ -0,0 +1,98 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/init.lua
+-- inits the mod
+-- =====================================
+-- [regis-item] Cup
+-- [craft] Cup
+-- [regis-food] Cigerette (-4)
+-- =====================================
+
+print ("Food: Loading mainframe: [Master]")
+
+----------------------Load Files-----------------------------
+dofile(minetest.get_modpath("food").."/support.lua")
+dofile(minetest.get_modpath("food").."/tools/oven.lua")
+
+dofile(minetest.get_modpath("food").."/dairy.lua")
+dofile(minetest.get_modpath("food").."/food/meats.lua")
+dofile(minetest.get_modpath("food").."/food/sandwich.lua")
+dofile(minetest.get_modpath("food").."/food/baking.lua")
+dofile(minetest.get_modpath("food").."/food/soup.lua")
+
+dofile(minetest.get_modpath("food").."/snacks/crumbles.lua")
+dofile(minetest.get_modpath("food").."/snacks/cakes.lua")
+dofile(minetest.get_modpath("food").."/snacks/tarts.lua")
+dofile(minetest.get_modpath("food").."/snacks/misc.lua")
+
+dofile(minetest.get_modpath("food").."/drinks/juice.lua")
+dofile(minetest.get_modpath("food").."/drinks/hot.lua")
+
+
+
+----------------------------Cup------------------------------
+
+minetest.register_craftitem("food:mug",{
+ description = "Mug",
+ inventory_image = "food_mug.png",
+})
+
+minetest.register_craftitem("food:clay_mug",{
+ description = "Clay Mug",
+ inventory_image = "food_clay_mug.png",
+})
+
+minetest.register_craft({
+ output = '"food:clay_mug" 1',
+ recipe = {
+ {"default:clay_lump","","default:clay_lump"},
+ {"default:clay_lump","","default:clay_lump"},
+ {"default:clay_lump","default:clay_lump","default:clay_lump"},
+ }
+})
+
+minetest.register_craft({
+ type = "cooking",
+ output = "food:mug",
+ recipe = "food:clay_mug",
+})
+
+-----------------------------Bowl-------------------------------
+
+minetest.register_craftitem("food:bowl",{
+ description = "Bowl",
+ inventory_image = "food_bowl.png",
+})
+
+
+-----------------------------Sugar------------------------------
+minetest.register_craftitem("food:sugar", {
+ description = "Sugar",
+ inventory_image = "food_sugar.png",
+})
+minetest.register_craft({
+ output = '"food:sugar" 20',
+ recipe = {
+ {'"default:papyrus"'},
+
+ }
+})
+
+----------------------------Cigerete----------------------------
+minetest.register_craftitem("food:cigarette", {
+ description = "Cigarette",
+ inventory_image = "food_cigar.png",
+ on_use = minetest.item_eat(-4),
+})
+
+minetest.register_craft({
+ output = '"food:cigarette" 1',
+ recipe = {
+ {'"default:dry_shrub"','"default:dry_shrub"','"default:dry_shrub"'},
+
+ }
+})
+
+print("food: Mainframe loaded")