summaryrefslogtreecommitdiff
path: root/concretestairs
diff options
context:
space:
mode:
Diffstat (limited to 'concretestairs')
-rw-r--r--concretestairs/init.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/concretestairs/init.lua b/concretestairs/init.lua
index 7de66f5..44126a5 100644
--- a/concretestairs/init.lua
+++ b/concretestairs/init.lua
@@ -1,6 +1,9 @@
--[[
StreetsMod: Concrete stairs (not compatible to circular_saw
]]
-if streets.extendedBy.stairs == true then
+if streets.extendedBy.stairs == true and streets.extendedBy.prefab == false then
stairs.register_stair_and_slab("concrete", "streets:concrete", {cracky = 2, level = 2}, {"streets_concrete.png"}, "Concrete stair", "Concrete slab", nil)
+else
+ minetest.register_alias("stairs:stair_concrete","prefab:concrete_stair")
+ minetest.register_alias("stairs:slab_concrete","prefab:concrete_slab")
end \ No newline at end of file