More fixes

- Fixes shadowling HUD (for real this time).
- Adds antag role display in shadowling hivemind, this prints
(Shadowling) or (Shadowling Thrall) prior to each message, depending on
the role of the speaker (although theoretically multi-antags could have
something else there).
This commit is contained in:
DZD
2015-05-06 17:39:36 -04:00
parent a769b4fc39
commit 830b7bde99
3 changed files with 8 additions and 2 deletions

View File

@@ -364,6 +364,12 @@
key = "8"
flags = RESTRICTED | HIVEMIND
/datum/language/shadowling/broadcast(var/mob/living/speaker, var/message, var/speaker_mask)
if(speaker.mind && speaker.mind.special_role)
..(speaker, message, "([speaker.mind.special_role]) [speaker]")
else
..(speaker, message)
/datum/language/ling/broadcast(var/mob/living/speaker,var/message,var/speaker_mask)
if(speaker.mind && speaker.mind.changeling)

View File

@@ -1769,9 +1769,9 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
if("mutineer")
holder.icon_state = "mutineer"
if("Shadowling")
holder.icon_state = "shadowling"
holder.icon_state = "hudshadowling"
if("Shadowling Thrall")
holder.icon_state = "thrall"
holder.icon_state = "hudshadowlingthrall"
hud_list[SPECIALROLE_HUD] = holder