diff options
author | Zefram <zefram@fysh.org> | 2014-04-21 20:24:01 +0100 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2014-04-30 00:26:45 +0100 |
commit | 0294fc8f3a9772ab292c7e40d489e760b666516e (patch) | |
tree | d67e2d5539a5b82197407cdca729b1e3e5ae8ff9 /technic_worldgen | |
parent | 9b64ffea8c5268a4c4644c20d77a4e9c1ff4ba37 (diff) |
various backward-compatibility aliases
Diffstat (limited to 'technic_worldgen')
-rw-r--r-- | technic_worldgen/init.lua | 4 | ||||
-rw-r--r-- | technic_worldgen/nodes.lua | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/technic_worldgen/init.lua b/technic_worldgen/init.lua index 16334ff..7e80fd3 100644 --- a/technic_worldgen/init.lua +++ b/technic_worldgen/init.lua @@ -14,6 +14,10 @@ dofile(modpath.."/crafts.lua") -- Rubber trees, moretrees also supplies these if not minetest.get_modpath("moretrees") then dofile(modpath.."/rubber.lua") +else + -- older versions of technic provided rubber trees regardless + minetest.register_alias("technic:rubber_sapling", "moretrees:rubber_tree_sapling") + minetest.register_alias("technic:rubber_tree_empty", "moretrees:rubber_tree_trunk_empty") end -- mg suppport diff --git a/technic_worldgen/nodes.lua b/technic_worldgen/nodes.lua index 5ecae7b..07ec4af 100644 --- a/technic_worldgen/nodes.lua +++ b/technic_worldgen/nodes.lua @@ -101,4 +101,6 @@ minetest.register_craft({ }) minetest.register_alias("technic:diamond_block", "default:diamondblock") +minetest.register_alias("technic:diamond", "default:diamond") +minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond") |