Fix depends.txt

Fix farming redo support
This commit is contained in:
sys4-fr 2016-07-29 17:36:45 +02:00 committed by rubenwardy
parent 71574c570c
commit 4197db0eac
2 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,2 @@
food
farming_plus?
plantlib?
bushes_classic?
food_basic
bushes?
ethereal?

View File

@ -24,7 +24,7 @@ end
food.support("strawberry", {"farming_plus:strawberry_item", "plantlib:strawberry", "bushes:strawberry"})
food.support("rhubarb", "farming_plus:rhubarb_item")
if minetest.get_modpath("farming") and farming.mod == "redo" then
if farming and farming.mod == "redo" then
food.disable_if("farming", "rhubarb")
food.disable_if("farming", "blueberry")
end