Change mod name from rubenfood to food
30
baking.lua
@ -11,31 +11,11 @@
|
|||||||
|
|
||||||
|
|
||||||
-- doughs
|
-- doughs
|
||||||
minetest.register_craftitem("rubenfood:dough", {
|
if not minetest.get_modpath("farming") then
|
||||||
|
|
||||||
|
else
|
||||||
|
minetest.register_craftitem(":farming:cake_mix", {
|
||||||
description = "Dough",
|
description = "Dough",
|
||||||
inventory_image = "farming_cake_mix.png",
|
inventory_image = "farming_cake_mix.png",
|
||||||
})
|
})
|
||||||
|
end
|
||||||
if add_bread_craft then
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "rubenfood:dough",
|
|
||||||
type = "shapeless",
|
|
||||||
recipe = {"rubenfood:flour","rubenfood:flour", "bucket:bucket_water"},
|
|
||||||
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "cooking",
|
|
||||||
output = "rubenfood:bread",
|
|
||||||
recipe = "rubenfood:dough",
|
|
||||||
cooktime = 10
|
|
||||||
})
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:bread", {
|
|
||||||
description = "Bread",
|
|
||||||
inventory_image = "ruben_bread.png",
|
|
||||||
stack_max = 1,
|
|
||||||
on_use = minetest.item_eat(10)
|
|
||||||
})
|
|
36
cakes.lua
@ -11,39 +11,39 @@
|
|||||||
print("RubenFood [Master] - Loading Cakes")
|
print("RubenFood [Master] - Loading Cakes")
|
||||||
|
|
||||||
--------------------------Cakes-------------------------
|
--------------------------Cakes-------------------------
|
||||||
minetest.register_craftitem("rubenfood:cakemix_plain",{
|
minetest.register_craftitem("food:cakemix_plain",{
|
||||||
description = "Cake Mix",
|
description = "Cake Mix",
|
||||||
tiles = {"ruben_pastry.png"},
|
tiles = {"food_pastry.png"},
|
||||||
inventory_image = "ruben_pastry.png",
|
inventory_image = "food_pastry.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:cakemix_choco",{
|
minetest.register_craftitem("food:cakemix_choco",{
|
||||||
description = "Chocolate Cake Mix",
|
description = "Chocolate Cake Mix",
|
||||||
tiles = {"ruben_pastry_choco.png"},
|
tiles = {"food_pastry_choco.png"},
|
||||||
inventory_image = "ruben_pastry_choco.png",
|
inventory_image = "food_pastry_choco.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "rubenfood:cake",
|
output = "food:cake",
|
||||||
recipe = "rubenfood:cakemix_plain",
|
recipe = "food:cakemix_plain",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "rubenfood:cake_chocolate",
|
output = "food:cake_chocolate",
|
||||||
recipe = "rubenfood:cakemix_choco",
|
recipe = "food:cakemix_choco",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:cake", {
|
minetest.register_craftitem("food:cake", {
|
||||||
description = "Cake",
|
description = "Cake",
|
||||||
inventory_image = "ruben_cake.png",
|
inventory_image = "food_cake.png",
|
||||||
on_use = minetest.item_eat(30),
|
on_use = minetest.item_eat(30),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:cake_chocolate", {
|
minetest.register_craftitem("food:cake_chocolate", {
|
||||||
description = "Chocolate Cake",
|
description = "Chocolate Cake",
|
||||||
inventory_image = "ruben_cake_choco.png",
|
inventory_image = "food_cake_choco.png",
|
||||||
on_use = minetest.item_eat(40),
|
on_use = minetest.item_eat(40),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -55,15 +55,15 @@ minetest.register_craftitem("rubenfood:cake_chocolate", {
|
|||||||
----------------------------- Cake Pastry ----------------------------
|
----------------------------- Cake Pastry ----------------------------
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:cakemix_plain" 1',
|
output = '"food:cakemix_plain" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'"rubenfood:flour"',"",'"rubenfood:egg"'},
|
{'"food:flour"',"",'"food:egg"'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:cakemix_choco" 1',
|
output = '"food:cakemix_choco" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'""','"default:dirt"','""'}, {'"rubenfood:flour"',"",'"rubenfood:egg"'},
|
{'""','"default:dirt"','""'}, {'"food:flour"',"",'"food:egg"'},
|
||||||
}
|
}
|
||||||
})
|
})
|
16
dairy.lua
@ -11,28 +11,28 @@
|
|||||||
-- [craft] Butter
|
-- [craft] Butter
|
||||||
-- ======================================
|
-- ======================================
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:butter", {
|
minetest.register_craftitem("food:butter", {
|
||||||
description = "Butter",
|
description = "Butter",
|
||||||
inventory_image = "ruben_butter.png",
|
inventory_image = "food_butter.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:cheese", {
|
minetest.register_craftitem("food:cheese", {
|
||||||
description = "Cheese",
|
description = "Cheese",
|
||||||
inventory_image = "ruben_cheese.png",
|
inventory_image = "food_cheese.png",
|
||||||
on_use = minetest.item_eat(4),
|
on_use = minetest.item_eat(4),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:butter" 1',
|
output = '"food:butter" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'"rubenfood:milk"','"rubenfood:milk"'},
|
{'"food:milk"','"food:milk"'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:cheese" 1',
|
output = '"food:cheese" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'"rubenfood:butter"','"rubenfood:butter"'},
|
{'"food:butter"','"food:butter"'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
52
drinks.lua
@ -14,12 +14,12 @@
|
|||||||
print ("RubenFood [Master] - Loading Juices")
|
print ("RubenFood [Master] - Loading Juices")
|
||||||
|
|
||||||
--------------------------Apple Juice--------------------------
|
--------------------------Apple Juice--------------------------
|
||||||
minetest.register_node(":rubenfood:apple_juice", {
|
minetest.register_node("food:apple_juice", {
|
||||||
description = "Apple Juice",
|
description = "Apple Juice",
|
||||||
|
|
||||||
visual_scale = 1.0,
|
visual_scale = 1.0,
|
||||||
tiles = {"ruben_juice_apple.png"},
|
tiles = {"food_juice_apple.png"},
|
||||||
inventory_image = "ruben_juice_apple.png",
|
inventory_image = "food_juice_apple.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -29,11 +29,11 @@ minetest.register_node(":rubenfood:apple_juice", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:apple_juice" 4',
|
output = '"food:apple_juice" 4',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'""','""','""'},
|
{'""','""','""'},
|
||||||
{'""','"default:apple"','""'},
|
{'""','"default:apple"','""'},
|
||||||
{'""','"rubenfood:cup"','""'},
|
{'""','"food:cup"','""'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -42,12 +42,12 @@ minetest.register_craft({
|
|||||||
|
|
||||||
|
|
||||||
----------------------cactus juice----------------------------
|
----------------------cactus juice----------------------------
|
||||||
minetest.register_node(":rubenfood:cactus_juice", {
|
minetest.register_node(":food:cactus_juice", {
|
||||||
description = "Cactuz Juice",
|
description = "Cactuz Juice",
|
||||||
|
|
||||||
visual_scale = 1.0,
|
visual_scale = 1.0,
|
||||||
tiles = {"ruben_juice_cactus.png"},
|
tiles = {"food_juice_cactus.png"},
|
||||||
inventory_image = "ruben_juice_cactus.png",
|
inventory_image = "food_juice_cactus.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -57,11 +57,11 @@ minetest.register_node(":rubenfood:cactus_juice", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:cactus_juice" 4',
|
output = '"food:cactus_juice" 4',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'""','""','""'},
|
{'""','""','""'},
|
||||||
{'""','"default:cactus"','""'},
|
{'""','"default:cactus"','""'},
|
||||||
{'""','"rubenfood:cup"','""'},
|
{'""','"food:cup"','""'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -76,24 +76,24 @@ minetest.register_craft({
|
|||||||
|
|
||||||
-----------------------------Coffee-----------------------------
|
-----------------------------Coffee-----------------------------
|
||||||
|
|
||||||
minetest.register_craftitem(":rubenfood:coffeebean",{
|
minetest.register_craftitem(":food:coffeebean",{
|
||||||
description = "Raw Coffee Bean",
|
description = "Raw Coffee Bean",
|
||||||
tiles = {"ruben_coffee.png"},
|
tiles = {"food_coffee.png"},
|
||||||
inventory_image = "ruben_coffee.png",
|
inventory_image = "food_coffee.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":rubenfood:coffeebean_cooked",{
|
minetest.register_craftitem(":food:coffeebean_cooked",{
|
||||||
description = "Cooked Coffee Bean",
|
description = "Cooked Coffee Bean",
|
||||||
tiles = {"ruben_coffee_cooked.png"},
|
tiles = {"food_coffee_cooked.png"},
|
||||||
inventory_image = "ruben_coffee_cooked.png",
|
inventory_image = "food_coffee_cooked.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":rubenfood:coffee", {
|
minetest.register_node(":food:coffee", {
|
||||||
description = "Coffee",
|
description = "Coffee",
|
||||||
|
|
||||||
visual_scale = 1.0,
|
visual_scale = 1.0,
|
||||||
tiles = {"ruben_coffee_cup.png"},
|
tiles = {"food_coffee_cup.png"},
|
||||||
inventory_image = "ruben_coffee_cup.png",
|
inventory_image = "food_coffee_cup.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -103,7 +103,7 @@ minetest.register_node(":rubenfood:coffee", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:coffeebean" 1',
|
output = '"food:coffeebean" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'""','"default:dry_shrub"','""'},
|
{'""','"default:dry_shrub"','""'},
|
||||||
{'""','"default:dry_shrub"','""'},
|
{'""','"default:dry_shrub"','""'},
|
||||||
@ -112,18 +112,18 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:coffee" 1',
|
output = '"food:coffee" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'""','"rubenfood:coffeebean_cooked"','""'},
|
{'""','"food:coffeebean_cooked"','""'},
|
||||||
{'""','"rubenfood:coffeebean_cooked"','""'},
|
{'""','"food:coffeebean_cooked"','""'},
|
||||||
{'""','"rubenfood:cup"','""'},
|
{'""','"food:cup"','""'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "rubenfood:coffeebean_cooked",
|
output = "food:coffeebean_cooked",
|
||||||
recipe = "rubenfood:coffeebean",
|
recipe = "food:coffeebean",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ minetest.register_node(":default:orange", {
|
|||||||
description = "Orange Fruit",
|
description = "Orange Fruit",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 1.0,
|
visual_scale = 1.0,
|
||||||
tiles = {"ruben_orange.png"},
|
tiles = {"food_orange.png"},
|
||||||
inventory_image = "ruben_orange.png",
|
inventory_image = "food_orange.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
34
init.lua
@ -10,31 +10,31 @@
|
|||||||
-- [regis-food] Cigerette (-4)
|
-- [regis-food] Cigerette (-4)
|
||||||
-- =====================================
|
-- =====================================
|
||||||
|
|
||||||
print ("RubenFood: Loading mainframe: [Master]")
|
print ("food: Loading mainframe: [Master]")
|
||||||
|
|
||||||
----------------------Load Files-----------------------------
|
----------------------Load Files-----------------------------
|
||||||
dofile(minetest.get_modpath("rubenfood").."/support.lua")
|
dofile(minetest.get_modpath("food").."/support.lua")
|
||||||
dofile(minetest.get_modpath("rubenfood").."/dairy.lua")
|
dofile(minetest.get_modpath("food").."/dairy.lua")
|
||||||
|
|
||||||
dofile(minetest.get_modpath("rubenfood").."/baking.lua")
|
dofile(minetest.get_modpath("food").."/baking.lua")
|
||||||
dofile(minetest.get_modpath("rubenfood").."/cakes.lua")
|
dofile(minetest.get_modpath("food").."/cakes.lua")
|
||||||
dofile(minetest.get_modpath("rubenfood").."/tarts.lua")
|
dofile(minetest.get_modpath("food").."/tarts.lua")
|
||||||
|
|
||||||
dofile(minetest.get_modpath("rubenfood").."/drinks.lua")
|
dofile(minetest.get_modpath("food").."/drinks.lua")
|
||||||
--dofile(minetest.get_modpath("rubenfood").."/fruits.lua")
|
--dofile(minetest.get_modpath("food").."/fruits.lua")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
----------------------------Cup------------------------------
|
----------------------------Cup------------------------------
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:mug",{
|
minetest.register_craftitem("food:mug",{
|
||||||
description = "Mug",
|
description = "Mug",
|
||||||
tiles = {"ruben_mug.png"},
|
tiles = {"food_mug.png"},
|
||||||
inventory_image = "ruben_mug.png",
|
inventory_image = "food_mug.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:cup" 4',
|
output = '"food:cup" 4',
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:glass"},
|
{"default:glass"},
|
||||||
{"default:glass"},
|
{"default:glass"},
|
||||||
@ -43,11 +43,11 @@ minetest.register_craft({
|
|||||||
|
|
||||||
|
|
||||||
----------------------------Cigerete----------------------------
|
----------------------------Cigerete----------------------------
|
||||||
minetest.register_node(":rubenfood:cigarette", {
|
minetest.register_node(":food:cigarette", {
|
||||||
description = "Cigarette",
|
description = "Cigarette",
|
||||||
visual_scale = 1.0,
|
visual_scale = 1.0,
|
||||||
tiles = {"ruben_cigar.png"},
|
tiles = {"food_cigar.png"},
|
||||||
inventory_image = "ruben_cigar.png",
|
inventory_image = "food_cigar.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -57,11 +57,11 @@ minetest.register_node(":rubenfood:cigarette", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:cigarette" 1',
|
output = '"food:cigarette" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'"default:dry_shrub"','"default:dry_shrub"','"default:dry_shrub"'},
|
{'"default:dry_shrub"','"default:dry_shrub"','"default:dry_shrub"'},
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
print("Rubenfood: Mainframe loaded")
|
print("food: Mainframe loaded")
|
60
support.lua
@ -24,44 +24,80 @@ end
|
|||||||
|
|
||||||
|
|
||||||
print "RubenFood [Support] - Farming Mod"
|
print "RubenFood [Support] - Farming Mod"
|
||||||
node_implement("farming","farming:flour","rubenfood:flour",function()
|
node_implement("farming","farming:flour","food:flour",function()
|
||||||
minetest.register_craftitem("rubenfood:flour", {
|
minetest.register_craftitem("food:flour", {
|
||||||
description = "Flour",
|
description = "Flour",
|
||||||
inventory_image = "farming_flour.png",
|
inventory_image = "farming_flour.png",
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
node_implement("farming","farming:strawberry_item","rubenfood:strawberry",function()
|
node_implement("farming","farming:strawberry_item","food:strawberry",function()
|
||||||
minetest.register_craftitem("rubenfood:strawberry", {
|
minetest.register_craftitem("food:strawberry", {
|
||||||
description = "Strawberry",
|
description = "Strawberry",
|
||||||
inventory_image = "farming_strawberry.png",
|
inventory_image = "farming_strawberry.png",
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
node_implement("farming","farming:bread","food:bread",function()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craftitem("food:bread", {
|
||||||
|
description = "Bread",
|
||||||
|
inventory_image = "farming_bread.png",
|
||||||
|
stack_max = 1,
|
||||||
|
on_use = minetest.item_eat(10)
|
||||||
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "food:dough",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"food:flour", "food:flour", "food:flour", "food:flour", "bucket:bucket_water"},
|
||||||
|
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||||
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "food:bread",
|
||||||
|
recipe = "food:dough",
|
||||||
|
cooktime = 10
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
node_implement("farming","farming:cake_mix","food:dough",function()
|
||||||
|
minetest.register_craftitem("food:dough", {
|
||||||
|
description = "Cake Mix",
|
||||||
|
inventory_image = "farming_cake_mix.png",
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
print "RubenFood [Support] - Animal Mod"
|
print "RubenFood [Support] - Animal Mod"
|
||||||
node_implement("animalmaterials","animalmaterials:glass","rubenfood:cup",function()
|
node_implement("animalmaterials","animalmaterials:glass","food:cup",function()
|
||||||
minetest.register_craftitem("rubenfood:cup",{
|
minetest.register_craftitem("food:cup",{
|
||||||
description = "Glass",
|
description = "Glass",
|
||||||
tiles = {"ruben_cup.png"},
|
tiles = {"food_cup.png"},
|
||||||
inventory_image = "ruben_cup.png",
|
inventory_image = "food_cup.png",
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
node_implement("animalmaterials","animalmaterials:egg","rubenfood:egg",function()
|
node_implement("animalmaterials","animalmaterials:egg","food:egg",function()
|
||||||
minetest.register_craftitem("rubenfood:egg", {
|
minetest.register_craftitem("food:egg", {
|
||||||
description = "Egg",
|
description = "Egg",
|
||||||
image = "animalmaterials_egg.png",
|
image = "animalmaterials_egg.png",
|
||||||
stack_max=10
|
stack_max=10
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
node_implement("animalmaterials","animalmaterials:milk","rubenfood:milk",function()
|
node_implement("animalmaterials","animalmaterials:milk","food:milk",function()
|
||||||
minetest.register_craftitem("rubenfood:milk", {
|
minetest.register_craftitem("food:milk", {
|
||||||
description = "Milk",
|
description = "Milk",
|
||||||
image = "animalmaterials_milk.png",
|
image = "animalmaterials_milk.png",
|
||||||
on_use = minetest.item_eat(1),
|
on_use = minetest.item_eat(1),
|
||||||
|
24
tarts.lua
@ -10,39 +10,39 @@
|
|||||||
|
|
||||||
print "RubenFood [Master] - Loading Tarts"
|
print "RubenFood [Master] - Loading Tarts"
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:tart_strawberry", {
|
minetest.register_craftitem("food:tart_strawberry", {
|
||||||
description = "Strawberry Tart",
|
description = "Strawberry Tart",
|
||||||
inventory_image = "ruben_tart_strawberry.png",
|
inventory_image = "food_tart_strawberry.png",
|
||||||
on_use = minetest.item_eat(30),
|
on_use = minetest.item_eat(30),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:tart_base", {
|
minetest.register_craftitem("food:tart_base", {
|
||||||
description = "Tart Base",
|
description = "Tart Base",
|
||||||
inventory_image = "ruben_tart_base.png",
|
inventory_image = "food_tart_base.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("rubenfood:tart_base_raw", {
|
minetest.register_craftitem("food:tart_base_raw", {
|
||||||
description = "Raw Tart Base",
|
description = "Raw Tart Base",
|
||||||
inventory_image = "ruben_tart_base_raw.png",
|
inventory_image = "food_tart_base_raw.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "rubenfood:tart_base",
|
output = "food:tart_base",
|
||||||
recipe = "rubenfood:tart_base_raw",
|
recipe = "food:tart_base_raw",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:tart_strawberry" 1',
|
output = '"food:tart_strawberry" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'"rubenfood:strawberry"'},{'"rubenfood:tart_base"'},
|
{'"food:strawberry"'},{'"food:tart_base"'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"rubenfood:tart_base_raw" 1',
|
output = '"food:tart_base_raw" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'"rubenfood:flour"','"rubenfood:milk"','"rubenfood:egg"'},
|
{'"food:flour"','"food:milk"','"food:egg"'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 918 B After Width: | Height: | Size: 918 B |
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 506 B |
Before Width: | Height: | Size: 908 B After Width: | Height: | Size: 908 B |
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 518 B |
BIN
textures/food_cigar.png
Normal file
After Width: | Height: | Size: 730 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 895 B After Width: | Height: | Size: 895 B |
Before Width: | Height: | Size: 873 B After Width: | Height: | Size: 873 B |
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 729 B |
Before Width: | Height: | Size: 867 B After Width: | Height: | Size: 867 B |
Before Width: | Height: | Size: 780 B After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 842 B After Width: | Height: | Size: 842 B |
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 854 B |
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 693 B |