diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-05-17 11:04:54 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-05-17 11:04:54 +0100 |
commit | b9a9a8e8d8cb053f884a420ef7b67aea36b41b91 (patch) | |
tree | c11a4e89d99f58745dfd5baff0ef7b68800b3a10 | |
parent | 6e52f967038bc1676723619141f6f936ca11165a (diff) |
add alias for bushes:strawberry item
-rw-r--r-- | compatibility.lua | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/compatibility.lua b/compatibility.lua index ccc46a5..a6a6c59 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -1,3 +1,7 @@ + +-- wait until mods are finished loading +minetest.after(0, function() + -- add food group to default apple and brown mushroom minetest.override_item("default:apple", { groups = {food_apple = 1, fleshy = 3, dig_immediate = 3, flammable = 2, @@ -12,7 +16,7 @@ minetest.override_item("flowers:mushroom_brown", { end -- is Ethereal mod installed? -local eth = minetest.get_modpath("ethereal") or nil +local eth = minetest.get_modpath("ethereal") -- Banana if eth then @@ -140,9 +144,11 @@ else minetest.register_alias("farming_plus:strawberry_2", "farming:raspberry_2") minetest.register_alias("farming_plus:strawberry_3", "farming:raspberry_3") minetest.register_alias("farming_plus:strawberry", "farming:raspberry_4") - end +minetest.register_alias("bushes:strawberry", "ethereal:strawberry") + + -- Tomato minetest.register_alias("farming_plus:tomato_seed", "farming:tomato") minetest.register_alias("farming_plus:tomato_item", "farming:tomato") @@ -165,5 +171,6 @@ if minetest.get_modpath("bushes_classic") then minetest.register_alias("bushes:blueberry", "farming:blueberries") minetest.register_alias("bushes:raspberry", "farming:raspberries") +end -end
\ No newline at end of file +end)
\ No newline at end of file |