From da66780a569712c23ae4f2996cfb4608a9f9d69d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 20:02:19 -0400 Subject: copy all standard Dreambuilder mods in from the old subgame (exactly as last supplied there, updates to these mods will follow later) --- streets/concretestairs/depends.txt | 4 ++++ streets/concretestairs/init.lua | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 streets/concretestairs/depends.txt create mode 100644 streets/concretestairs/init.lua (limited to 'streets/concretestairs') 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 -- cgit v1.2.3