/tg/ style observer follow links (#2534)

Adopts the /tg/ style of ghost follow links. This is to make clicking them a less of a PITA when you're a ghost. All links tested as functional and properly formatted.
This commit is contained in:
skull132
2017-05-29 23:03:19 +03:00
committed by GitHub
parent 0ad3d4c189
commit c95cca4cd8
8 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -116,7 +116,7 @@
/mob/dead/observer/hear_broadcast(var/datum/language/language, var/mob/speaker, var/speaker_name, var/message)
if(speaker.name == speaker_name || antagHUD)
src << "<i><span class='game say'>[language.name], <span class='name'>[speaker_name]</span> ([ghost_follow_link(speaker, src)]) [message]</span></i>"
src << "[ghost_follow_link(speaker, src)] <i><span class='game say'>[language.name], <span class='name'>[speaker_name]</span> [message]</span></i>"
else
src << "<i><span class='game say'>[language.name], <span class='name'>[speaker_name]</span> [message]</span></i>"
+1 -1
View File
@@ -24,7 +24,7 @@
for (var/mob/M in dead_mob_list)
if(!istype(M,/mob/new_player) && !istype(M,/mob/living/carbon/brain)) //No meta-evesdropping
M.show_message("[message_start] ([ghost_follow_link(speaker, M)]) [message_body]", 2)
M.show_message("[ghost_follow_link(speaker, M)] [message_start] [message_body]", 2)
for (var/mob/living/S in living_mob_list)