mirror of
https://github.com/rubenwardy/food.git
synced 2024-12-23 00:10:18 +01:00
Removed some stuff
This commit is contained in:
parent
f727a8f3ec
commit
dabcdb292d
@ -57,25 +57,3 @@ minetest.register_craft({
|
|||||||
output = "food:coffeebean_cooked",
|
output = "food:coffeebean_cooked",
|
||||||
recipe = "food:coffeebean",
|
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"},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
81
drinks/hot.lua~
Normal file
81
drinks/hot.lua~
Normal file
@ -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"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
@ -29,15 +29,6 @@ minetest.register_craftitem("food:sw_cheese", {
|
|||||||
groups={food=2},
|
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({
|
minetest.register_craft({
|
||||||
output = '"food:sw_meat" 1',
|
output = '"food:sw_meat" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -55,14 +46,3 @@ minetest.register_craft({
|
|||||||
{"",'"food:bread_slice"',""},
|
{"",'"food:bread_slice"',""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = '"food:burger" 1',
|
|
||||||
recipe = {
|
|
||||||
{"",'"food:bun"',""},
|
|
||||||
{"food:butter","food:meat",'"food:butter"'},
|
|
||||||
{"",'"food:bun"',""},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
68
food/sandwich.lua~
Normal file
68
food/sandwich.lua~
Normal file
@ -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"',""},
|
||||||
|
}
|
||||||
|
})
|
2
init.lua
2
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/crumbles.lua")
|
||||||
dofile(minetest.get_modpath("food").."/snacks/cakes.lua")
|
dofile(minetest.get_modpath("food").."/snacks/cakes.lua")
|
||||||
dofile(minetest.get_modpath("food").."/snacks/tarts.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/juice.lua")
|
||||||
dofile(minetest.get_modpath("food").."/drinks/hot.lua")
|
dofile(minetest.get_modpath("food").."/drinks/hot.lua")
|
||||||
dofile(minetest.get_modpath("food").."/drinks/milkshakes.lua")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
98
init.lua~
Normal file
98
init.lua~
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user