forked from mtcontrib/food_sweet
Update support of farming redo
Add support of ethereal
This commit is contained in:
parent
9af285084e
commit
71574c570c
@ -3,3 +3,4 @@ farming_plus?
|
|||||||
plantlib?
|
plantlib?
|
||||||
bushes_classic?
|
bushes_classic?
|
||||||
bushes?
|
bushes?
|
||||||
|
ethereal?
|
||||||
|
5
init.lua
5
init.lua
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user