remove static chat colour tags

This commit is contained in:
Kashargul
2024-01-21 12:34:53 +01:00
parent 956acefc4d
commit e4b62dfa35
242 changed files with 1178 additions and 996 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
take_charge(user, skipcharge)
before_cast(targets) //applies any overlays and effects
user.attack_log += text("\[[time_stamp()]\] <font color='red'>[user.real_name] ([user.ckey]) cast the spell [name].</font>")
user.attack_log += text("\[[time_stamp()]\] [span_red("[user.real_name] ([user.ckey]) cast the spell [name].")]")
if(prob(critfailchance))
critfail(targets, user)
else
@@ -267,7 +267,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
else
user.whisper(replacetext(invocation," ","`"))
if(SpI_EMOTE)
user.custom_emote(VISIBLE_MESSAGE, invocation)
user.custom_emote(VISIBLE_MESSAGE, invocation)
/////////////////////
///UPGRADING PROCS///
+1 -1
View File
@@ -270,7 +270,7 @@
else
user.add_spell(S)
to_chat(user, "<span class='notice'>you rapidly read through the arcane book. Suddenly you realize you understand [spellname]!</span>")
user.attack_log += text("\[[time_stamp()]\] <font color='orange'>[user.real_name] ([user.ckey]) learned the spell [spellname] ([S]).</font>")
user.attack_log += text("\[[time_stamp()]\] [span_orange("[user.real_name] ([user.ckey]) learned the spell [spellname] ([S]).")]")
onlearned(user)
/obj/item/weapon/spellbook/oneuse/proc/recoil(mob/user as mob)