Several ZAS fixes.

Adds insulation to doors, modifiable by admins from the ZAS setting panel.
Fixes a logic error with connections.  (I am dumb some days)
Improves the runtime detection and reporting.
Improves "zone info" debug verb.
This commit is contained in:
SkyMarshal
2013-07-25 21:34:12 -07:00
parent 8124f7bfe7
commit 72c331bfa7
7 changed files with 76 additions and 50 deletions
+2
View File
@@ -367,6 +367,7 @@ Indirect connections will not merge the two zones after they reach equilibrium.
if(zone_A && zone_B)
DisconnectZones(zone_A, zone_B)
ConnectZones(A.zone, B.zone, indirect)
zone_A = A.zone
//The "B" zone changed.
else if(B.zone && B.zone != zone_B)
@@ -394,6 +395,7 @@ Indirect connections will not merge the two zones after they reach equilibrium.
if(zone_A && zone_B)
DisconnectZones(zone_A, zone_B)
ConnectZones(A.zone, B.zone, indirect)
zone_B = B.zone
#undef CONNECTION_DIRECT