mirror of
https://github.com/rubenwardy/food.git
synced 2025-01-05 14:20:18 +01:00
Add orange juice
This commit is contained in:
parent
fee1ca8670
commit
e2d20a6a2c
@ -59,6 +59,22 @@ food.module("potato", function()
|
|||||||
})
|
})
|
||||||
end, true)
|
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()
|
food.module("tomato", function()
|
||||||
minetest.register_craftitem("food:tomato", {
|
minetest.register_craftitem("food:tomato", {
|
||||||
description = S("Tomato"),
|
description = S("Tomato"),
|
||||||
|
4
init.lua
4
init.lua
@ -125,7 +125,7 @@ for i=1, #soups do
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Juices
|
-- Juices
|
||||||
local juices = {"apple","cactus"}
|
local juices = {"apple", "orange", "cactus"}
|
||||||
for i=1, #juices do
|
for i=1, #juices do
|
||||||
local flav = juices[i]
|
local flav = juices[i]
|
||||||
food.module(flav.."_juice", function()
|
food.module(flav.."_juice", function()
|
||||||
@ -138,7 +138,7 @@ for i=1, #juices do
|
|||||||
output = "food:"..flav.."_juice 4",
|
output = "food:"..flav.."_juice 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"","",""},
|
{"","",""},
|
||||||
{"","default:"..flav,""},
|
{"","group:food_"..flav,""},
|
||||||
{"","group:food_cup",""},
|
{"","group:food_cup",""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -5,6 +5,7 @@ Flour = Mehl
|
|||||||
Potato = Kartoffel
|
Potato = Kartoffel
|
||||||
Tomato = Tomate
|
Tomato = Tomate
|
||||||
Carrot = Karotte
|
Carrot = Karotte
|
||||||
|
Orange =
|
||||||
Milk = Milch
|
Milk = Milch
|
||||||
Egg = Ei
|
Egg = Ei
|
||||||
Cocoa Bean = Kakaobohne
|
Cocoa Bean = Kakaobohne
|
||||||
|
@ -5,6 +5,7 @@ Flour =
|
|||||||
Potato =
|
Potato =
|
||||||
Tomato =
|
Tomato =
|
||||||
Carrot =
|
Carrot =
|
||||||
|
Orange =
|
||||||
Milk =
|
Milk =
|
||||||
Egg =
|
Egg =
|
||||||
Cocoa Bean =
|
Cocoa Bean =
|
||||||
@ -28,6 +29,7 @@ Uncooked chicken Soup =
|
|||||||
apple Juice =
|
apple Juice =
|
||||||
cactus Juice =
|
cactus Juice =
|
||||||
Rainbow Juice =
|
Rainbow Juice =
|
||||||
|
Orange Juice =
|
||||||
Cake =
|
Cake =
|
||||||
Chocolate Cake =
|
Chocolate Cake =
|
||||||
Carrot Cake =
|
Carrot Cake =
|
||||||
|
@ -14,6 +14,9 @@
|
|||||||
-- Add support for other mods
|
-- Add support for other mods
|
||||||
food.support("cocoa", "farming_plus:cocoa_bean")
|
food.support("cocoa", "farming_plus:cocoa_bean")
|
||||||
food.support("cup", "vessels:drinking_glass")
|
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", {
|
food.support("potato", {
|
||||||
"docfarming:potato",
|
"docfarming:potato",
|
||||||
"veggies: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