cleans up so many to_chats so they use vchat filters, unsorted chat filter for everything else

This commit is contained in:
Heroman3003
2023-03-10 16:48:20 +10:00
committed by CHOMPStation2
parent f09fd02e6e
commit 8ab9a847d0
76 changed files with 3214 additions and 531 deletions

View File

@@ -158,9 +158,9 @@ using metal and glass, it uses glass and reagents (usually sulphuric acid).
materials[S.material.name] += amnt
S.use(1)
count++
to_chat(user, "You insert [count] [sname] into the fabricator.")
to_chat(user, "<span class='filter_notice'>You insert [count] [sname] into the fabricator.</span>")
else
to_chat(user, "The fabricator cannot hold more [sname].")
to_chat(user, "<span class='filter_notice'>The fabricator cannot hold more [sname].</span>")
busy = 0
updateUsrDialog()

View File

@@ -143,7 +143,7 @@ var/global/list/obj/machinery/message_server/message_servers = list()
/obj/machinery/message_server/attack_hand(user as mob)
// to_chat(user, "<font color='blue'>There seem to be some parts missing from this server. They should arrive on the station in a few days, give or take a few CentCom delays.</font>")
to_chat(user, "You toggle PDA message passing from [active ? "On" : "Off"] to [active ? "Off" : "On"]")
to_chat(user, "<span class='filter_notice'>You toggle PDA message passing from [active ? "On" : "Off"] to [active ? "Off" : "On"].</span>")
active = !active
update_icon()
@@ -155,7 +155,7 @@ var/global/list/obj/machinery/message_server/message_servers = list()
spamfilter_limit += round(MESSAGE_SERVER_DEFAULT_SPAM_LIMIT / 2)
user.drop_item()
qdel(O)
to_chat(user, "You install additional memory and processors into message server. Its filtering capabilities been enhanced.")
to_chat(user, "<span class='filter_notice'>You install additional memory and processors into message server. Its filtering capabilities been enhanced.</span>")
else
..(O, user)

View File

@@ -168,9 +168,9 @@
materials[S.material.name] += amnt
S.use(1)
count++
to_chat(user, "You insert [count] [sname] into the fabricator.")
to_chat(user, "<span class='filter_notice'>You insert [count] [sname] into the fabricator.</span>")
else
to_chat(user, "The fabricator cannot hold more [sname].")
to_chat(user, "<span class='filter_notice'>The fabricator cannot hold more [sname].</span>")
busy = 0
var/stacktype = S.type

View File

@@ -119,7 +119,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
//Loading a disk into it.
if(istype(D, /obj/item/weapon/disk))
if(t_disk || d_disk)
to_chat(user, "A disk is already loaded into the machine.")
to_chat(user, "<span class='filter_notice'>A disk is already loaded into the machine.</span>")
return
if(istype(D, /obj/item/weapon/disk/tech_disk))