Add logging of deathgasp last words and suicide stats to the death table

This commit is contained in:
CitadelStationBot
2017-08-20 19:41:58 -05:00
parent 2181449c7d
commit 3862fb5d5e
7 changed files with 39 additions and 9 deletions
@@ -75,3 +75,5 @@
var/datum/riding/riding_datum
var/datum/language/selected_default_language
var/last_words //used for database logging
+1
View File
@@ -155,6 +155,7 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
var/message_len = length(message)
message = copytext(message, 1, health_diff) + "[message_len > health_diff ? "-.." : "..."]"
message = Ellipsis(message, 10, 1)
last_words = message
message_mode = MODE_WHISPER_CRIT
succumbed = TRUE
else