mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +00:00
Merge pull request #2768 from SkyMarshal/bleeding-edge-freeze
Air alarm fix, atmos control computer fix, item description fix.
This commit is contained in:
@@ -39,9 +39,9 @@
|
|||||||
dat += "<a href='?src=\ref[src]&alarm=\ref[alarm]'>"
|
dat += "<a href='?src=\ref[src]&alarm=\ref[alarm]'>"
|
||||||
switch(max(alarm.danger_level, alarm.alarm_area.atmosalm))
|
switch(max(alarm.danger_level, alarm.alarm_area.atmosalm))
|
||||||
if (0)
|
if (0)
|
||||||
dat += "<font color=blue>"
|
dat += "<font color=green>"
|
||||||
if (1)
|
if (1)
|
||||||
dat += "<font color=yellow>"
|
dat += "<font color=blue>"
|
||||||
if (2)
|
if (2)
|
||||||
dat += "<font color=red>"
|
dat += "<font color=red>"
|
||||||
dat += "[alarm]</font></a><br/>"
|
dat += "[alarm]</font></a><br/>"
|
||||||
|
|||||||
@@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
/obj/item/clothing/head/beret/centcom/officer
|
/obj/item/clothing/head/beret/centcom/officer
|
||||||
name = "officers beret"
|
name = "officers beret"
|
||||||
desc = "A black beret adorned with the shield—a silver kite shield with an engraved sword—of the NanoTrasen security forces, announcing to the world that the wearer is a defender of NanoTrasen."
|
desc = "A black beret adorned with the shield<EFBFBD>a silver kite shield with an engraved sword<EFBFBD>of the NanoTrasen security forces, announcing to the world that the wearer is a defender of NanoTrasen."
|
||||||
icon_state = "centcomofficerberet"
|
icon_state = "centcomofficerberet"
|
||||||
flags = FPRINT | TABLEPASS
|
flags = FPRINT | TABLEPASS
|
||||||
|
|
||||||
/obj/item/clothing/head/beret/centcom/captain
|
/obj/item/clothing/head/beret/centcom/captain
|
||||||
name = "captains beret"
|
name = "captains beret"
|
||||||
desc = "A white beret adorned with the shield—a cobalt kite shield with an engraved sword—of the NanoTrasen security forces, worn only by those captaining a vessel of the NanoTrasen Navy."
|
desc = "A white beret adorned with the shield<EFBFBD>a cobalt kite shield with an engraved sword<EFBFBD>of the NanoTrasen security forces, worn only by those captaining a vessel of the NanoTrasen Navy."
|
||||||
icon_state = "centcomcaptain"
|
icon_state = "centcomcaptain"
|
||||||
flags = FPRINT | TABLEPASS
|
flags = FPRINT | TABLEPASS
|
||||||
|
|
||||||
|
|||||||
@@ -238,9 +238,9 @@
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
proc/get_danger_level(var/current_value, var/list/danger_levels)
|
proc/get_danger_level(var/current_value, var/list/danger_levels)
|
||||||
if(current_value >= danger_levels[4] || current_value <= danger_levels[1])
|
if((current_value >= danger_levels[4] && danger_levels[4] > 0) || current_value <= danger_levels[1])
|
||||||
return 2
|
return 2
|
||||||
if(current_value >= danger_levels[3] || current_value <= danger_levels[2])
|
if((current_value >= danger_levels[3] && danger_levels[3] > 0) || current_value <= danger_levels[2])
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user