1
0
mirror of https://github.com/rubenwardy/food.git synced 2025-07-04 16:50:21 +02:00

Moved stuff around and added hot chocolate

This commit is contained in:
Rubenwardy
2012-09-10 20:04:10 +01:00
parent cf48b7dbad
commit b336aaa2b4
21 changed files with 183 additions and 93 deletions

View File

@ -14,18 +14,20 @@ print ("food: Loading mainframe: [Master]")
----------------------Load Files-----------------------------
dofile(minetest.get_modpath("food").."/support.lua")
dofile(minetest.get_modpath("food").."/oven.lua")
dofile(minetest.get_modpath("food").."/tools/oven.lua")
dofile(minetest.get_modpath("food").."/dairy.lua")
dofile(minetest.get_modpath("food").."/meats.lua")
dofile(minetest.get_modpath("food").."/sandwich.lua")
dofile(minetest.get_modpath("food").."/baking.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").."/crumbles.lua")
dofile(minetest.get_modpath("food").."/cakes.lua")
dofile(minetest.get_modpath("food").."/tarts.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").."/drinks.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")
@ -36,14 +38,27 @@ minetest.register_craftitem("food: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:cup" 4',
output = '"food:clay_mug" 1',
recipe = {
{"default:glass"},
{"default:glass"},
{"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",
})
-----------------------------Sugar------------------------------
minetest.register_craftitem("food:sugar", {
description = "Sugar",
@ -58,7 +73,7 @@ minetest.register_craft({
})
----------------------------Cigerete----------------------------
minetest.register_node("food:cigarette", {
minetest.register_craftitem("food:cigarette", {
description = "Cigarette",
inventory_image = "food_cigar.png",
on_use = minetest.item_eat(-4),