mirror of
https://github.com/rubenwardy/food.git
synced 2025-07-23 01:00:22 +02:00
Initial version 2 commit
This commit is contained in:
@ -1,69 +0,0 @@
|
||||
-- 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 "Food [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 "Food [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),
|
||||
groups={food=2},
|
||||
})
|
||||
|
||||
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"}}
|
||||
})
|
@ -1,11 +0,0 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- ======================================
|
||||
-- >> rubenfood/food/meats.lua
|
||||
-- adds meat products
|
||||
-- ======================================
|
||||
-- Nothing here yet
|
||||
-- ======================================
|
||||
|
||||
|
@ -1,48 +0,0 @@
|
||||
-- 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 "Food [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_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"',""},
|
||||
}
|
||||
})
|
@ -1,72 +0,0 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- =====================================
|
||||
-- >> rubenfood/food/soup.lua
|
||||
-- adds soup and stews
|
||||
-- =====================================
|
||||
--
|
||||
-- =====================================
|
||||
|
||||
print "Food [Master] - Loading Soups and Stews"
|
||||
|
||||
----------------------Tomato-----------------------------
|
||||
minetest.register_craftitem("food:soup_tomato", {
|
||||
description = "Tomato Soup",
|
||||
inventory_image = "food_soup_tomato.png",
|
||||
on_use = minetest.item_eat(4),
|
||||
groups={food=2},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:soup_tomato_raw", {
|
||||
description = "Raw Tomato Soup",
|
||||
inventory_image = "food_soup_tomato_raw.png",
|
||||
groups={food=2},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:soup_tomato",
|
||||
recipe = "food:soup_tomato_raw",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:soup_tomato_raw" 1',
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"bucket:bucket_water", "food:tomato", "bucket:bucket_water"},
|
||||
{"", "food:bowl", ""},
|
||||
},
|
||||
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"},{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||
})
|
||||
|
||||
|
||||
----------------------Chicken-----------------------------
|
||||
minetest.register_craftitem("food:soup_chicken", {
|
||||
description = "Chicken Soup",
|
||||
inventory_image = "food_soup_chicken.png",
|
||||
on_use = minetest.item_eat(4),
|
||||
groups={food=2},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:soup_chicken_raw", {
|
||||
description = "Raw Chicken Soup",
|
||||
inventory_image = "food_soup_chicken_raw.png",
|
||||
groups={food=2},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:soup_chicken",
|
||||
recipe = "food:soup_chicken_raw",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:soup_chicken_raw" 1',
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"bucket:bucket_water", "food:meat", "bucket:bucket_water"},
|
||||
{"", "food:bowl", ""},
|
||||
},
|
||||
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"},{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||
})
|
Reference in New Issue
Block a user