forked from mtcontrib/food_sweet
Add support for blueberry from bushes_classic from plantlife_modpack
This commit is contained in:
parent
68b6f42f4c
commit
8eea730420
@ -1 +1,2 @@
|
|||||||
food_basic
|
food_basic
|
||||||
|
bushes_classic?
|
||||||
|
12
init.lua
12
init.lua
@ -22,7 +22,15 @@ else
|
|||||||
S = function ( s ) return s end
|
S = function ( s ) return s end
|
||||||
end
|
end
|
||||||
|
|
||||||
food.support("strawberry", {"farming_plus:strawberry_item", "plantlib:strawberry", "bushes:strawberry"})
|
food.support("strawberry", {
|
||||||
|
"farming_plus:strawberry_item",
|
||||||
|
"plantlib:strawberry",
|
||||||
|
"bushes:strawberry",
|
||||||
|
"ethereal:strawberry"
|
||||||
|
})
|
||||||
|
|
||||||
|
food.support("blueberry", "bushes:blueberry")
|
||||||
|
|
||||||
food.support("rhubarb", "farming_plus:rhubarb_item")
|
food.support("rhubarb", "farming_plus:rhubarb_item")
|
||||||
|
|
||||||
if farming and farming.mod == "redo" then
|
if farming and farming.mod == "redo" then
|
||||||
@ -30,8 +38,6 @@ if farming and farming.mod == "redo" then
|
|||||||
food.support("blueberry", "farming:blueberries")
|
food.support("blueberry", "farming:blueberries")
|
||||||
end
|
end
|
||||||
|
|
||||||
food.support("strawberry", "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")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user