mirror of
https://github.com/rubenwardy/food.git
synced 2024-12-23 00:10:18 +01:00
Update support of farming redo and mobs redo
Add support of ethereal
This commit is contained in:
parent
9eed044387
commit
93ea79653f
@ -95,9 +95,13 @@ food.module("pasta_bake", function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Register Soups
|
-- Register Soups
|
||||||
|
local chicken = "meat"
|
||||||
|
if minetest.get_modpath("mobs") and mobs.mod == "redo" then
|
||||||
|
chicken = "chicken"
|
||||||
|
end
|
||||||
local soups = {
|
local soups = {
|
||||||
{"tomato", "tomato"},
|
{"tomato", "tomato"},
|
||||||
{"chicken", "meat"}
|
{"chicken", chicken}
|
||||||
}
|
}
|
||||||
for i=1, #soups do
|
for i=1, #soups do
|
||||||
local flav = soups[i]
|
local flav = soups[i]
|
||||||
|
@ -16,7 +16,13 @@ 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("cactus", "default:cactus")
|
||||||
food.support("apple", "default:apple")
|
food.support("apple", "default:apple")
|
||||||
food.support("orange", "farming_plus:orange_item")
|
food.support("strawberry", "ethereal:strawberry")
|
||||||
|
food.support("orange", {
|
||||||
|
"farming_plus:orange_item",
|
||||||
|
"ethereal:orange"
|
||||||
|
})
|
||||||
|
food.disable_if("ethereal", "orange")
|
||||||
|
|
||||||
food.support("potato", {
|
food.support("potato", {
|
||||||
"docfarming:potato",
|
"docfarming:potato",
|
||||||
"veggies:potato",
|
"veggies:potato",
|
||||||
@ -68,6 +74,8 @@ if farming and farming.mod == "redo" then
|
|||||||
food.support("dark_chocolate", "farming:chocolate_dark")
|
food.support("dark_chocolate", "farming:chocolate_dark")
|
||||||
food.support("sugar", "farming:sugar")
|
food.support("sugar", "farming:sugar")
|
||||||
food.support("cup", "farming:drinking_cup")
|
food.support("cup", "farming:drinking_cup")
|
||||||
|
food.support("rhubarb", "farming:rhubarb")
|
||||||
|
food.support("blueberry", "farming:blueberries")
|
||||||
food.disable_if("farming", "baked_potato")
|
food.disable_if("farming", "baked_potato")
|
||||||
else
|
else
|
||||||
food.support("wheat", "farming:wheat")
|
food.support("wheat", "farming:wheat")
|
||||||
@ -81,3 +89,6 @@ if minetest.get_modpath("mtfoods") then
|
|||||||
food.support("rhubarb", "farming_plus:rhubarb_item")
|
food.support("rhubarb", "farming_plus:rhubarb_item")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("mobs") and mobs.mod == "redo" then
|
||||||
|
food.support("chicken", "mobs:chicken_cooked")
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user