Adds the Family Heirloom, Nyctophobia, and Monochromacy traits, and rebalances Social Anxiety (#36426)

* Adds some more traits

* April Fools' heirlooms

* Fixes the detective sound

* Refactor to use signals
This commit is contained in:
Ashe Higgs
2018-03-28 12:15:06 -05:00
committed by CitadelStationBot
parent 77f40b6be9
commit 8ec16df2e4
9 changed files with 187 additions and 39 deletions
+5 -1
View File
@@ -1301,8 +1301,12 @@ GLOBAL_REAL_VAR(list/stack_trace_storage)
if(!istype(C))
return
var/animate_color = initial(C.color)
var/datum/client_colour/CC = C.mob.client_colours[1]
if(CC)
animate_color = CC.colour
C.color = flash_color
animate(C, color = initial(C.color), time = flash_time)
animate(C, color = animate_color, time = flash_time)
#define RANDOM_COLOUR (rgb(rand(0,255),rand(0,255),rand(0,255)))