|
- \icon[C] + [bicon(C)] [C.name] | "}
diff --git a/code/modules/computer3/computers/communications.dm b/code/modules/computer3/computers/communications.dm
index b738cef704e..23e3bba3e4b 100644
--- a/code/modules/computer3/computers/communications.dm
+++ b/code/modules/computer3/computers/communications.dm
@@ -60,7 +60,7 @@
if(!interactable() || !computer.radio || ..(href,href_list) )
return
if (!(computer.z in config.station_levels))
- to_chat(usr, "\red Unable to establish a connection: \black You're too far away from the station!")
+ to_chat(usr, "Unable to establish a connection: You're too far away from the station!")
return
if("main" in href_list)
diff --git a/code/modules/computer3/computers/law.dm b/code/modules/computer3/computers/law.dm
index ec278163b2a..71d30df68d6 100644
--- a/code/modules/computer3/computers/law.dm
+++ b/code/modules/computer3/computers/law.dm
@@ -25,7 +25,7 @@
attackby(obj/item/weapon/aiModule/module as obj, mob/user as mob, params)
if (user.z > 6)
- to_chat(user, "\red Unable to establish a connection: \black You're too far away from the station!")
+ to_chat(user, "Unable to establish a connection: You're too far away from the station!")
return
if(istype(module, /obj/item/weapon/aiModule))
module.install(src)
diff --git a/code/modules/computer3/computers/medical.dm b/code/modules/computer3/computers/medical.dm
index aeda16c4414..5d283af5b53 100644
--- a/code/modules/computer3/computers/medical.dm
+++ b/code/modules/computer3/computers/medical.dm
@@ -50,7 +50,7 @@
if(!interactable())
return
if (computer.z > 6)
- to_chat(usr, "\red Unable to establish a connection: \black You're too far away from the station!")
+ to_chat(usr, "Unable to establish a connection: You're too far away from the station!")
return
var/dat
diff --git a/code/modules/computer3/computers/message.dm b/code/modules/computer3/computers/message.dm
index 31aa4f3a501..cb9d27dd0b9 100644
--- a/code/modules/computer3/computers/message.dm
+++ b/code/modules/computer3/computers/message.dm
@@ -411,10 +411,10 @@
if (!customrecepient.silent)
playsound(customrecepient.loc, 'sound/machines/twobeep.ogg', 50, 1)
for (var/mob/O in hearers(3, customrecepient.loc))
- O.show_message(text("\icon[customrecepient] *[customrecepient.ttone]*"))
+ O.show_message(text("[bicon(customrecepient)] *[customrecepient.ttone]*"))
if( customrecepient.loc && ishuman(customrecepient.loc) )
var/mob/living/carbon/human/H = customrecepient.loc
- to_chat(H, "\icon[customrecepient] Message from [customsender] ([customjob]), \"[custommessage]\" (Reply)"
+ to_chat(H, "[bicon(customrecepient)] Message from [customsender] ([customjob]), \"[custommessage]\" (Reply)"
log_pda("[usr] (PDA: [customsender]) sent \"[custommessage]\" to [customrecepient.owner]")
customrecepient.overlays.Cut()
@@ -426,10 +426,10 @@
if (!customrecepient.silent)
playsound(customrecepient.loc, 'sound/machines/twobeep.ogg', 50, 1)
for (var/mob/O in hearers(3, customrecepient.loc))
- O.show_message(text("\icon[customrecepient] *[customrecepient.ttone]*"))
+ O.show_message(text("[bicon(customrecepient)] *[customrecepient.ttone]*"))
if( customrecepient.loc && ishuman(customrecepient.loc) )
var/mob/living/carbon/human/H = customrecepient.loc
- to_chat(H, "\icon[customrecepient] Message from [PDARec.owner] ([customjob]), \"[custommessage]\" (Reply)"
+ to_chat(H, "[bicon(customrecepient)] Message from [PDARec.owner] ([customjob]), \"[custommessage]\" (Reply)"
log_pda("[usr] (PDA: [PDARec.owner]) sent \"[custommessage]\" to [customrecepient.owner]")
customrecepient.overlays.Cut()
diff --git a/code/modules/computer3/computers/security.dm b/code/modules/computer3/computers/security.dm
index c7eb0a8881b..ebb218b5cee 100644
--- a/code/modules/computer3/computers/security.dm
+++ b/code/modules/computer3/computers/security.dm
@@ -58,7 +58,7 @@
return
if (computer.z > 6)
- to_chat(usr, "\red Unable to establish a connection: \black You're too far away from the station!")
+ to_chat(usr, "Unable to establish a connection: You're too far away from the station!")
return
var/dat
diff --git a/code/modules/computer3/lapvend.dm b/code/modules/computer3/lapvend.dm
index 8383981046d..3834efd635a 100644
--- a/code/modules/computer3/lapvend.dm
+++ b/code/modules/computer3/lapvend.dm
@@ -262,11 +262,11 @@
network = 0
power = 0
else
- to_chat(usr, "\icon[src]You don't have that much money!")
+ to_chat(usr, "[bicon(src)]You don't have that much money!")
else
- to_chat(usr, "\icon[src]Unable to access account. Check security settings and try again.")
+ to_chat(usr, "[bicon(src)]Unable to access account. Check security settings and try again.")
else
- to_chat(usr, "\icon[src]Unable to access vendor account. Please record the machine ID and call CentComm Support.")
+ to_chat(usr, "[bicon(src)]Unable to access vendor account. Please record the machine ID and call CentComm Support.")
/obj/machinery/lapvend/proc/total()
var/total = 0
@@ -405,6 +405,6 @@
power = 0
else
- to_chat(usr, "\icon[src]Unable to access account. Check security settings and try again.")
+ to_chat(usr, "[bicon(src)]Unable to access account. Check security settings and try again.")
else
- to_chat(usr, "\icon[src]Unable to access vendor account. Please record the machine ID and call CentComm Support.")
+ to_chat(usr, "[bicon(src)]Unable to access vendor account. Please record the machine ID and call CentComm Support.")
diff --git a/code/modules/detective_work/scanner.dm b/code/modules/detective_work/scanner.dm
index e959df37989..3a5e19169c0 100644
--- a/code/modules/detective_work/scanner.dm
+++ b/code/modules/detective_work/scanner.dm
@@ -24,33 +24,33 @@
search = lowertext(search)
var/name
- var/fingerprint
- var/dna
+ var/fingerprint = "FINGERPRINT NOT FOUND"
+ var/dna = "BLOOD DNA NOT FOUND"
// I really, really wish I didn't have to split this into two seperate loops. But the datacore is awful.
for (var/record in data_core.general)
var/datum/data/record/S = record
- if(search == lowertext(S.fields["fingerprint"]) || search == lowertext(S.fields["name"]))
+ if(S && (search == lowertext(S.fields["fingerprint"]) || search == lowertext(S.fields["name"])))
name = S.fields["name"]
fingerprint = S.fields["fingerprint"]
continue
for (var/record in data_core.medical)
var/datum/data/record/M = record
- if (search == lowertext(M.fields["b_dna"]) || name == M.fields["name"])
+ if (M && ( search == lowertext(M.fields["b_dna"]) || name == M.fields["name"]) )
dna = M.fields["b_dna"]
- if(!fingerprint) // We have searched by DNA, and do not have the relevant information from the security records.
+ if(fingerprint == "FINGERPRINT NOT FOUND") // We have searched by DNA, and do not have the relevant information from the fingerprint records.
name = M.fields["name"]
for (var/gen_record in data_core.general)
var/datum/data/record/S = gen_record
- if(name == S.fields["name"])
+ if(S && (name == S.fields["name"]))
fingerprint = S.fields["fingerprint"]
continue
continue
- if(name && fingerprint && dna)
+ if(name)
to_chat(user, "Match found in station records: [name]