From cea35d5c50a68247fc5b281261c3539eb690bfde Mon Sep 17 00:00:00 2001 From: Christian Danscheid Date: Thu, 15 Aug 2013 11:28:58 +0200 Subject: Added softdependencies for trafficlight --- trafficlight/depends.txt | 3 ++- trafficlight/init.lua | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'trafficlight') diff --git a/trafficlight/depends.txt b/trafficlight/depends.txt index e0e13a6..8d7b8d8 100644 --- a/trafficlight/depends.txt +++ b/trafficlight/depends.txt @@ -1,3 +1,4 @@ default streetsmod -digilines? \ No newline at end of file +digilines? +mesecons? \ No newline at end of file diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 6a6922d..4f3f201 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -1,6 +1,7 @@ --[[ StreetsMod: inDev Trafficlights ]] +if streets.extendedBy.mesecons and streets.extendedBy.digilines then minetest.register_node(":streets:trafficlight_bottom",{ description = "Trafficlight", groups = {cracky = 1}, @@ -215,4 +216,6 @@ minetest.register_node(":streets:trafficlight_top_warn",{ }, pointable = false, light_source = 6, -}) \ No newline at end of file +}) + +end \ No newline at end of file -- cgit v1.2.3