diff options
Diffstat (limited to 'streets/concretestairs')
-rw-r--r-- | streets/concretestairs/depends.txt | 4 | ||||
-rw-r--r-- | streets/concretestairs/init.lua | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/streets/concretestairs/depends.txt b/streets/concretestairs/depends.txt new file mode 100644 index 0000000..ad569e2 --- /dev/null +++ b/streets/concretestairs/depends.txt @@ -0,0 +1,4 @@ +default +streetsmod +stairs? +moreblocks?
\ No newline at end of file diff --git a/streets/concretestairs/init.lua b/streets/concretestairs/init.lua new file mode 100644 index 0000000..f6400c5 --- /dev/null +++ b/streets/concretestairs/init.lua @@ -0,0 +1,12 @@ +--[[ + StreetsMod: Concrete stairs (compatible to circular saw) +]] +if rawget(_G, "register_stair_slab_panel_micro") +and type(register_stair_slab_panel_micro) == "function" and streets.extendedBy.prefab == false then + register_stair_slab_panel_micro("streets", "concrete", "streets:concrete", {cracky=2}, {"streets_concrete.png"}, "Concrete", "concrete", nil) + table.insert(circular_saw.known_stairs,"streets:concrete") + minetest.register_alias("stairs:stair_concrete","streets:stair_concrete") +else + minetest.register_alias("stairs:stair_concrete","prefab:concrete_stair") + minetest.register_alias("stairs:slab_concrete","prefab:concrete_slab") +end |