In space, no one can hear you scream now.

Well, people adjacent to you can. And people on radio...
Seems kinda pointless now that I think about it, but eh.
This commit is contained in:
Chinsky
2012-12-08 18:47:16 +04:00
parent 2c34bd2db0
commit 5cda793bc4
+8 -1
View File
@@ -1,4 +1,4 @@
#define SAY_MINIMUM_PRESSURE 10
var/list/department_radio_keys = list(
":r" = "right hand",
":l" = "left hand",
@@ -295,6 +295,13 @@ var/list/department_radio_keys = list(
italics = 1
/////SPECIAL HEADSETS END
var/datum/gas_mixture/environment = loc.return_air()
if(environment)
var/pressure = environment.return_pressure()
if (pressure < SAY_MINIMUM_PRESSURE) //in space no one can hear you scream
italics = 1
message_range = 1
var/list/listening
listening = get_mobs_in_view(message_range, src)