mirror of
https://github.com/rubenwardy/food.git
synced 2024-11-17 23:58:29 +01:00
food_basic : Update support of mobs_redo with mobs_animal. If mobs is loaded without mobs_animal then food:soup_chicken_raw cannot be crafted.
This commit is contained in:
parent
2fcea7f29d
commit
80cf6b3799
@ -12,6 +12,7 @@ jkanimals?
|
|||||||
jkfarming?
|
jkfarming?
|
||||||
my_mobs?
|
my_mobs?
|
||||||
mobs?
|
mobs?
|
||||||
|
mobs_animal?
|
||||||
mobfcooking?
|
mobfcooking?
|
||||||
mtfoods?
|
mtfoods?
|
||||||
plantlib?
|
plantlib?
|
||||||
|
@ -82,5 +82,9 @@ else
|
|||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("mobs") and mobs.mod == "redo" then
|
if minetest.get_modpath("mobs") and mobs.mod == "redo" then
|
||||||
|
if minetest.get_modpath("mobs_animal") then
|
||||||
food.support("chicken", "mobs:chicken_cooked")
|
food.support("chicken", "mobs:chicken_cooked")
|
||||||
|
else
|
||||||
|
food.support("chicken", "mobs:meat")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user