mirror of
https://github.com/rubenwardy/food.git
synced 2025-07-25 02:00:20 +02:00
Moved stuff around and added hot chocolate
This commit is contained in:
68
food/baking.lua
Normal file
68
food/baking.lua
Normal file
@ -0,0 +1,68 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- =====================================
|
||||
-- >> rubenfood/food/baking.lua
|
||||
-- adds bread and pies
|
||||
-- =====================================
|
||||
-- [regis-food] Bread
|
||||
-- [regis-food] Bread Slice
|
||||
-- [craft] Bread Slice
|
||||
-- [regis-food] Bun
|
||||
-- [craft] Bun
|
||||
-- [regis-item] Bun Dough
|
||||
-- [craft] Bun Dough
|
||||
-- =====================================
|
||||
|
||||
print "RubenFood [Master] - Loading Bread"
|
||||
-- doughs
|
||||
if not minetest.get_modpath("farming") then
|
||||
|
||||
else
|
||||
minetest.register_craftitem(":farming:cake_mix", {
|
||||
description = "Dough",
|
||||
inventory_image = "farming_cake_mix.png",
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:bread_slice" 10',
|
||||
recipe = {
|
||||
{'"food:bread"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:bread_slice", {
|
||||
description = "Bread Slice",
|
||||
inventory_image = "food_bread_slice.png",
|
||||
on_use = minetest.item_eat(2),
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
print "RubenFood [Master] - Loading Buns"
|
||||
minetest.register_craftitem("food:bun_mix", {
|
||||
description = "Bun Mix",
|
||||
inventory_image = "food_bun_mix.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:bun", {
|
||||
description = "Bun",
|
||||
inventory_image = "food_bun.png",
|
||||
on_use = minetest.item_eat(4),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:bun",
|
||||
recipe = "food:bun_mix",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:bun_mix" 5',
|
||||
recipe = {
|
||||
{"food:flour", "food:flour", "bucket:bucket_water"},
|
||||
},
|
||||
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||
})
|
26
food/meats.lua
Normal file
26
food/meats.lua
Normal file
@ -0,0 +1,26 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- ======================================
|
||||
-- >> rubenfood/food/meats.lua
|
||||
-- adds meat products
|
||||
-- ======================================
|
||||
-- [regis-food] Meat
|
||||
-- [craft] Meat
|
||||
-- ======================================
|
||||
|
||||
minetest.register_craftitem("food:meat", {
|
||||
description = "Venison",
|
||||
inventory_image = "food_meat.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:meat",
|
||||
recipe = "food:meat_raw",
|
||||
cooktime = 20
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
65
food/sandwich.lua
Normal file
65
food/sandwich.lua
Normal file
@ -0,0 +1,65 @@
|
||||
-- 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),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:sw_cheese", {
|
||||
description = "Cheese Sandwich",
|
||||
inventory_image = "food_sw_cheese.png",
|
||||
on_use = minetest.item_eat(8),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:burger", {
|
||||
description = "Burger",
|
||||
inventory_image = "food_burger.png",
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
|
||||
|
||||
|
||||
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"',""},
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user