The end-round report now shows the name, area, ckey, damage taken, and last words of the first person to die that round (#35582)
* Adds a "first death" feature to the roundend * no clogging up with antag-rollers * fixes red text color * Maintainer review (finally, sorry)
This commit is contained in:
committed by
CitadelStationBot
parent
fef23bd7cc
commit
7496feb40f
@@ -74,6 +74,16 @@
|
||||
|
||||
if (client)
|
||||
client.move_delay = initial(client.move_delay)
|
||||
if(!suiciding && !SSticker.first_death.len) //suicides don't clog up the list, only BRUTAL deaths here
|
||||
var/list/L = list()
|
||||
L["name"] = name
|
||||
L["role"] = null
|
||||
if(mind.assigned_role)
|
||||
L["role"] = mind.assigned_role
|
||||
L["area"] = "[get_area_name(src, TRUE)] [COORD(src)]"
|
||||
L["damage"] = "<font color='#FF5555'>[bruteloss]</font>/<font color='orange'>[fireloss]</font>/<font color='lightgreen'>[toxloss]</font>/<font color='lightblue'>[oxyloss]</font>/<font color='pink'>[cloneloss]</font>"
|
||||
L["last_words"] = last_words
|
||||
SSticker.first_death = L
|
||||
|
||||
for(var/s in ownedSoullinks)
|
||||
var/datum/soullink/S = s
|
||||
|
||||
Reference in New Issue
Block a user