add compatibility with old nodes from king arthurs land

This commit is contained in:
adrido 2013-01-31 05:19:50 +01:00
parent e81652db15
commit 128f480e49
2 changed files with 11 additions and 0 deletions

10
compatibility.lua Normal file
View File

@ -0,0 +1,10 @@
--add compatibility with the old nodes of king arthurs land
minetest.register_alias("darkage:stair_stonebrick", "darkage:stair_basalt_cobble")
minetest.register_alias("darkage:stair_stonebrick_inverted", "darkage:stair_basalt_cobble_inverted")
minetest.register_alias("darkage:stair_stonebrick_wall", "darkage:stair_basalt_cobble_wall")
minetest.register_alias("darkage:slab_stonebrick_inverted", "darkage:slab_basalt_cobble_inverted")
minetest.register_alias("darkage:slab_stonebrick_wall", "darkage:slab_basalt_cobble_wall")
minetest.register_alias("darkage:slab_stonebrick", "darkage:slab_basalt_cobble")
minetest.register_alias("darkage:panel_stonebrick_vertical", "darkage:panel_basalt_cobble_vertical")
minetest.register_alias("darkage:panel_stonebrick_bottom", "darkage:panel_basalt_cobble_bottom")
minetest.register_alias("darkage:panel_stonebrick_top", "darkage:panel_basalt_cobble_top")

View File

@ -3,6 +3,7 @@ print (" ---- Dark Age is Loading! ---- ")
dofile(minetest.get_modpath("darkage").."/mapgen.lua")
dofile(minetest.get_modpath("darkage").."/building.lua")
dofile(minetest.get_modpath("darkage").."/furniture.lua")
dofile(minetest.get_modpath("darkage").."/compatibility.lua")
--dofile(minetest.get_modpath("darkage").."/stairs.lua")
dofile(minetest.get_modpath("darkage").."/stairsplus.lua")
----------