diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-23 13:00:18 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-23 13:00:18 +0100 |
commit | 0d32a4a70e0117d77255bf1a3fc1c16de1dcbffa (patch) | |
tree | 8d043e505efa4562231e72691080f0d55936304f /compatibility.lua | |
parent | b839ba48d28e2f9154f02c1949488d1546bc7dfa (diff) |
added bushes_classic compatibility
Diffstat (limited to 'compatibility.lua')
-rw-r--r-- | compatibility.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/compatibility.lua b/compatibility.lua index 4354e60..b7c906c 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -140,3 +140,17 @@ minetest.register_alias("farming_plus:tomato", "farming:tomato_8") -- Weed 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
\ No newline at end of file |