summaryrefslogtreecommitdiff
path: root/streetsmod
diff options
context:
space:
mode:
authorChristian Danscheid <Christian_D_97@gmx.de>2013-08-15 12:05:39 +0200
committerChristian Danscheid <Christian_D_97@gmx.de>2013-08-15 12:05:39 +0200
commita56833380523d900dad8cdc9c6361182ea8b0f9e (patch)
tree4aba32c0cd1c148400cae0fe7747cf073333de6a /streetsmod
parentcea35d5c50a68247fc5b281261c3539eb690bfde (diff)
downloadroads-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 'streetsmod')
-rw-r--r--streetsmod/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/streetsmod/init.lua b/streetsmod/init.lua
index 3a94f6f..aeb2784 100644
--- a/streetsmod/init.lua
+++ b/streetsmod/init.lua
@@ -56,6 +56,13 @@
print("'Digilines' not installed \n\t => No trafficlight, sorry.")
streets.extendedBy.digilines = false
end
+ if minetest.get_modpath("prefab") then
+ print("'Prefab concrete' is installed \n\t => Use its concrete block for streets' crafting recipes.")
+ streets.extendedBy.prefab = true
+ else
+ print("'Prefab concrete' not installed \n\t => Streets will register its own concrete block.")
+ streets.extendedBy.prefab = false
+ end
-- Done
print("Streets: Setup completed, have fun with StreetsMod ".. streets.version .."!") \ No newline at end of file