summaryrefslogtreecommitdiff
path: root/concretestairs
diff options
context:
space:
mode:
Diffstat (limited to 'concretestairs')
-rw-r--r--concretestairs/init.lua15
1 files changed, 11 insertions, 4 deletions
diff --git a/concretestairs/init.lua b/concretestairs/init.lua
index 0a030be..09bbdb7 100644
--- a/concretestairs/init.lua
+++ b/concretestairs/init.lua
@@ -1,10 +1,17 @@
--[[
StreetsMod: Concrete stairs (compatible to circular saw)
]]
-if rawget(_G, "register_stair_slab_panel_micro")
-and type(register_stair_slab_panel_micro) == "function" then
- register_stair_slab_panel_micro("streets", "concrete", "basic_materials:concrete_block", {cracky=2}, {"basic_materials_concrete_block.png"}, "Concrete", "concrete", nil)
- table.insert(circular_saw.known_stairs,"basic_materials:concrete_block")
+if minetest.get_modpath("moreblocks") then
+ stairsplus:register_all(
+ "streets",
+ "concrete",
+ "basic_materials:concrete_block",
+ {
+ groups = {not_in_creative_inventory=1, cracky=2},
+ tiles = {"basic_materials_concrete_block.png"},
+ description = "Concrete"
+ }
+ )
minetest.register_alias("stairs:stair_concrete","streets:stair_concrete")
else
minetest.register_alias("stairs:stair_concrete","prefab:concrete_stair")