2022-06-21 21:22:26 +02:00
|
|
|
local materials = stairsplus_legacy.materials
|
2022-06-16 01:18:11 +02:00
|
|
|
|
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-16 01:18:11 +02:00
|
|
|
|
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)
|
2022-06-16 01:18:11 +02:00
|
|
|
end
|