moreblocks/stairsplus_legacy/prefab.lua

10 lines
433 B
Lua
Raw Normal View History

2022-06-21 21:22:26 +02:00
local materials = stairsplus_legacy.materials
2022-06-21 21:22:26 +02:00
if materials.concrete_block and materials.concrete_block ~= "prefab:concrete" then
local slab_name = stairsplus.api.format_name(materials.concrete_block, "slab_8")
local stair_name = stairsplus.api.format_name(materials.concrete_block, "stair")
2022-06-21 21:22:26 +02:00
minetest.register_alias_force("prefab:concrete_slab", slab_name)
minetest.register_alias_force("prefab:concrete_stair", stair_name)
end