diff options
author | Christian Danscheid <Christian_D_97@gmx.de> | 2013-08-15 12:05:39 +0200 |
---|---|---|
committer | Christian Danscheid <Christian_D_97@gmx.de> | 2013-08-15 12:05:39 +0200 |
commit | a56833380523d900dad8cdc9c6361182ea8b0f9e (patch) | |
tree | 4aba32c0cd1c148400cae0fe7747cf073333de6a /concretestairs | |
parent | cea35d5c50a68247fc5b281261c3539eb690bfde (diff) | |
download | roads-a56833380523d900dad8cdc9c6361182ea8b0f9e.tar roads-a56833380523d900dad8cdc9c6361182ea8b0f9e.tar.gz roads-a56833380523d900dad8cdc9c6361182ea8b0f9e.tar.bz2 roads-a56833380523d900dad8cdc9c6361182ea8b0f9e.tar.xz roads-a56833380523d900dad8cdc9c6361182ea8b0f9e.zip |
added support for danduncombe's prefab_concrete mod
Diffstat (limited to 'concretestairs')
-rw-r--r-- | concretestairs/init.lua | 5 |
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 |