forked from mtcontrib/farming
added bushes_classic compatibility
This commit is contained in:
parent
b839ba48d2
commit
0d32a4a70e
@ -140,3 +140,17 @@ minetest.register_alias("farming_plus:tomato", "farming:tomato_8")
|
|||||||
|
|
||||||
-- Weed
|
-- Weed
|
||||||
minetest.register_alias("farming:weed", "default:grass_2")
|
minetest.register_alias("farming:weed", "default:grass_2")
|
||||||
|
|
||||||
|
-- Classic Bushes compatibility
|
||||||
|
if minetest.get_modpath("bushes_classic") then
|
||||||
|
|
||||||
|
if eth then
|
||||||
|
minetest.register_alias("bushes:strawberry", "farming:strawberry")
|
||||||
|
else
|
||||||
|
minetest.register_alias("bushes:strawberry", "farming:raspberries")
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_alias("bushes:blueberry", "farming:blueberries")
|
||||||
|
minetest.register_alias("bushes:raspberry", "farming:raspberries")
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user