Update support of farming redo

Add support of ethereal
This commit is contained in:
sys4-fr 2016-07-29 16:55:27 +02:00 committed by rubenwardy
parent 9af285084e
commit 71574c570c
2 changed files with 6 additions and 0 deletions

View File

@ -3,3 +3,4 @@ farming_plus?
plantlib? plantlib?
bushes_classic? bushes_classic?
bushes? bushes?
ethereal?

View File

@ -24,6 +24,11 @@ end
food.support("strawberry", {"farming_plus:strawberry_item", "plantlib:strawberry", "bushes:strawberry"}) food.support("strawberry", {"farming_plus:strawberry_item", "plantlib:strawberry", "bushes:strawberry"})
food.support("rhubarb", "farming_plus:rhubarb_item") food.support("rhubarb", "farming_plus:rhubarb_item")
if minetest.get_modpath("farming") and farming.mod == "redo" then
food.disable_if("farming", "rhubarb")
food.disable_if("farming", "blueberry")
end
food.disable_if("ethereal", "strawberry")
if minetest.setting_get("food_sweet_use_2d")==nil then if minetest.setting_get("food_sweet_use_2d")==nil then
minetest.setting_set("food_sweet_use_2d", "1") minetest.setting_set("food_sweet_use_2d", "1")