From cee8a464dff04b436a06190206e4ab8d6b94f0a2 Mon Sep 17 00:00:00 2001
From: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
Date: Wed, 16 Sep 2020 14:02:48 -0500
Subject: [PATCH] Makes mindslaves appear on the round end antagonist listing
(#14224)
* traitor score screen
* includes slaved by text
* line break
* update size of mindslave text to match traitor
---
code/game/gamemodes/traitor/traitor.dm | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/code/game/gamemodes/traitor/traitor.dm b/code/game/gamemodes/traitor/traitor.dm
index c7ab4490f48..0c3f148b106 100644
--- a/code/game/gamemodes/traitor/traitor.dm
+++ b/code/game/gamemodes/traitor/traitor.dm
@@ -82,22 +82,10 @@
/datum/game_mode/proc/auto_declare_completion_traitor()
if(traitors.len)
- var/text = "The traitors were:"
+ var/text = "The traitors were:
"
for(var/datum/mind/traitor in traitors)
var/traitorwin = 1
-
- text += "
[traitor.key] was [traitor.name] ("
- if(traitor.current)
- if(traitor.current.stat == DEAD)
- text += "died"
- else
- text += "survived"
- if(traitor.current.real_name != traitor.name)
- text += " as [traitor.current.real_name]"
- else
- text += "body destroyed"
- text += ")"
-
+ text += printplayer(traitor)
var/TC_uses = 0
var/uplink_true = 0
@@ -137,6 +125,14 @@
text += "
The [special_role_text] has failed!"
feedback_add_details("traitor_success","FAIL")
+ if(length(SSticker.mode.implanted))
+ text += "
The mindslaves were:
"
+ for(var/datum/mind/mindslave in SSticker.mode.implanted)
+ text += printplayer(mindslave)
+ var/datum/mind/master_mind = SSticker.mode.implanted[mindslave]
+ var/mob/living/carbon/human/master = master_mind.current
+ text += " (slaved by: [master])
"
+
var/phrases = jointext(GLOB.syndicate_code_phrase, ", ")
var/responses = jointext(GLOB.syndicate_code_response, ", ")