mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Fixes doubled shadowling messages
This commit is contained in:
@@ -272,7 +272,7 @@
|
||||
return
|
||||
var/my_message = "<span class='shadowling'><b>\[Shadowling\]</b><i> [user.real_name]</i>: [text]</span>"
|
||||
for(var/mob/M in mob_list)
|
||||
if(is_shadow_or_thrall(M) || (M in dead_mob_list))
|
||||
if(is_shadow_or_thrall(M))
|
||||
M << my_message
|
||||
if(M in dead_mob_list)
|
||||
M << "<a href='?src=\ref[M];follow=\ref[user]'>(F)</a>[my_message]"
|
||||
@@ -750,9 +750,12 @@ datum/reagent/shadowling_blindness_smoke //Reagent used for above spell
|
||||
var/text = stripped_input(user, "What do you want to say your masters and fellow thralls?.", "Lesser Commune", "")
|
||||
if(!text)
|
||||
return
|
||||
text = "<span class='shadowling'><b>\[Thrall\]</b><i> [user.real_name]</i>: [text]</span>"
|
||||
for(var/mob/M in mob_list)
|
||||
if(is_shadow_or_thrall(M) || (M in dead_mob_list))
|
||||
M << "<span class='shadowling'><b>\[Thrall\]</b><i> [user.real_name]</i>: [text]</span>"
|
||||
if(is_shadow_or_thrall(M))
|
||||
M << text
|
||||
if(isobserver(M))
|
||||
M << "<a href='?src=\ref[M];follow=\ref[user]'>(F)</a>[text]"
|
||||
log_say("[user.real_name]/[user.key] : [text]")
|
||||
|
||||
|
||||
@@ -891,8 +894,10 @@ datum/reagent/shadowling_blindness_smoke //Reagent used for above spell
|
||||
var/text = stripped_input(user, "What do you want to say to fellow thralls and shadowlings?.", "Hive Chat", "")
|
||||
if(!text)
|
||||
return
|
||||
text = "<font size=4>[text]</font>"
|
||||
text = "<font size=4><span class='shadowling'><b>\[Ascendant\]<i> [user.real_name]</i>: [text]</b></span></font>"
|
||||
for(var/mob/M in mob_list)
|
||||
if(is_shadow_or_thrall(M) || (M in dead_mob_list))
|
||||
M << "<span class='shadowling'><b>\[Ascendant\]<i> [user.real_name]</i>: [text]</b></span>" //Bigger text for ascendants.
|
||||
if(is_shadow_or_thrall(M))
|
||||
M << text
|
||||
if(isobserver(M))
|
||||
M << "<a href='?src=\ref[M];follow=\ref[user]'>(F)</a>[text]"
|
||||
log_say("[user.real_name]/[user.key] : [text]")
|
||||
|
||||
Reference in New Issue
Block a user