Removed a bunch of tag variables from the map. I hate whoever added those.

Final parts to ZAS.  Works 100% (Or very near such) now.
This commit is contained in:
SkyMarshal
2012-06-08 00:28:47 -07:00
parent a1a2302199
commit dd4f191f28
11 changed files with 780 additions and 759 deletions
+4 -4
View File
@@ -1013,10 +1013,10 @@ table tr:first-child th:first-child { border: none;}
if (alarm_area.atmosalert(new_area_danger_level)) //if area was in normal state or if area was in alert state
post_alert(new_area_danger_level)
if(danger_level > 1)
air_doors_close(0)
else
air_doors_open(0)
// if(danger_level > 1)
// air_doors_close(0)
// else
// air_doors_open(0)
update_icon()
+8 -8
View File
@@ -343,16 +343,16 @@ Airlock index -> wire color are { 9, 4, 6, 7, 5, 8, 1, 2, 3 }.
icon_state = "door_locked"
else
icon_state = "door_closed"
if(p_open || welded || air_locked)
overlays = list()
if(p_open)
overlays += image(icon, "panel_open")
if(welded)
overlays += image(icon, "welded")
if(air_locked)
overlays += image('Door1.dmi', "air")
else
icon_state = "door_open"
if(p_open || welded || air_locked)
overlays = list()
if(p_open)
overlays += image(icon, "panel_open")
if(welded)
overlays += image(icon, "welded")
if(air_locked)
overlays += image('Door1.dmi', "air")
return