forked from mtcontrib/food
Add orange juice
This commit is contained in:
parent
fee1ca8670
commit
e2d20a6a2c
|
@ -59,6 +59,22 @@ food.module("potato", function()
|
|||
})
|
||||
end, true)
|
||||
|
||||
food.module("orange", function()
|
||||
minetest.register_craftitem("food:orange", {
|
||||
description = S("Orange"),
|
||||
inventory_image = "food_orange.png",
|
||||
groups = {food_orange = 1}
|
||||
})
|
||||
food.craft({
|
||||
output = "food:orange",
|
||||
recipe = {
|
||||
{"", "default:desert_sand", ""},
|
||||
{"default:desert_sand", "default:desert_sand", "default:desert_sand"},
|
||||
{"", "default:desert_sand", ""}
|
||||
}
|
||||
})
|
||||
end, true)
|
||||
|
||||
food.module("tomato", function()
|
||||
minetest.register_craftitem("food:tomato", {
|
||||
description = S("Tomato"),
|
||||
|
|
4
init.lua
4
init.lua
|
@ -125,7 +125,7 @@ for i=1, #soups do
|
|||
end
|
||||
|
||||
-- Juices
|
||||
local juices = {"apple","cactus"}
|
||||
local juices = {"apple", "orange", "cactus"}
|
||||
for i=1, #juices do
|
||||
local flav = juices[i]
|
||||
food.module(flav.."_juice", function()
|
||||
|
@ -138,7 +138,7 @@ for i=1, #juices do
|
|||
output = "food:"..flav.."_juice 4",
|
||||
recipe = {
|
||||
{"","",""},
|
||||
{"","default:"..flav,""},
|
||||
{"","group:food_"..flav,""},
|
||||
{"","group:food_cup",""},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -5,6 +5,7 @@ Flour = Mehl
|
|||
Potato = Kartoffel
|
||||
Tomato = Tomate
|
||||
Carrot = Karotte
|
||||
Orange =
|
||||
Milk = Milch
|
||||
Egg = Ei
|
||||
Cocoa Bean = Kakaobohne
|
||||
|
|
|
@ -5,6 +5,7 @@ Flour =
|
|||
Potato =
|
||||
Tomato =
|
||||
Carrot =
|
||||
Orange =
|
||||
Milk =
|
||||
Egg =
|
||||
Cocoa Bean =
|
||||
|
@ -28,6 +29,7 @@ Uncooked chicken Soup =
|
|||
apple Juice =
|
||||
cactus Juice =
|
||||
Rainbow Juice =
|
||||
Orange Juice =
|
||||
Cake =
|
||||
Chocolate Cake =
|
||||
Carrot Cake =
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
-- Add support for other mods
|
||||
food.support("cocoa", "farming_plus:cocoa_bean")
|
||||
food.support("cup", "vessels:drinking_glass")
|
||||
food.support("cactus", "default:cactus")
|
||||
food.support("apple", "default:apple")
|
||||
food.support("orange", "farming_plus:orange_item")
|
||||
food.support("potato", {
|
||||
"docfarming:potato",
|
||||
"veggies:potato",
|
||||
|
|
BIN
textures/food_orange_juice.png
Normal file
BIN
textures/food_orange_juice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 620 B |
Loading…
Reference in New Issue
Block a user