summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--food_basic/init.lua6
-rw-r--r--food_basic/support.lua13
2 files changed, 17 insertions, 2 deletions
diff --git a/food_basic/init.lua b/food_basic/init.lua
index 9f035d4..f00048d 100644
--- a/food_basic/init.lua
+++ b/food_basic/init.lua
@@ -95,9 +95,13 @@ food.module("pasta_bake", function()
end)
-- Register Soups
+local chicken = "meat"
+if minetest.get_modpath("mobs") and mobs.mod == "redo" then
+ chicken = "chicken"
+end
local soups = {
{"tomato", "tomato"},
- {"chicken", "meat"}
+ {"chicken", chicken}
}
for i=1, #soups do
local flav = soups[i]
diff --git a/food_basic/support.lua b/food_basic/support.lua
index 4f4366c..13019a2 100644
--- a/food_basic/support.lua
+++ b/food_basic/support.lua
@@ -16,7 +16,13 @@ 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("strawberry", "ethereal:strawberry")
+food.support("orange", {
+ "farming_plus:orange_item",
+ "ethereal:orange"
+})
+food.disable_if("ethereal", "orange")
+
food.support("potato", {
"docfarming:potato",
"veggies:potato",
@@ -68,6 +74,8 @@ if farming and farming.mod == "redo" then
food.support("dark_chocolate", "farming:chocolate_dark")
food.support("sugar", "farming:sugar")
food.support("cup", "farming:drinking_cup")
+ food.support("rhubarb", "farming:rhubarb")
+ food.support("blueberry", "farming:blueberries")
food.disable_if("farming", "baked_potato")
else
food.support("wheat", "farming:wheat")
@@ -81,3 +89,6 @@ if minetest.get_modpath("mtfoods") then
food.support("rhubarb", "farming_plus:rhubarb_item")
end
+if minetest.get_modpath("mobs") and mobs.mod == "redo" then
+ food.support("chicken", "mobs:chicken_cooked")
+end