forked from mtcontrib/food
DocFarming support and more foods added
This commit is contained in:
parent
0dd3316579
commit
ed0f8e255f
@ -11,7 +11,7 @@
|
||||
-- [craft] Hot Chocolate
|
||||
-- =====================================
|
||||
|
||||
print ("RubenFood [Master] - Loading Hot")
|
||||
print ("Food [Master] - Loading Hot")
|
||||
|
||||
-----------------------------Coffee-----------------------------
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
-- [craft] Cactus Juice
|
||||
-- =====================================
|
||||
|
||||
print ("RubenFood [Master] - Loading Juices")
|
||||
print ("Food [Master] - Loading Juices")
|
||||
|
||||
--------------------------Apple Juice--------------------------
|
||||
minetest.register_craftitem("food:apple_juice", {
|
||||
@ -47,4 +47,22 @@ minetest.register_craft({
|
||||
{'""','"default:cactus"','""'},
|
||||
{'""','"food:cup"','""'},
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
|
||||
--------------------------Apple Juice--------------------------
|
||||
minetest.register_craftitem("food:rainbow_juice", {
|
||||
description = "Nyan Rainbow Juice",
|
||||
inventory_image = "food_juice_rainbow.png",
|
||||
on_use = minetest.item_eat(50)
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:rainbow_juice" 99',
|
||||
recipe = {
|
||||
{"","",""},
|
||||
{"","default:nyancat_rainbow",""},
|
||||
{"","food:cup",""},
|
||||
}
|
||||
})
|
||||
|
@ -14,7 +14,7 @@
|
||||
-- [craft] Bun Dough
|
||||
-- =====================================
|
||||
|
||||
print "RubenFood [Master] - Loading Bread"
|
||||
print "Food [Master] - Loading Bread"
|
||||
-- doughs
|
||||
if not minetest.get_modpath("farming") then
|
||||
|
||||
@ -41,7 +41,7 @@ minetest.register_craftitem("food:bread_slice", {
|
||||
|
||||
|
||||
|
||||
print "RubenFood [Master] - Loading Buns"
|
||||
print "Food [Master] - Loading Buns"
|
||||
minetest.register_craftitem("food:bun_mix", {
|
||||
description = "Bun Mix",
|
||||
inventory_image = "food_bun_mix.png",
|
||||
@ -66,4 +66,4 @@ minetest.register_craft({
|
||||
{"food:flour", "food:flour", "bucket:bucket_water"},
|
||||
},
|
||||
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
|
||||
})
|
||||
})
|
||||
|
@ -13,7 +13,7 @@
|
||||
-- [craft] Burger
|
||||
-- ======================================
|
||||
|
||||
print "RubenFood [Master] - Loading Sandwiches"
|
||||
print "Food [Master] - Loading Sandwiches"
|
||||
|
||||
minetest.register_craftitem("food:sw_meat", {
|
||||
description = "Venison Sandwich",
|
||||
|
3
init.lua
3
init.lua
@ -14,7 +14,6 @@ print ("Food: Loading mainframe: [Master]")
|
||||
|
||||
----------------------Load Files-----------------------------
|
||||
dofile(minetest.get_modpath("food").."/support.lua")
|
||||
dofile(minetest.get_modpath("food").."/tools/oven.lua")
|
||||
|
||||
dofile(minetest.get_modpath("food").."/dairy.lua")
|
||||
dofile(minetest.get_modpath("food").."/food/meats.lua")
|
||||
@ -94,4 +93,4 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
print("food: Mainframe loaded")
|
||||
print("Food: Mainframe loaded")
|
||||
|
@ -12,7 +12,7 @@
|
||||
-- [regis-food] Carrot Cake
|
||||
-- [craft] Chocolate Cake
|
||||
-- =====================================
|
||||
print("RubenFood [Master] - Loading Cakes")
|
||||
print("Food [Master] - Loading Cakes")
|
||||
|
||||
--------------------------Cakes-------------------------
|
||||
minetest.register_craftitem("food:cakemix_plain",{
|
||||
@ -89,7 +89,7 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = '"food:cakemix_choco" 1',
|
||||
recipe = {
|
||||
{'""','"default:dirt"','""'}, {'"food:flour"','"food:sugar"','"food:egg"'},
|
||||
{'""','"food:chocolate_milk"','""'}, {'"food:flour"','"food:sugar"','"food:egg"'},
|
||||
}
|
||||
})
|
||||
|
||||
@ -98,4 +98,4 @@ minetest.register_craft({
|
||||
recipe = {
|
||||
{'""','"food:carrot"','""'}, {'"food:flour"','"food:sugar"','"food:egg"'},
|
||||
}
|
||||
})
|
||||
})
|
||||
|
@ -8,7 +8,7 @@
|
||||
-- [regis-food] Rhubarb Crumble
|
||||
-- =====================================
|
||||
|
||||
print "RubenFood [Master] - Loading Crumbles"
|
||||
print "Food [Master] - Loading Crumbles"
|
||||
--Crumbles
|
||||
minetest.register_craftitem("food:crumble_rhubarb", {
|
||||
description = "Rhubarb Crumble",
|
||||
@ -34,4 +34,4 @@ minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:crumble_rhubarb",
|
||||
recipe = "food:crumble_rhubarb_raw",
|
||||
})
|
||||
})
|
||||
|
@ -8,7 +8,7 @@
|
||||
-- [regis-food] Strawberry Tart
|
||||
-- ======================================
|
||||
|
||||
print "RubenFood [Master] - Loading Tarts"
|
||||
print "Food [Master] - Loading Tarts"
|
||||
|
||||
minetest.register_craftitem("food:tart_strawberry", {
|
||||
description = "Strawberry Tart",
|
||||
|
41
support.lua
41
support.lua
@ -22,8 +22,10 @@ end
|
||||
|
||||
|
||||
|
||||
print "Food [Support] - Vegetables and Fruit"
|
||||
print "Food [Support] - > Bread and Flour"
|
||||
|
||||
|
||||
print "Food [Support] - Farming Mod"
|
||||
node_implement("farming","farming:flour","food:flour",function()
|
||||
minetest.register_craftitem("food:flour", {
|
||||
description = "Flour",
|
||||
@ -70,7 +72,7 @@ end)
|
||||
|
||||
|
||||
|
||||
print "Food [Support] - Farming_Plus Mod"
|
||||
print "Food [Support] - > Strawberry"
|
||||
|
||||
node_implement("farming_plus","farming_plus:strawberry_item","food:strawberry",function()
|
||||
minetest.register_craftitem("food:strawberry", {
|
||||
@ -80,14 +82,20 @@ minetest.register_craftitem("food:strawberry", {
|
||||
})
|
||||
end)
|
||||
|
||||
print "Food [Support] - > Carrot"
|
||||
|
||||
node_implement("farming_plus","farming_plus:carrot_item","food:carrot",function()
|
||||
node_implement("docfarming","docfarming:carrot","food:carrot",function()
|
||||
minetest.register_craftitem("food:carrot", {
|
||||
description = "Carrot",
|
||||
inventory_image = "farming_carrot.png",
|
||||
on_use = minetest.item_eat(3),
|
||||
})
|
||||
end)
|
||||
end)
|
||||
|
||||
|
||||
print "Food [Support] - > Rhubarb"
|
||||
node_implement("farming_plus","farming_plus:rhubarb_item","food:rhubarb",function()
|
||||
minetest.register_craftitem("food:rhubarb", {
|
||||
description = "Rhubarb",
|
||||
@ -95,6 +103,7 @@ minetest.register_craftitem("food:rhubarb", {
|
||||
})
|
||||
end)
|
||||
|
||||
print "Food [Support] - > Cocoa Bean"
|
||||
node_implement("farming_plus","farming_plus:cocoa_bean","food:cocoa",function()
|
||||
minetest.register_craftitem("food:cocoa", {
|
||||
description = "Cocoa Bean",
|
||||
@ -102,6 +111,8 @@ minetest.register_craftitem("food:cocoa", {
|
||||
})
|
||||
end)
|
||||
|
||||
|
||||
print "Food [Support] - > Banana"
|
||||
node_implement("farming_plus","farming_plus:banana","food:banana",function()
|
||||
minetest.register_node("food:banana", {
|
||||
description = "Banana",
|
||||
@ -118,6 +129,7 @@ minetest.register_node("food:banana", {
|
||||
})
|
||||
end)
|
||||
|
||||
print "Food [Support] - > Tomato"
|
||||
node_implement("farming_plus","farming_plus:tomato_item","food:tomato",function()
|
||||
minetest.register_craftitem("food:tomato", {
|
||||
description = "Tomato",
|
||||
@ -126,12 +138,25 @@ minetest.register_craftitem("food:tomato", {
|
||||
})
|
||||
end)
|
||||
|
||||
print "Food [Support] - > Potato"
|
||||
node_implement("docfarming","docfarming:potato","food:potato",function()
|
||||
minetest.register_craftitem("food:potato", {
|
||||
description = "Potato",
|
||||
inventory_image = "potato.png",
|
||||
})
|
||||
end)
|
||||
|
||||
node_implement("docfarming","docfarming:bakedpotato","food:potato_baked",function()
|
||||
minetest.register_craftitem("food:potato_baked", {
|
||||
description = "Baked Potato",
|
||||
inventory_image = "baked_potato.png",
|
||||
on_use = minetest.item_eat(6),
|
||||
})
|
||||
end)
|
||||
|
||||
print "Food [Support] - Meats and Animal Produce"
|
||||
|
||||
|
||||
print "Food [Support] - Animal Mods"
|
||||
|
||||
print "Food [Support] - > Raw Meat"
|
||||
node_implement("mobs","mobs:meat_raw","food:meat_raw",function()
|
||||
node_implement("animalmaterials","animalmaterials:meat_raw","food:meat_raw",function()
|
||||
minetest.register_craftitem("food:meat_raw", {
|
||||
@ -144,6 +169,7 @@ minetest.register_craftitem("food:meat_raw", {
|
||||
end)
|
||||
end)
|
||||
|
||||
print "Food [Support] - > Meat"
|
||||
node_implement("mobs","mobs:meat","food:meat",function()
|
||||
minetest.register_craftitem("food:meat", {
|
||||
description = "Venison",
|
||||
@ -158,6 +184,8 @@ minetest.register_craft({
|
||||
})
|
||||
end)
|
||||
|
||||
|
||||
print "Food [Support] - > Egg"
|
||||
node_implement("animalmaterials","animalmaterials:egg","food:egg",function()
|
||||
minetest.register_craftitem("food:egg", {
|
||||
description = "Egg",
|
||||
@ -166,6 +194,7 @@ node_implement("animalmaterials","animalmaterials:egg","food:egg",function()
|
||||
})
|
||||
end)
|
||||
|
||||
print "Food [Support] - > Milk"
|
||||
node_implement("animalmaterials","animalmaterials:milk","food:milk",function()
|
||||
minetest.register_craftitem("food:milk", {
|
||||
description = "Milk",
|
||||
@ -176,7 +205,7 @@ node_implement("animalmaterials","animalmaterials:milk","food:milk",function()
|
||||
})
|
||||
end)
|
||||
|
||||
print "Food [Support] - Vessels Mod"
|
||||
print "Food [Support] - Vessels and Cutlery"
|
||||
|
||||
node_implement("vessels","vessels:drinking_glass","food:cup",function()
|
||||
node_implement("animalmaterials","animalmaterials:glass","food:cup",function()
|
||||
|
BIN
textures/food_juice_rainbow.png
Normal file
BIN
textures/food_juice_rainbow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 396 B |
Loading…
Reference in New Issue
Block a user