mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-15 22:19:21 +01:00
21 lines
822 B
Lua
21 lines
822 B
Lua
-- Aliases for backwards-compability with 0.21.0
|
|
|
|
local materials = {
|
|
"wood", "junglewood", "sprucewood", "acaciawood", "birchwood", "darkwood",
|
|
"cobble", "brick_block", "sandstone", "redsandstone", "stonebrick",
|
|
"quartzblock", "purpur_block", "nether_brick"
|
|
}
|
|
|
|
for m=1, #materials do
|
|
local mat = materials[m]
|
|
minetest.register_alias("stairs:slab_"..mat, "mcl_stairs:slab_"..mat)
|
|
minetest.register_alias("stairs:stair_"..mat, "mcl_stairs:stair_"..mat)
|
|
|
|
-- corner stairs
|
|
minetest.register_alias("stairs:stair_"..mat.."_inner", "mcl_stairs:stair_"..mat.."_inner")
|
|
minetest.register_alias("stairs:stair_"..mat.."_outer", "mcl_stairs:stair_"..mat.."_outer")
|
|
end
|
|
|
|
minetest.register_alias("stairs:slab_stone", "mcl_stairs:slab_stone")
|
|
minetest.register_alias("stairs:slab_stone_double", "mcl_stairs:slab_stone_double")
|