mirror of
https://github.com/rubenwardy/food.git
synced 2025-07-21 08:10:24 +02:00
Corrected wrong push
This commit is contained in:
101
snacks/cakes.lua
Normal file
101
snacks/cakes.lua
Normal file
@ -0,0 +1,101 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- =====================================
|
||||
-- >> rubenfood/snacks/cakes.lua
|
||||
-- adds cakes
|
||||
-- =====================================
|
||||
-- [regis-food] Plain Cake
|
||||
-- [craft] Plain Cake
|
||||
-- [regis-food] Chocolate Cake
|
||||
-- [craft] Chocolate Cake
|
||||
-- [regis-food] Carrot Cake
|
||||
-- [craft] Chocolate Cake
|
||||
-- =====================================
|
||||
print("RubenFood [Master] - Loading Cakes")
|
||||
|
||||
--------------------------Cakes-------------------------
|
||||
minetest.register_craftitem("food:cakemix_plain",{
|
||||
description = "Cake Mix",
|
||||
inventory_image = "food_pastry.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:cakemix_choco",{
|
||||
description = "Chocolate Cake Mix",
|
||||
inventory_image = "food_pastry_choco.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:cakemix_carrot",{
|
||||
description = "Carrot Cake Mix",
|
||||
inventory_image = "food_pastry_carrot.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:cake",
|
||||
recipe = "food:cakemix_plain",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:cake_chocolate",
|
||||
recipe = "food:cakemix_choco",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:cake_carrot",
|
||||
recipe = "food:cakemix_carrot",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:cake", {
|
||||
description = "Cake",
|
||||
inventory_image = "food_cake.png",
|
||||
on_use = minetest.item_eat(30),
|
||||
groups={food=3},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:cake_chocolate", {
|
||||
description = "Chocolate Cake",
|
||||
inventory_image = "food_cake_choco.png",
|
||||
on_use = minetest.item_eat(40),
|
||||
groups={food=3},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:cake_carrot", {
|
||||
description = "Carrot Cake",
|
||||
inventory_image = "food_cake_carrot.png",
|
||||
on_use = minetest.item_eat(40),
|
||||
groups={food=3},
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
----------------------------- Cake Pastry ----------------------------
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:cakemix_plain" 1',
|
||||
recipe = {
|
||||
{'"food:flour"','"food:sugar"','"food:egg"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:cakemix_choco" 1',
|
||||
recipe = {
|
||||
{'""','"default:dirt"','""'}, {'"food:flour"','"food:sugar"','"food:egg"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:cakemix_carrot" 1',
|
||||
recipe = {
|
||||
{'""','"food:carrot"','""'}, {'"food:flour"','"food:sugar"','"food:egg"'},
|
||||
}
|
||||
})
|
37
snacks/crumbles.lua
Normal file
37
snacks/crumbles.lua
Normal file
@ -0,0 +1,37 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- =====================================
|
||||
-- >> rubenfood/snacks/crumbles.lua
|
||||
-- adds crumbles
|
||||
-- =====================================
|
||||
-- [regis-food] Rhubarb Crumble
|
||||
-- =====================================
|
||||
|
||||
print "RubenFood [Master] - Loading Crumbles"
|
||||
--Crumbles
|
||||
minetest.register_craftitem("food:crumble_rhubarb", {
|
||||
description = "Rhubarb Crumble",
|
||||
inventory_image = "food_crumble_rhubarb.png",
|
||||
on_use = minetest.item_eat(30),
|
||||
groups={food=3},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:crumble_rhubarb_raw", {
|
||||
description = "Raw Rhubarb Crumble",
|
||||
inventory_image = "food_crumble_rhubarb_raw.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:crumble_rhubarb_raw" 1',
|
||||
recipe = {
|
||||
{'"food:sugar"',"",""},
|
||||
{'"food:flour"','"food:rhubarb"','"food:butter"'}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:crumble_rhubarb",
|
||||
recipe = "food:crumble_rhubarb_raw",
|
||||
})
|
@ -1,58 +0,0 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- =====================================
|
||||
-- >> rubenfood/snacks/crumbles.lua
|
||||
-- adds crumbles
|
||||
-- =====================================
|
||||
-- [regis-food] Rhubarb Crumble
|
||||
-- =====================================
|
||||
|
||||
print "Food [Master] - Loading Splits"
|
||||
|
||||
-- Banana Split
|
||||
|
||||
minetest.register_craftitem("food_modern:banana_split_raw", {
|
||||
description = "Banana Split Raw",
|
||||
inventory_image = "food_banana_split_raw.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food_modern:banana_split", {
|
||||
description = "Banana Split",
|
||||
inventory_image = "food_banana_split.png",
|
||||
groups={food=1},
|
||||
on_use = minetest.item_eat(3),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food_modern:popcorn", {
|
||||
description = "Popcorn",
|
||||
inventory_image = "food_popcorn.png",
|
||||
groups={food=1},
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food_modern:corn_seed", {
|
||||
description = "Corn Pips",
|
||||
inventory_image = "food_corn_pip.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food_modern:popcorn",
|
||||
recipe = "food_modern:corn_seed",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "food_modern:corn_seed",
|
||||
recipe = {{"farming:wheat_seed"}},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "food_modern:banana_split_raw",
|
||||
recipe = {{"food:chocolate_milk"},{"food:banana"}},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food_modern:banana_split",
|
||||
recipe = "food_modern:banana_split_raw",
|
||||
})
|
53
snacks/tarts.lua
Normal file
53
snacks/tarts.lua
Normal file
@ -0,0 +1,53 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- ======================================
|
||||
-- >> rubenfood/snacks/tarts.lua
|
||||
-- adds diary products
|
||||
-- ======================================
|
||||
-- [regis-food] Strawberry Tart
|
||||
-- ======================================
|
||||
|
||||
print "RubenFood [Master] - Loading Tarts"
|
||||
|
||||
minetest.register_craftitem("food:tart_strawberry", {
|
||||
description = "Strawberry Tart",
|
||||
inventory_image = "food_tart_strawberry.png",
|
||||
on_use = minetest.item_eat(30),
|
||||
groups={food=3},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:tart_base", {
|
||||
description = "Tart Base",
|
||||
inventory_image = "food_tart_base.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:tart_base_raw", {
|
||||
description = "Raw Tart Base",
|
||||
inventory_image = "food_tart_base_raw.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:tart_base",
|
||||
recipe = "food:tart_base_raw",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:tart_strawberry" 1',
|
||||
recipe = {
|
||||
{'"food:strawberry"'},{'"food:tart_base"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:tart_base_raw" 1',
|
||||
recipe = {
|
||||
{'"food:flour"','"food:milk"','"food:egg"'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user