Merge pull request #5606 from Citadel-Station-13/upstream-merge-35582

[MIRROR] The end-round report now shows the name, area, ckey, damage taken, and last words of the first person to die that round
This commit is contained in:
deathride58
2018-02-20 15:23:50 +00:00
committed by GitHub
4 changed files with 31 additions and 2 deletions
+10
View File
@@ -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