diff --git a/code/ZAS/Phoron.dm b/code/ZAS/Phoron.dm
index 6ffec0be995..c3cfb19514e 100644
--- a/code/ZAS/Phoron.dm
+++ b/code/ZAS/Phoron.dm
@@ -102,7 +102,8 @@ obj/var/contaminated = 0
if(vsc.plc.SKIN_BURNS && (species.breath_type != "phoron"))
if(!pl_head_protected() || !pl_suit_protected())
burn_skin(0.75)
- if(prob(20)) src << "Your skin burns!"
+ if(prob(20))
+ to_chat(src, "Your skin burns!")
updatehealth()
//Burn eyes if exposed.
@@ -133,17 +134,18 @@ obj/var/contaminated = 0
if(vsc.plc.GENETIC_CORRUPTION && (species.breath_type != "phoron"))
if(rand(1,10000) < vsc.plc.GENETIC_CORRUPTION)
randmutb(src)
- src << "High levels of toxins cause you to spontaneously mutate!"
+ to_chat(src, "High levels of toxins cause you to spontaneously mutate!")
domutcheck(src,null)
/mob/living/carbon/human/proc/burn_eyes()
var/obj/item/organ/internal/eyes/E = internal_organs_by_name[O_EYES]
if(E)
- if(prob(20)) src << "Your eyes burn!"
+ if(prob(20))
+ to_chat(src, "Your eyes burn!")
E.damage += 2.5
eye_blurry = min(eye_blurry+1.5,50)
if (prob(max(0,E.damage - 15) + 1) &&!eye_blind)
- src << "You are blinded!"
+ to_chat(src, "You are blinded!")
Blind(20)
/mob/living/carbon/human/proc/pl_head_protected()
diff --git a/code/_helpers/files.dm b/code/_helpers/files.dm
index 4a7b9fa646e..dd8c5dd6901 100644
--- a/code/_helpers/files.dm
+++ b/code/_helpers/files.dm
@@ -39,7 +39,7 @@
var/extension = copytext(path,-4,0)
if( !fexists(path) || !(extension in valid_extensions) )
- src << "Error: browse_files(): File not found/Invalid file([path])."
+ to_chat(src, "Error: browse_files(): File not found/Invalid file([path]).")
return
return path
@@ -53,7 +53,7 @@
/client/proc/file_spam_check()
var/time_to_wait = fileaccess_timer - world.time
if(time_to_wait > 0)
- src << "Error: file_spam_check(): Spam. Please wait [round(time_to_wait/10)] seconds."
+ to_chat(src, "Error: file_spam_check(): Spam. Please wait [round(time_to_wait/10)] seconds.")
return 1
fileaccess_timer = world.time + FTPDELAY
return 0
diff --git a/code/_helpers/unsorted.dm b/code/_helpers/unsorted.dm
index 9104bc71d9a..d85c33a4e5c 100644
--- a/code/_helpers/unsorted.dm
+++ b/code/_helpers/unsorted.dm
@@ -358,7 +358,7 @@ Turf and target are seperate in case you want to teleport some distance from a t
break
if(newname)
break //That's a suitable name!
- src << "Sorry, that [role]-name wasn't appropriate, please try another. It's possibly too long/short, has bad characters or is already taken."
+ to_chat(src, "Sorry, that [role]-name wasn't appropriate, please try another. It's possibly too long/short, has bad characters or is already taken.")
if(!newname) //we'll stick with the oldname then
return
diff --git a/code/datums/helper_datums/getrev.dm b/code/datums/helper_datums/getrev.dm
index aef0fd0ac2a..4dad60db895 100644
--- a/code/datums/helper_datums/getrev.dm
+++ b/code/datums/helper_datums/getrev.dm
@@ -35,10 +35,10 @@ client/verb/showrevinfo()
set desc = "Check the current server code revision"
if(revdata.revision)
- src << "Server revision: [revdata.branch] - [revdata.date]"
+ to_chat(src, "Server revision: [revdata.branch] - [revdata.date]")
if(config.githuburl)
- src << "[revdata.revision]"
+ to_chat(src, "[revdata.revision]")
else
src << revdata.revision
else
- src << "Revision unknown"
+ to_chat(src, "Revision unknown")
diff --git a/code/game/gamemodes/changeling/changeling_powers.dm b/code/game/gamemodes/changeling/changeling_powers.dm
index 627b4e8b140..373aefa0d81 100644
--- a/code/game/gamemodes/changeling/changeling_powers.dm
+++ b/code/game/gamemodes/changeling/changeling_powers.dm
@@ -129,19 +129,19 @@ var/global/list/possible_changeling_IDs = list("Alpha","Beta","Gamma","Delta","E
return
if(src.stat > max_stat)
- src << "We are incapacitated."
+ to_chat(src, "We are incapacitated.")
return
if(changeling.absorbed_dna.len < required_dna)
- src << "We require at least [required_dna] samples of compatible DNA."
+ to_chat(src, "We require at least [required_dna] samples of compatible DNA.")
return
if(changeling.chem_charges < required_chems)
- src << "We require at least [required_chems] units of chemicals to do that!"
+ to_chat(src, "We require at least [required_chems] units of chemicals to do that!")
return
if(changeling.geneticdamage > max_genetic_damage)
- src << "Our genomes are still reassembling. We need time to recover first."
+ to_chat(src, "Our genomes are still reassembling. We need time to recover first.")
return
return changeling
@@ -204,11 +204,11 @@ turf/proc/AdjacentTurfsRangedSting()
if(M.loc == src.loc)
return 1 //target and source are in the same thing
if(!isturf(src.loc) || !isturf(M.loc))
- src << "We cannot reach \the [M] with a sting!"
+ to_chat(src, "We cannot reach \the [M] with a sting!")
return 0 //One is inside, the other is outside something.
// Maximum queued turfs set to 25; I don't *think* anything raises sting_range above 2, but if it does the 25 may need raising
if(!AStar(src.loc, M.loc, /turf/proc/AdjacentTurfsRangedSting, /turf/proc/Distance, max_nodes=25, max_node_depth=sting_range)) //If we can't find a path, fail
- src << "We cannot find a path to sting \the [M] by!"
+ to_chat(src, "We cannot find a path to sting \the [M] by!")
return 0
return 1
@@ -225,7 +225,7 @@ turf/proc/AdjacentTurfsRangedSting()
if(!T)
return
if(T.isSynthetic())
- src << "We are unable to pierce the outer shell of [T]."
+ to_chat(src, "We are unable to pierce the outer shell of [T].")
return
if(!(T in view(changeling.sting_range))) return
if(!sting_can_reach(T, changeling.sting_range)) return
@@ -236,7 +236,7 @@ turf/proc/AdjacentTurfsRangedSting()
src.verbs -= verb_path
spawn(10) src.verbs += verb_path
- src << "We stealthily sting [T]."
+ to_chat(src, "We stealthily sting [T].")
if(!T.mind || !T.mind.changeling) return T //T will be affected by the sting
T << "You feel a tiny prick."
return
diff --git a/code/game/gamemodes/changeling/powers/respec.dm b/code/game/gamemodes/changeling/powers/respec.dm
index 1387e149998..a50a41269f7 100644
--- a/code/game/gamemodes/changeling/powers/respec.dm
+++ b/code/game/gamemodes/changeling/powers/respec.dm
@@ -26,6 +26,6 @@
H.remove_modifiers_of_type(/datum/modifier/endoarmor) //Revert endoarmor too.
src.make_changeling() //And give back our freebies.
- src << "We have removed our evolutions from this form, and are now ready to readapt."
+ to_chat(src, "We have removed our evolutions from this form, and are now ready to readapt.")
ling_datum.purchased_powers_history.Add("Re-adapt (Reset to [ling_datum.max_geneticpoints])")
diff --git a/code/game/gamemodes/cult/cultify/mob.dm b/code/game/gamemodes/cult/cultify/mob.dm
index d78956c40ab..0cadd06d6cf 100644
--- a/code/game/gamemodes/cult/cultify/mob.dm
+++ b/code/game/gamemodes/cult/cultify/mob.dm
@@ -12,7 +12,7 @@
icon_state = "ghost-narsie"
overlays = 0
invisibility = 0
- src << "Even as a non-corporal being, you can feel Nar-Sie's presence altering you. You are now visible to everyone."
+ to_chat(src, "Even as a non-corporal being, you can feel Nar-Sie's presence altering you. You are now visible to everyone.")
/mob/living/cultify()
if(iscultist(src) && client)
diff --git a/code/game/machinery/camera/tracking.dm b/code/game/machinery/camera/tracking.dm
index 4f6b7df94f1..a1c954df007 100644
--- a/code/game/machinery/camera/tracking.dm
+++ b/code/game/machinery/camera/tracking.dm
@@ -47,24 +47,24 @@
loc = sanitize(loc)
if(!loc)
- src << "Must supply a location name"
+ to_chat(src, "Must supply a location name")
return
if(stored_locations.len >= max_locations)
- src << "Cannot store additional locations. Remove one first"
+ to_chat(src, "Cannot store additional locations. Remove one first")
return
if(loc in stored_locations)
- src << "There is already a stored location by this name"
+ to_chat(src, "There is already a stored location by this name")
return
var/L = src.eyeobj.getLoc()
if (InvalidPlayerTurf(get_turf(L)))
- src << "Unable to store this location"
+ to_chat(src, "Unable to store this location")
return
stored_locations[loc] = L
- src << "Location '[loc]' stored"
+ to_chat(src, "Location '[loc]' stored")
/mob/living/silicon/ai/proc/sorted_stored_locations()
return sortList(stored_locations)
@@ -75,7 +75,7 @@
set desc = "Returns to the selected camera location"
if (!(loc in stored_locations))
- src << "Location [loc] not found"
+ to_chat(src, "Location [loc] not found")
return
var/L = stored_locations[loc]
@@ -87,11 +87,11 @@
set desc = "Deletes the selected camera location"
if (!(loc in stored_locations))
- src << "Location [loc] not found"
+ to_chat(src, "Location [loc] not found")
return
stored_locations.Remove(loc)
- src << "Location [loc] removed"
+ to_chat(src, "Location [loc] removed")
// Used to allow the AI is write in mob names/camera name from the CMD line.
/datum/trackable
@@ -134,7 +134,7 @@
set desc = "Select who you would like to track."
if(src.stat == 2)
- src << "You can't follow [target_name] with cameras because you are dead!"
+ to_chat(src, "You can't follow [target_name] with cameras because you are dead!")
return
if(!target_name)
src.cameraFollow = null
@@ -147,7 +147,7 @@
if(!cameraFollow)
return
- src << "Follow camera mode [forced ? "terminated" : "ended"]."
+ to_chat(src, "Follow camera mode [forced ? "terminated" : "ended"].")
cameraFollow.tracking_cancelled()
cameraFollow = null
@@ -266,14 +266,14 @@ mob/living/proc/tracking_initiated()
mob/living/silicon/robot/tracking_initiated()
tracking_entities++
if(tracking_entities == 1 && has_zeroth_law())
- src << "Internal camera is currently being accessed."
+ to_chat(src, "Internal camera is currently being accessed.")
mob/living/proc/tracking_cancelled()
mob/living/silicon/robot/tracking_initiated()
tracking_entities--
if(!tracking_entities && has_zeroth_law())
- src << "Internal camera is no longer being accessed."
+ to_chat(src, "Internal camera is no longer being accessed.")
#undef TRACKING_POSSIBLE
diff --git a/code/game/verbs/ooc.dm b/code/game/verbs/ooc.dm
index 0c6fa0fed7f..b75de6685e6 100644
--- a/code/game/verbs/ooc.dm
+++ b/code/game/verbs/ooc.dm
@@ -9,28 +9,28 @@
if(!mob) return
if(IsGuestKey(key))
- src << "Guests may not use OOC."
+ to_chat(src, "Guests may not use OOC.")
return
msg = sanitize(msg)
if(!msg) return
if(!is_preference_enabled(/datum/client_preference/show_ooc))
- src << "You have OOC muted."
+ to_chat(src, "You have OOC muted.")
return
if(!holder)
if(!config.ooc_allowed)
- src << "OOC is globally muted."
+ to_chat(src, "OOC is globally muted.")
return
if(!config.dooc_allowed && (mob.stat == DEAD))
usr << "OOC for dead mobs has been turned off."
return
if(prefs.muted & MUTE_OOC)
- src << "You cannot use OOC (muted)."
+ to_chat(src, "You cannot use OOC (muted).")
return
if(findtext(msg, "byond://"))
- src << "Advertising other servers is not allowed."
+ to_chat(src, "Advertising other servers is not allowed.")
log_admin("[key_name(src)] has attempted to advertise in OOC: [msg]")
message_admins("[key_name_admin(src)] has attempted to advertise in OOC: [msg]")
return
@@ -86,7 +86,7 @@
return
if(IsGuestKey(key))
- src << "Guests may not use OOC."
+ to_chat(src, "Guests may not use OOC.")
return
msg = sanitize(msg)
@@ -94,21 +94,21 @@
return
if(!is_preference_enabled(/datum/client_preference/show_looc))
- src << "You have LOOC muted."
+ to_chat(src, "You have LOOC muted.")
return
if(!holder)
if(!config.looc_allowed)
- src << "LOOC is globally muted."
+ to_chat(src, "LOOC is globally muted.")
return
if(!config.dooc_allowed && (mob.stat == DEAD))
usr << "OOC for dead mobs has been turned off."
return
if(prefs.muted & MUTE_OOC)
- src << "You cannot use OOC (muted)."
+ to_chat(src, "You cannot use OOC (muted).")
return
if(findtext(msg, "byond://"))
- src << "Advertising other servers is not allowed."
+ to_chat(src, "Advertising other servers is not allowed.")
log_admin("[key_name(src)] has attempted to advertise in OOC: [msg]")
message_admins("[key_name_admin(src)] has attempted to advertise in OOC: [msg]")
return
diff --git a/code/game/verbs/suicide.dm b/code/game/verbs/suicide.dm
index 4a40ea97cb1..5a6bfefdb47 100644
--- a/code/game/verbs/suicide.dm
+++ b/code/game/verbs/suicide.dm
@@ -4,27 +4,27 @@
set hidden = 1
if (stat == DEAD)
- src << "You're already dead!"
+ to_chat(src, "You're already dead!")
return
if (!ticker)
- src << "You can't commit suicide before the game starts!"
+ to_chat(src, "You can't commit suicide before the game starts!")
return
if(!player_is_antag(mind))
message_admins("[ckey] has tried to suicide, but they were not permitted due to not being antagonist as human.", 1)
- src << "No. Adminhelp if there is a legitimate reason."
+ to_chat(src, "No. Adminhelp if there is a legitimate reason.")
return
if (suiciding)
- src << "You're already committing suicide! Be patient!"
+ to_chat(src, "You're already committing suicide! Be patient!")
return
var/confirm = alert("Are you sure you want to commit suicide?", "Confirm Suicide", "Yes", "No")
if(confirm == "Yes")
if(!canmove || restrained()) //just while I finish up the new 'fun' suiciding verb. This is to prevent metagaming via suicide
- src << "You can't commit suicide whilst restrained! ((You can type Ghost instead however.))"
+ to_chat(src, "You can't commit suicide whilst restrained! ((You can type Ghost instead however.))")
return
suiciding = 15
does_not_breathe = 0 //Prevents ling-suicide zombies, or something
@@ -92,15 +92,15 @@
set hidden = 1
if (stat == 2)
- src << "You're already dead!"
+ to_chat(src, "You're already dead!")
return
if (!ticker)
- src << "You can't commit suicide before the game starts!"
+ to_chat(src, "You can't commit suicide before the game starts!")
return
if (suiciding)
- src << "You're already committing suicide! Be patient!"
+ to_chat(src, "You're already committing suicide! Be patient!")
return
var/confirm = alert("Are you sure you want to commit suicide?", "Confirm Suicide", "Yes", "No")
@@ -116,11 +116,11 @@
set hidden = 1
if (stat == 2)
- src << "You're already dead!"
+ to_chat(src, "You're already dead!")
return
if (suiciding)
- src << "You're already committing suicide! Be patient!"
+ to_chat(src, "You're already committing suicide! Be patient!")
return
var/confirm = alert("Are you sure you want to commit suicide?", "Confirm Suicide", "Yes", "No")
@@ -136,11 +136,11 @@
set hidden = 1
if (stat == 2)
- src << "You're already dead!"
+ to_chat(src, "You're already dead!")
return
if (suiciding)
- src << "You're already committing suicide! Be patient!"
+ to_chat(src, "You're already committing suicide! Be patient!")
return
var/confirm = alert("Are you sure you want to commit suicide?", "Confirm Suicide", "Yes", "No")
@@ -165,4 +165,4 @@
M.show_message("[src] flashes a message across its screen, \"Wiping core files. Please acquire a new personality to continue using pAI device functions.\"", 3, "[src] bleeps electronically.", 2)
death(0)
else
- src << "Aborting suicide attempt."
+ to_chat(src, "Aborting suicide attempt.")
diff --git a/code/game/verbs/who.dm b/code/game/verbs/who.dm
index c030e25649f..a8100038a82 100644
--- a/code/game/verbs/who.dm
+++ b/code/game/verbs/who.dm
@@ -171,7 +171,7 @@
num_event_managers_online++
if(config.admin_irc)
- src << "Adminhelps are also sent to IRC. If no admins are available in game try anyway and an admin on IRC may see it and respond."
+ to_chat(src, "Adminhelps are also sent to IRC. If no admins are available in game try anyway and an admin on IRC may see it and respond.")
msg = "Current Admins ([num_admins_online]):\n" + msg
if(config.show_mods)
diff --git a/code/modules/admin/ToRban.dm b/code/modules/admin/ToRban.dm
index d127bfe6f41..f4ddd3e3f28 100644
--- a/code/modules/admin/ToRban.dm
+++ b/code/modules/admin/ToRban.dm
@@ -72,16 +72,16 @@
var/choice = input(src,"Please select an IP address to remove from the ToR banlist:","Remove ToR ban",null) as null|anything in F.dir
if(choice)
F.dir.Remove(choice)
- src << "Address removed"
+ to_chat(src, "Address removed")
if("remove all")
- src << "[TORFILE] was [fdel(TORFILE)?"":"not "]removed."
+ to_chat(src, "[TORFILE] was [fdel(TORFILE)?"":"not "]removed.")
if("find")
var/input = input(src,"Please input an IP address to search for:","Find ToR ban",null) as null|text
if(input)
if(ToRban_isbanned(input))
- src << "Address is a known ToR address"
+ to_chat(src, "Address is a known ToR address")
else
- src << "Address is not a known ToR address"
+ to_chat(src, "Address is not a known ToR address")
return
#undef TORFILE
diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm
index 8daa899692c..671520fbf89 100644
--- a/code/modules/admin/admin.dm
+++ b/code/modules/admin/admin.dm
@@ -1305,7 +1305,7 @@ var/datum/announcement/minor/admin_min_announcer = new
set desc = "Should fix any mob sprite update errors."
if (!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if(istype(H))
diff --git a/code/modules/admin/admin_report.dm b/code/modules/admin/admin_report.dm
index c5cff737ee1..40a96cb1004 100644
--- a/code/modules/admin/admin_report.dm
+++ b/code/modules/admin/admin_report.dm
@@ -149,7 +149,8 @@ client/proc/mark_report_done(ID as num)
for(var/datum/admin_report/N in reports)
if(N.ID == ID)
found = N
- if(!found) src << "* An error occured, sorry."
+ if(!found)
+ to_chat(src, "* An error occured, sorry.")
found.done = 1
@@ -158,7 +159,7 @@ client/proc/mark_report_done(ID as num)
client/proc/edit_report(ID as num)
if(!src.holder || src.holder.level < 0)
- src << "You tried to modify the news, but you're not an admin!"
+ to_chat(src, "You tried to modify the news, but you're not an admin!")
return
var/savefile/Reports = new("data/reports.sav")
@@ -170,7 +171,8 @@ client/proc/edit_report(ID as num)
for(var/datum/admin_report/N in reports)
if(N.ID == ID)
found = N
- if(!found) src << "* An error occured, sorry."
+ if(!found)
+ to_chat(src, "* An error occured, sorry.")
var/body = input(src.mob, "Enter a body for the news", "Body") as null|message
if(!body) return
diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm
index 9f8e6271f33..cb111adc9c9 100644
--- a/code/modules/admin/admin_verbs.dm
+++ b/code/modules/admin/admin_verbs.dm
@@ -451,7 +451,7 @@ var/list/admin_verbs_event_manager = list(
verbs.Remove(/client/proc/hide_most_verbs, admin_verbs_hideable)
verbs += /client/proc/show_verbs
- src << "Most of your adminverbs have been hidden."
+ to_chat(src, "Most of your adminverbs have been hidden.")
feedback_add_details("admin_verb","HMV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return
@@ -462,7 +462,7 @@ var/list/admin_verbs_event_manager = list(
remove_admin_verbs()
verbs += /client/proc/show_verbs
- src << "Almost all of your adminverbs have been hidden."
+ to_chat(src, "Almost all of your adminverbs have been hidden.")
feedback_add_details("admin_verb","TAVVH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return
@@ -473,7 +473,7 @@ var/list/admin_verbs_event_manager = list(
verbs -= /client/proc/show_verbs
add_admin_verbs()
- src << "All of your adminverbs are now visible."
+ to_chat(src, "All of your adminverbs are now visible.")
feedback_add_details("admin_verb","TAVVS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -493,7 +493,7 @@ var/list/admin_verbs_event_manager = list(
feedback_add_details("admin_verb","P") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else if(istype(mob,/mob/new_player))
- src << "Error: Aghost: Can't admin-ghost whilst in the lobby. Join or Observe first."
+ to_chat(src, "Error: Aghost: Can't admin-ghost whilst in the lobby. Join or Observe first.")
else
//ghostize
var/mob/body = mob
@@ -655,7 +655,7 @@ var/list/admin_verbs_event_manager = list(
else D = preferences_datums[warned_ckey]
if(!D)
- src << "Error: warn(): No such ckey found."
+ to_chat(src, "Error: warn(): No such ckey found.")
return
if(++D.warns >= MAX_WARNS) //uh ohhhh...you'reee iiiiin trouuuubble O:)
@@ -818,7 +818,7 @@ var/list/admin_verbs_event_manager = list(
deadmin_holder.reassociate()
log_admin("[src] re-admined themself.")
message_admins("[src] re-admined themself.", 1)
- src << "You now have the keys to control the planet, or atleast a small space station"
+ to_chat(src, "You now have the keys to control the planet, or atleast a small space station")
verbs -= /client/proc/readmin_self
/client/proc/deadmin_self()
@@ -830,7 +830,7 @@ var/list/admin_verbs_event_manager = list(
log_admin("[src] deadmined themself.")
message_admins("[src] deadmined themself.", 1)
deadmin()
- src << "You are now a normal player."
+ to_chat(src, "You are now a normal player.")
verbs |= /client/proc/readmin_self
feedback_add_details("admin_verb","DAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -841,10 +841,10 @@ var/list/admin_verbs_event_manager = list(
if(config)
if(config.log_hrefs)
config.log_hrefs = 0
- src << "Stopped logging hrefs"
+ to_chat(src, "Stopped logging hrefs")
else
config.log_hrefs = 1
- src << "Started logging hrefs"
+ to_chat(src, "Started logging hrefs")
/client/proc/check_ai_laws()
set name = "Check AI Laws"
@@ -1039,11 +1039,11 @@ var/list/admin_verbs_event_manager = list(
if(config)
if(config.cult_ghostwriter)
config.cult_ghostwriter = 0
- src << "Disallowed ghost writers."
+ to_chat(src, "Disallowed ghost writers.")
message_admins("Admin [key_name_admin(usr)] has disabled ghost writers.", 1)
else
config.cult_ghostwriter = 1
- src << "Enabled ghost writers."
+ to_chat(src, "Enabled ghost writers.")
message_admins("Admin [key_name_admin(usr)] has enabled ghost writers.", 1)
/client/proc/toggledrones()
@@ -1053,11 +1053,11 @@ var/list/admin_verbs_event_manager = list(
if(config)
if(config.allow_drone_spawn)
config.allow_drone_spawn = 0
- src << "Disallowed maint drones."
+ to_chat(src, "Disallowed maint drones.")
message_admins("Admin [key_name_admin(usr)] has disabled maint drones.", 1)
else
config.allow_drone_spawn = 1
- src << "Enabled maint drones."
+ to_chat(src, "Enabled maint drones.")
message_admins("Admin [key_name_admin(usr)] has enabled maint drones.", 1)
/client/proc/man_up(mob/T as mob in mob_list)
diff --git a/code/modules/admin/verbs/adminjump.dm b/code/modules/admin/verbs/adminjump.dm
index 56af4e7e15d..642aa456cb7 100644
--- a/code/modules/admin/verbs/adminjump.dm
+++ b/code/modules/admin/verbs/adminjump.dm
@@ -91,7 +91,7 @@
keys += M.client
var/selection = input("Please, select a player!", "Admin Jumping", null, null) as null|anything in sortKey(keys)
if(!selection)
- src << "No keys found."
+ to_chat(src, "No keys found.")
return
var/mob/M = selection:mob
log_admin("[key_name(usr)] jumped to [key_name(M)]")
diff --git a/code/modules/admin/verbs/atmosdebug.dm b/code/modules/admin/verbs/atmosdebug.dm
index 083789e550f..cc77c43cd00 100644
--- a/code/modules/admin/verbs/atmosdebug.dm
+++ b/code/modules/admin/verbs/atmosdebug.dm
@@ -3,7 +3,7 @@
set name = "Check Piping"
set background = 1
if(!src.holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
feedback_add_details("admin_verb","CP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -44,7 +44,7 @@
set category = "Mapping"
set name = "Check Power"
if(!src.holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
feedback_add_details("admin_verb","CPOW") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
diff --git a/code/modules/admin/verbs/deadsay.dm b/code/modules/admin/verbs/deadsay.dm
index 08eda6bb346..6099fd5e299 100644
--- a/code/modules/admin/verbs/deadsay.dm
+++ b/code/modules/admin/verbs/deadsay.dm
@@ -3,16 +3,16 @@
set name = "Dsay" //Gave this shit a shorter name so you only have to time out "dsay" rather than "dead say" to use it --NeoFite
set hidden = 1
if(!src.holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if(!src.mob)
return
if(prefs.muted & MUTE_DEADCHAT)
- src << "You cannot send DSAY messages (muted)."
+ to_chat(src, "You cannot send DSAY messages (muted).")
return
if(!is_preference_enabled(/datum/client_preference/show_dsay))
- src << "You have deadchat muted."
+ to_chat(src, "You have deadchat muted.")
return
var/stafftype = uppertext(holder.rank)
diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm
index 11541128c50..6a9405fef63 100644
--- a/code/modules/admin/verbs/debug.dm
+++ b/code/modules/admin/verbs/debug.dm
@@ -562,7 +562,7 @@
SMES.output_level = 75000
if(!found_the_pump && response == "Setup Completely")
- src << "Unable to locate air supply to fill up with coolant, adding some coolant around the supermatter"
+ to_chat(src, "Unable to locate air supply to fill up with coolant, adding some coolant around the supermatter")
var/turf/simulated/T = SM.loc
T.zone.air.gas["nitrogen"] += 450
T.zone.air.temperature = 50
diff --git a/code/modules/admin/verbs/diagnostics.dm b/code/modules/admin/verbs/diagnostics.dm
index 9fdf39c0d1d..5199f8455f0 100644
--- a/code/modules/admin/verbs/diagnostics.dm
+++ b/code/modules/admin/verbs/diagnostics.dm
@@ -124,7 +124,7 @@
set category = "Debug"
/*
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if(!air_master)
@@ -146,7 +146,7 @@
set category = "Debug"
/*
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if(!air_master)
diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm
index 3ffd76878eb..1a3fbfe76f5 100644
--- a/code/modules/admin/verbs/randomverbs.dm
+++ b/code/modules/admin/verbs/randomverbs.dm
@@ -2,7 +2,7 @@
set category = null
set name = "Drop Everything"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
var/confirm = alert(src, "Make [M] drop everything?", "Message", "Yes", "No")
@@ -20,7 +20,7 @@
set category = "Admin"
set name = "Prison"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if (ismob(M))
if(istype(M, /mob/living/silicon/ai))
@@ -48,7 +48,7 @@
set category = "Admin"
set name = "Check new Players"
if(!holder)
- src << "Only staff members may use this command."
+ to_chat(src, "Only staff members may use this command.")
var/age = alert(src, "Age check", "Show accounts yonger then _____ days","7", "30" , "All")
@@ -70,12 +70,12 @@
msg += "[key_name(C, 1, 1, highlight_special_characters)]: account is [C.player_age] days old
"
if(missing_ages)
- src << "Some accounts did not have proper ages set in their clients. This function requires database to be present."
+ to_chat(src, "Some accounts did not have proper ages set in their clients. This function requires database to be present.")
if(msg != "")
src << browse(msg, "window=Player_age_check")
else
- src << "No matches for that age range found."
+ to_chat(src, "No matches for that age range found.")
/client/proc/cmd_admin_subtle_message(mob/M as mob in mob_list)
set category = "Special Verbs"
@@ -83,7 +83,7 @@
if(!ismob(M)) return
if (!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
var/msg = sanitize(input("Message:", text("Subtle PM to [M.key]")) as text)
@@ -106,7 +106,7 @@
set name = "Global Narrate"
if (!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
var/msg = sanitize(input("Message:", text("Enter the text you wish to appear to everyone:")) as text)
@@ -123,7 +123,7 @@
set name = "Direct Narrate"
if(!holder)
- src << "Only administrators and moderators may use this command."
+ to_chat(src, "Only administrators and moderators may use this command.")
return
if(!M)
@@ -148,7 +148,7 @@
set category = "Special Verbs"
set name = "Godmode"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
M.status_flags ^= GODMODE
usr << " Toggled [(M.status_flags & GODMODE) ? "ON" : "OFF"]"
@@ -216,7 +216,7 @@ proc/cmd_admin_mute(mob/M as mob, mute_type, automute = 0)
set category = "Fun"
set name = "Add Random AI Law"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
if(confirm != "Yes") return
@@ -248,7 +248,7 @@ Ccomp's first proc.
any = 1 //if no ghosts show up, any will just be 0
if(!any)
if(notify)
- src << "There doesn't appear to be any ghosts for you to select."
+ to_chat(src, "There doesn't appear to be any ghosts for you to select.")
return
for(var/mob/M in mobs)
@@ -265,12 +265,12 @@ Ccomp's first proc.
set name = "Allow player to respawn"
set desc = "Let's the player bypass the wait to respawn or allow them to re-enter their corpse."
if(!holder)
- src << "Only administrators and moderators may use this command."
+ to_chat(src, "Only administrators and moderators may use this command.")
var/list/ghosts= get_ghosts(1,1)
var/target = input("Please, select a ghost!", "COME BACK TO LIFE!", null, null) as null|anything in ghosts
if(!target)
- src << "Hrm, appears you didn't select a ghost" // Sanity check, if no ghosts in the list we don't want to edit a null variable and cause a runtime error.
+ to_chat(src, "Hrm, appears you didn't select a ghost") // Sanity check, if no ghosts in the list we don't want to edit a null variable and cause a runtime error.
return
var/mob/observer/dead/G = ghosts[target]
@@ -295,7 +295,7 @@ Ccomp's first proc.
set desc = "Toggles antagHUD usage for observers"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
var/action=""
if(config.antag_hud_allowed)
for(var/mob/observer/dead/g in get_ghosts())
@@ -306,7 +306,7 @@ Ccomp's first proc.
g.has_enabled_antagHUD = 2 // We'll allow them to respawn
g << "The Administrator has disabled AntagHUD "
config.antag_hud_allowed = 0
- src << "AntagHUD usage has been disabled"
+ to_chat(src, "AntagHUD usage has been disabled")
action = "disabled"
else
for(var/mob/observer/dead/g in get_ghosts())
@@ -315,7 +315,7 @@ Ccomp's first proc.
g << "The Administrator has enabled AntagHUD " // Notify all observers they can now use AntagHUD
config.antag_hud_allowed = 1
action = "enabled"
- src << "AntagHUD usage has been enabled"
+ to_chat(src, "AntagHUD usage has been enabled")
log_admin("[key_name(usr)] has [action] antagHUD usage for observers")
@@ -328,14 +328,14 @@ Ccomp's first proc.
set name = "Toggle antagHUD Restrictions"
set desc = "Restricts players that have used antagHUD from being able to join this round."
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
var/action=""
if(config.antag_hud_restricted)
for(var/mob/observer/dead/g in get_ghosts())
g << "The administrator has lifted restrictions on joining the round if you use AntagHUD"
action = "lifted restrictions"
config.antag_hud_restricted = 0
- src << "AntagHUD restrictions have been lifted"
+ to_chat(src, "AntagHUD restrictions have been lifted")
else
for(var/mob/observer/dead/g in get_ghosts())
g << "The administrator has placed restrictions on joining the round if you use AntagHUD"
@@ -344,7 +344,7 @@ Ccomp's first proc.
g.has_enabled_antagHUD = 0
action = "placed restrictions"
config.antag_hud_restricted = 1
- src << "AntagHUD restrictions have been enabled"
+ to_chat(src, "AntagHUD restrictions have been enabled")
log_admin("[key_name(usr)] has [action] on joining the round if they use AntagHUD")
message_admins("Admin [key_name_admin(usr)] has [action] on joining the round if they use AntagHUD", 1)
@@ -359,7 +359,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set name = "Spawn Character"
set desc = "(Re)Spawn a client's loaded character."
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
//I frontload all the questions so we don't have a half-done process while you're reading.
@@ -443,7 +443,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
switch(location)
if("Right Here") //Spawn them on your turf
if(!src.mob)
- src << "You can't use 'Right Here' when you are not 'Right Anywhere'!"
+ to_chat(src, "You can't use 'Right Here' when you are not 'Right Anywhere'!")
return
spawnloc = get_turf(src.mob)
@@ -452,19 +452,19 @@ Traitors and the like can also be revived with the previous role mostly intact.
spawnloc = pick(latejoin)
else //I have no idea how you're here
- src << "Invalid spawn location choice."
+ to_chat(src, "Invalid spawn location choice.")
return
//Did we actually get a loc to spawn them?
if(!spawnloc)
- src << "Couldn't get valid spawn location."
+ to_chat(src, "Couldn't get valid spawn location.")
return
new_character = new(spawnloc)
//We were able to spawn them, right?
if(!new_character)
- src << "Something went wrong and spawning failed."
+ to_chat(src, "Something went wrong and spawning failed.")
return
//Write the appearance and whatnot out to the character
@@ -517,7 +517,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Fun"
set name = "Add Custom AI law"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
var/input = sanitize(input(usr, "Please enter anything you want the AI to do. Anything. Serious.", "What?", "") as text|null)
if(!input)
@@ -545,7 +545,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Special Verbs"
set name = "Rejuvenate"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if(!mob)
return
@@ -567,7 +567,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Special Verbs"
set name = "Create Command Report"
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
var/input = sanitize(input(usr, "Please enter anything you want. Anything. Serious.", "What?", "") as message|null, extra = 0)
var/customname = sanitizeSafe(input(usr, "Pick a title for the report.", "Title") as text|null)
@@ -595,7 +595,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set name = "Delete"
if (!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
admin_delete(O)
@@ -604,11 +604,11 @@ Traitors and the like can also be revived with the previous role mostly intact.
set name = "List free slots"
if (!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if(job_master)
for(var/datum/job/job in job_master.occupations)
- src << "[job.title]: [job.total_positions]"
+ to_chat(src, "[job.title]: [job.total_positions]")
feedback_add_details("admin_verb","LFS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_explosion(atom/O as obj|mob|turf in world)
@@ -705,7 +705,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set name = "Manual Ban"
set category = "Special Verbs"
if(!authenticated || !holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
var/mob/M = null
switch(alert("How would you like to ban someone today?", "Manual Ban", "Key List", "Enter Manually", "Cancel"))
@@ -777,7 +777,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Debug"
set name = "Stabilize Atmos."
if(!holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
feedback_add_details("admin_verb","STATM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
// DEFERRED
diff --git a/code/modules/admin/verbs/striketeam.dm b/code/modules/admin/verbs/striketeam.dm
index 37fc52eda80..65d954fbc99 100644
--- a/code/modules/admin/verbs/striketeam.dm
+++ b/code/modules/admin/verbs/striketeam.dm
@@ -7,7 +7,7 @@ var/const/commandos_possible = 6 //if more Commandos are needed in the future
set desc = "Spawns a strike team if you want to run an admin event."
if(!src.holder)
- src << "Only administrators may use this command."
+ to_chat(src, "Only administrators may use this command.")
return
if(!ticker)
diff --git a/code/modules/admin/verbs/ticklag.dm b/code/modules/admin/verbs/ticklag.dm
index ab5693878a6..3c34f0f35a9 100644
--- a/code/modules/admin/verbs/ticklag.dm
+++ b/code/modules/admin/verbs/ticklag.dm
@@ -19,6 +19,6 @@
if("Yes") config.Tickcomp = 1
else config.Tickcomp = 0
else
- src << "Error: ticklag(): Invalid world.ticklag value. No changes made."
+ to_chat(src, "Error: ticklag(): Invalid world.ticklag value. No changes made.")
diff --git a/code/modules/client/preferences_toggle_procs.dm b/code/modules/client/preferences_toggle_procs.dm
index fa51b9e4e94..73086e81f4f 100644
--- a/code/modules/client/preferences_toggle_procs.dm
+++ b/code/modules/client/preferences_toggle_procs.dm
@@ -203,7 +203,7 @@
toggle_preference(pref_path)
- src << "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear jukebox music."
+ to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear jukebox music.")
SScharacter_setup.queue_preferences_save(prefs)
diff --git a/code/modules/client/preferences_vr.dm b/code/modules/client/preferences_vr.dm
index 5c8171ce27c..746a95d6dbe 100644
--- a/code/modules/client/preferences_vr.dm
+++ b/code/modules/client/preferences_vr.dm
@@ -13,7 +13,7 @@ datum/preferences
toggle_preference(pref_path)
- src << "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear eating related vore noises."
+ to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear eating related vore noises.")
SScharacter_setup.queue_preferences_save(prefs)
@@ -29,7 +29,7 @@ datum/preferences
toggle_preference(pref_path)
- src << "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear digestion related vore noises."
+ to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear digestion related vore noises.")
SScharacter_setup.queue_preferences_save(prefs)
diff --git a/code/modules/clothing/spacesuits/rig/rig.dm b/code/modules/clothing/spacesuits/rig/rig.dm
index a7c32871338..7cf90844357 100644
--- a/code/modules/clothing/spacesuits/rig/rig.dm
+++ b/code/modules/clothing/spacesuits/rig/rig.dm
@@ -1016,7 +1016,7 @@
M.stop_pulling()
if(wearer.pinned.len)
- src << "Your host is pinned to a wall by [wearer.pinned[1]]!"
+ to_chat(src, "Your host is pinned to a wall by [wearer.pinned[1]]!")
return 0
// AIs are a bit slower than regular and ignore move intent.
diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm
index 758c438a254..ef7086f6e06 100644
--- a/code/modules/mob/dead/observer/observer.dm
+++ b/code/modules/mob/dead/observer/observer.dm
@@ -231,7 +231,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set name = "Re-enter Corpse"
if(!client) return
if(!(mind && mind.current && can_reenter_corpse))
- src << "You have no body."
+ to_chat(src, "You have no body.")
return
if(mind.current.key && copytext(mind.current.key,1,2)!="@") //makes sure we don't accidentally kick any clients
usr << "Another consciousness is in your body... it is resisting you."
@@ -279,10 +279,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set desc = "Toggles AntagHUD allowing you to see who is the antagonist"
if(!config.antag_hud_allowed && !client.holder)
- src << "Admins have disabled this for this round."
+ to_chat(src, "Admins have disabled this for this round.")
return
if(jobban_isbanned(src, "AntagHUD"))
- src << "You have been banned from using this feature"
+ to_chat(src, "You have been banned from using this feature")
return
if(config.antag_hud_restricted && !has_enabled_antagHUD && !client.holder)
var/response = alert(src, "If you turn this on, you will not be able to take any part in the round.","Are you sure you want to turn this feature on?","Yes","No")
@@ -329,7 +329,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(following && following == target)
return
following = target
- src << "Now following [target]"
+ to_chat(src, "Now following [target]")
if(ismob(target))
forceMove(get_turf(target))
var/mob/M = target
@@ -406,7 +406,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
forceMove(T)
following = null
else
- src << "This mob is not located in the game world."
+ to_chat(src, "This mob is not located in the game world.")
/*
/mob/observer/dead/verb/boo()
set category = "Ghost"
@@ -425,11 +425,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
/mob/observer/dead/memory()
set hidden = 1
- src << "You are dead! You have no mind to store memory!"
+ to_chat(src, "You are dead! You have no mind to store memory!")
/mob/observer/dead/add_memory()
set hidden = 1
- src << "You are dead! You have no mind to store memory!"
+ to_chat(src, "You are dead! You have no mind to store memory!")
/mob/observer/dead/Post_Incorpmove()
following = null
@@ -449,16 +449,16 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/pressure = environment.return_pressure()
var/total_moles = environment.total_moles
- src << "Results:"
+ to_chat(src, "Results:")
if(abs(pressure - ONE_ATMOSPHERE) < 10)
- src << "Pressure: [round(pressure,0.1)] kPa"
+ to_chat(src, "Pressure: [round(pressure,0.1)] kPa")
else
- src << "Pressure: [round(pressure,0.1)] kPa"
+ to_chat(src, "Pressure: [round(pressure,0.1)] kPa")
if(total_moles)
for(var/g in environment.gas)
- src << "[gas_data.name[g]]: [round((environment.gas[g] / total_moles) * 100)]% ([round(environment.gas[g], 0.01)] moles)"
- src << "Temperature: [round(environment.temperature-T0C,0.1)]°C ([round(environment.temperature,0.1)]K)"
- src << "Heat Capacity: [round(environment.heat_capacity(),0.1)]"
+ to_chat(src, "[gas_data.name[g]]: [round((environment.gas[g] / total_moles) * 100)]% ([round(environment.gas[g], 0.01)] moles)")
+ to_chat(src, "Temperature: [round(environment.temperature-T0C,0.1)]°C ([round(environment.temperature,0.1)]K)")
+ to_chat(src, "Heat Capacity: [round(environment.heat_capacity(),0.1)]")
/mob/observer/dead/verb/check_radiation()
set name = "Check Radiation"
@@ -475,7 +475,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set category = "Ghost"
if(config.disable_player_mice)
- src << "Spawning as a mouse is currently disabled."
+ to_chat(src, "Spawning as a mouse is currently disabled.")
return
if(!MayRespawn(1))
@@ -483,14 +483,14 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/turf/T = get_turf(src)
if(!T || (T.z in using_map.admin_levels))
- src << "You may not spawn as a mouse on this Z-level."
+ to_chat(src, "You may not spawn as a mouse on this Z-level.")
return
var/timedifference = world.time - client.time_died_as_mouse
if(client.time_died_as_mouse && timedifference <= mouse_respawn_time * 600)
var/timedifference_text
timedifference_text = time2text(mouse_respawn_time * 600 - timedifference,"mm:ss")
- src << "You may only spawn again as a mouse more than [mouse_respawn_time] minutes after your death. You have [timedifference_text] left."
+ to_chat(src, "You may only spawn again as a mouse more than [mouse_respawn_time] minutes after your death. You have [timedifference_text] left.")
return
var/response = alert(src, "Are you -sure- you want to become a mouse?","Are you sure you want to squeek?","Squeek!","Nope!")
@@ -508,7 +508,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
vent_found = pick(found_vents)
host = new /mob/living/simple_mob/animal/passive/mouse(vent_found)
else
- src << "Unable to find any unwelded vents to spawn mice at."
+ to_chat(src, "Unable to find any unwelded vents to spawn mice at.")
if(host)
if(config.uneducated_mice)
@@ -545,7 +545,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set desc = "If the round is sufficiently spooky, write a short message in blood on the floor or a wall. Remember, no IC in OOC or OOC in IC."
if(!(config.cult_ghostwriter))
- src << "That verb is not currently permitted."
+ to_chat(src, "That verb is not currently permitted.")
return
if (!src.stat)
@@ -560,7 +560,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
ghosts_can_write = 1
if(!ghosts_can_write && !check_rights(R_ADMIN, 0)) //Let's allow for admins to write in blood for events and the such.
- src << "The veil is not thin enough for you to do that."
+ to_chat(src, "The veil is not thin enough for you to do that.")
return
var/list/choices = list()
@@ -569,7 +569,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
choices += B
if(!choices.len)
- src << "There is no blood to use nearby."
+ to_chat(src, "There is no blood to use nearby.")
return
var/obj/effect/decal/cleanable/blood/choice = input(src,"What blood would you like to use?") in null|choices
@@ -580,7 +580,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
T = get_step(T,text2dir(direction))
if (!istype(T))
- src << "You cannot doodle there."
+ to_chat(src, "You cannot doodle there.")
return
if(!choice || choice.amount == 0 || !(src.Adjacent(choice)))
@@ -592,7 +592,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
for (var/obj/effect/decal/cleanable/blood/writing/W in T)
num_doodles++
if (num_doodles > 4)
- src << "There is no space to write on!"
+ to_chat(src, "There is no space to write on!")
return
var/max_length = 50
@@ -603,7 +603,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if (length(message) > max_length)
message += "-"
- src << "You ran out of blood to write with!"
+ to_chat(src, "You ran out of blood to write with!")
var/obj/effect/decal/cleanable/blood/writing/W = new(T)
W.basecolor = doodle_color
@@ -657,14 +657,14 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/toggled_invisible
if(!forced && plane == PLANE_GHOSTS && world.time < toggled_invisible + 600)
- src << "You must gather strength before you can turn visible again..."
+ to_chat(src, "You must gather strength before you can turn visible again...")
return
if(plane == PLANE_WORLD)
toggled_invisible = world.time
visible_message("It fades from sight...", "You are now invisible.")
else
- src << "You are now visible!"
+ to_chat(src, "You are now visible!")
plane = (plane == PLANE_GHOSTS) ? PLANE_WORLD : PLANE_GHOSTS
invisibility = (plane == PLANE_WORLD) ? 0 : INVISIBILITY_OBSERVER
@@ -679,9 +679,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
src.anonsay = !src.anonsay
if(anonsay)
- src << "Your key won't be shown when you speak in dead chat."
+ to_chat(src, "Your key won't be shown when you speak in dead chat.")
else
- src << "Your key will be publicly visible again."
+ to_chat(src, "Your key will be publicly visible again.")
/mob/observer/dead/canface()
return 1
@@ -714,11 +714,11 @@ mob/observer/dead/MayRespawn(var/feedback = 0)
return 0
if(mind && mind.current && mind.current.stat != DEAD && can_reenter_corpse)
if(feedback)
- src << "Your non-dead body prevent you from respawning."
+ to_chat(src, "Your non-dead body prevent you from respawning.")
return 0
if(config.antag_hud_restricted && has_enabled_antagHUD == 1)
if(feedback)
- src << "antagHUD restrictions prevent you from respawning."
+ to_chat(src, "antagHUD restrictions prevent you from respawning.")
return 0
return 1
@@ -755,12 +755,12 @@ mob/observer/dead/MayRespawn(var/feedback = 0)
if(msg)
log_say("(SPECWHISP to [key_name(M)]): [msg]", src)
M << " You hear a strange, unidentifiable voice in your head... [msg]"
- src << " You said: '[msg]' to [M]."
+ to_chat(src, " You said: '[msg]' to [M].")
else
return
return 1
else
- src << "You have not been pulled past the veil!"
+ to_chat(src, "You have not been pulled past the veil!")
/mob/observer/dead/verb/choose_ghost_sprite()
set category = "Ghost"
diff --git a/code/modules/mob/dead/observer/say.dm b/code/modules/mob/dead/observer/say.dm
index c950a842091..dc44a551682 100644
--- a/code/modules/mob/dead/observer/say.dm
+++ b/code/modules/mob/dead/observer/say.dm
@@ -10,7 +10,7 @@
if(message)
client.handle_spam_prevention(MUTE_DEADCHAT)
if(src.client.prefs.muted & MUTE_DEADCHAT)
- src << "You cannot talk in deadchat (muted)."
+ to_chat(src, "You cannot talk in deadchat (muted).")
return
. = src.say_dead(message)
@@ -31,7 +31,7 @@
if(message)
client.handle_spam_prevention(MUTE_DEADCHAT)
if(src.client.prefs.muted & MUTE_DEADCHAT)
- src << "You cannot emote in deadchat (muted)."
+ to_chat(src, "You cannot emote in deadchat (muted).")
return
. = src.emote_dead(message)
diff --git a/code/modules/mob/emote.dm b/code/modules/mob/emote.dm
index f67f70eb878..fc269a31206 100644
--- a/code/modules/mob/emote.dm
+++ b/code/modules/mob/emote.dm
@@ -3,7 +3,7 @@
//m_type == 2 --> audible
/mob/proc/custom_emote(var/m_type=1,var/message = null,var/range=world.view)
if(stat || !use_me && usr == src)
- src << "You are unable to emote."
+ to_chat(src, "You are unable to emote.")
return
var/muzzled = is_muzzled()
@@ -62,16 +62,16 @@
/mob/proc/emote_dead(var/message)
if(client.prefs.muted & MUTE_DEADCHAT)
- src << "You cannot send deadchat emotes (muted)."
+ to_chat(src, "You cannot send deadchat emotes (muted).")
return
if(!is_preference_enabled(/datum/client_preference/show_dsay))
- src << "You have deadchat muted."
+ to_chat(src, "You have deadchat muted.")
return
if(!src.client.holder)
if(!config.dsay_allowed)
- src << "Deadchat is globally muted."
+ to_chat(src, "Deadchat is globally muted.")
return
diff --git a/code/modules/mob/inventory.dm b/code/modules/mob/inventory.dm
index c655559a107..0f0f95d3362 100644
--- a/code/modules/mob/inventory.dm
+++ b/code/modules/mob/inventory.dm
@@ -56,7 +56,7 @@ var/list/slot_equipment_priority = list( \
else
if(!disable_warning)
- src << "You are unable to equip that." //Only print if del_on_fail is false
+ to_chat(src, "You are unable to equip that.") //Only print if del_on_fail is false
return 0
equip_to_slot(W, slot, redraw_mob) //This proc should not ever fail.
diff --git a/code/modules/mob/language/language.dm b/code/modules/mob/language/language.dm
index 83f0b754bab..9bc0a686536 100644
--- a/code/modules/mob/language/language.dm
+++ b/code/modules/mob/language/language.dm
@@ -144,9 +144,9 @@
/mob/observer/dead/hear_broadcast(var/datum/language/language, var/mob/speaker, var/speaker_name, var/message)
if(speaker.name == speaker_name || antagHUD)
- src << "[language.name], [speaker_name] ([ghost_follow_link(speaker, src)]) [message]"
+ to_chat(src, "[language.name], [speaker_name] ([ghost_follow_link(speaker, src)]) [message]")
else
- src << "[language.name], [speaker_name] [message]"
+ to_chat(src, "[language.name], [speaker_name] [message]")
/datum/language/proc/check_special_condition(var/mob/other)
return 1
diff --git a/code/modules/mob/living/autohiss.dm b/code/modules/mob/living/autohiss.dm
index 2c6fe026453..4ee08dec859 100644
--- a/code/modules/mob/living/autohiss.dm
+++ b/code/modules/mob/living/autohiss.dm
@@ -25,15 +25,15 @@
autohiss_mode = (autohiss_mode + 1) % AUTOHISS_NUM
switch(autohiss_mode)
if(AUTOHISS_OFF)
- src << "Auto-hiss is now OFF."
+ to_chat(src, "Auto-hiss is now OFF.")
if(AUTOHISS_BASIC)
- src << "Auto-hiss is now BASIC."
+ to_chat(src, "Auto-hiss is now BASIC.")
if(AUTOHISS_FULL)
- src << "Auto-hiss is now FULL."
+ to_chat(src, "Auto-hiss is now FULL.")
else
soft_assert(0, "invalid autohiss value [autohiss_mode]")
autohiss_mode = AUTOHISS_OFF
- src << "Auto-hiss is now OFF."
+ to_chat(src, "Auto-hiss is now OFF.")
/datum/species
var/list/autohiss_basic_map = null
diff --git a/code/modules/mob/living/carbon/alien/life.dm b/code/modules/mob/living/carbon/alien/life.dm
index f02d82a45f9..2c39964ad6d 100644
--- a/code/modules/mob/living/carbon/alien/life.dm
+++ b/code/modules/mob/living/carbon/alien/life.dm
@@ -150,7 +150,7 @@
adjustFireLoss((environment.temperature - (T0C+66))/5) // Might be too high, check in testing.
if (fire) fire.icon_state = "fire2"
if(prob(20))
- src << "You feel a searing heat!"
+ to_chat(src, "You feel a searing heat!")
else
if (fire) fire.icon_state = "fire0"
diff --git a/code/modules/mob/living/carbon/brain/emote.dm b/code/modules/mob/living/carbon/brain/emote.dm
index 22efdc76c6d..bc4623647b2 100644
--- a/code/modules/mob/living/carbon/brain/emote.dm
+++ b/code/modules/mob/living/carbon/brain/emote.dm
@@ -17,7 +17,7 @@
return
if (src.client)
if (client.prefs.muted & MUTE_IC)
- src << "You cannot send IC messages (muted)."
+ to_chat(src, "You cannot send IC messages (muted).")
return
if (stat)
return
@@ -28,15 +28,15 @@
if ("custom")
return custom_emote(m_type, message)
if ("alarm")
- src << "You sound an alarm."
+ to_chat(src, "You sound an alarm.")
message = "[src] sounds an alarm."
m_type = 2
if ("alert")
- src << "You let out a distressed noise."
+ to_chat(src, "You let out a distressed noise.")
message = "[src] lets out a distressed noise."
m_type = 2
if ("notice")
- src << "You play a loud tone."
+ to_chat(src, "You play a loud tone.")
message = "[src] plays a loud tone."
m_type = 2
if ("flash")
@@ -46,21 +46,21 @@
message = "[src] blinks."
m_type = 1
if ("whistle")
- src << "You whistle."
+ to_chat(src, "You whistle.")
message = "[src] whistles."
m_type = 2
if ("beep")
- src << "You beep."
+ to_chat(src, "You beep.")
message = "[src] beeps."
m_type = 2
if ("boop")
- src << "You boop."
+ to_chat(src, "You boop.")
message = "[src] boops."
m_type = 2
if ("help")
- src << "alarm,alert,notice,flash,blink,whistle,beep,boop"
+ to_chat(src, "alarm,alert,notice,flash,blink,whistle,beep,boop")
else
- src << "Unusable emote '[act]'. Say *help for a list."
+ to_chat(src, "Unusable emote '[act]'. Say *help for a list.")
if (message)
log_emote(message, src)
diff --git a/code/modules/mob/living/carbon/brain/life.dm b/code/modules/mob/living/carbon/brain/life.dm
index 4ab220083d8..c52584ba962 100644
--- a/code/modules/mob/living/carbon/brain/life.dm
+++ b/code/modules/mob/living/carbon/brain/life.dm
@@ -6,9 +6,9 @@
if (radiation > 100)
radiation = 100
if(!container)//If it's not in an MMI
- src << "You feel weak."
+ to_chat(src, "You feel weak.")
else//Fluff-wise, since the brain can't detect anything itself, the MMI handles thing like that
- src << "STATUS: CRITICAL AMOUNTS OF RADIATION DETECTED."
+ to_chat(src, "STATUS: CRITICAL AMOUNTS OF RADIATION DETECTED.")
switch(radiation)
if(1 to 49)
@@ -23,9 +23,9 @@
if(prob(5))
radiation -= 5
if(!container)
- src << "You feel weak."
+ to_chat(src, "You feel weak.")
else
- src << "STATUS: DANGEROUS LEVELS OF RADIATION DETECTED."
+ to_chat(src, "STATUS: DANGEROUS LEVELS OF RADIATION DETECTED.")
updatehealth()
if(75 to 100)
@@ -115,7 +115,7 @@
silent = 1
if(!alert)//Sounds an alarm, but only once per 'level'
emote("alarm")
- src << "Major electrical distruption detected: System rebooting."
+ to_chat(src, "Major electrical distruption detected: System rebooting.")
alert = 1
if(prob(75))
emp_damage -= 1
@@ -131,7 +131,7 @@
ear_damage = 1
if(!alert)
emote("alert")
- src << "Primary systems are now online."
+ to_chat(src, "Primary systems are now online.")
alert = 1
if(prob(50))
emp_damage -= 1
@@ -143,13 +143,13 @@
if(2 to 9)//Low level of EMP damage, has few effects(handled elsewhere)
if(!alert)
emote("notice")
- src << "System reboot nearly complete."
+ to_chat(src, "System reboot nearly complete.")
alert = 1
if(prob(25))
emp_damage -= 1
if(1)
alert = 0
- src << "All systems restored."
+ to_chat(src, "All systems restored.")
emp_damage -= 1
return 1
diff --git a/code/modules/mob/living/carbon/brain/say.dm b/code/modules/mob/living/carbon/brain/say.dm
index a09d8ce3e53..0493b2d92d9 100644
--- a/code/modules/mob/living/carbon/brain/say.dm
+++ b/code/modules/mob/living/carbon/brain/say.dm
@@ -42,5 +42,5 @@
message_mode = null
return R.radio.talk_into(src,message,message_mode,verb,speaking)
else
- src << "Your radio is disabled."
+ to_chat(src, "Your radio is disabled.")
return 0
diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm
index 505821640d3..4d58c094ce2 100644
--- a/code/modules/mob/living/carbon/carbon.dm
+++ b/code/modules/mob/living/carbon/carbon.dm
@@ -362,7 +362,7 @@
if(buckled)
return 0
stop_pulling()
- src << "You slipped on [slipped_on]!"
+ to_chat(src, "You slipped on [slipped_on]!")
playsound(src.loc, 'sound/misc/slip.ogg', 50, 1, -3)
Weaken(FLOOR(stun_duration/2, 1))
return 1
diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm
index a8fd5176e87..6eaa3a36d8f 100644
--- a/code/modules/mob/living/carbon/human/emote.dm
+++ b/code/modules/mob/living/carbon/human/emote.dm
@@ -33,7 +33,7 @@
if("ping", "beep", "buzz", "yes", "ye", "no", "rcough", "rsneeze")
if(!isSynthetic())
- src << "You are not a synthetic."
+ to_chat(src, "You are not a synthetic.")
return
var/M = null
@@ -83,7 +83,7 @@
if("squish")
/* VOREStation Removal Start - Eh. People can squish maybe.
if(species.bump_flag != SLIME) //This should definitely do it.
- src << "You are not a slime thing!"
+ to_chat(src, "You are not a slime thing!")
return
*/ //VOREStation Removal End
playsound(src.loc, 'sound/effects/slime_squish.ogg', 50, 0) //Credit to DrMinky (freesound.org) for the sound.
@@ -139,7 +139,7 @@
if (src.client)
if (client.prefs.muted & MUTE_IC)
- src << "You cannot send IC messages (muted)."
+ to_chat(src, "You cannot send IC messages (muted).")
return
if (stat)
return
@@ -706,7 +706,7 @@
if("vomit")
if(isSynthetic())
- src << "You are unable to vomit."
+ to_chat(src, "You are unable to vomit.")
return
vomit()
return
@@ -726,13 +726,13 @@
message = "makes a light spitting noise, a poor attempt at a whistle."
if ("help")
- src << "blink, blink_r, blush, bow-(none)/mob, burp, choke, chuckle, clap, collapse, cough, cry, custom, deathgasp, drool, eyebrow, fastsway/qwag, \
+ to_chat(src, "blink, blink_r, blush, bow-(none)/mob, burp, choke, chuckle, clap, collapse, cough, cry, custom, deathgasp, drool, eyebrow, fastsway/qwag, \
frown, gasp, giggle, glare-(none)/mob, grin, groan, grumble, handshake, hug-(none)/mob, laugh, look-(none)/mob, moan, mumble, nod, pale, point-atom, \
raise, salute, scream, sneeze, shake, shiver, shrug, sigh, signal-#1-10, slap-(none)/mob, smile, sneeze, sniff, snore, stare-(none)/mob, stopsway/swag, sway/wag, swish, tremble, twitch, \
- twitch_v, vomit, whimper, wink, yawn. Synthetics: beep, buzz, yes, no, rcough, rsneeze, ping"
+ twitch_v, vomit, whimper, wink, yawn. Synthetics: beep, buzz, yes, no, rcough, rsneeze, ping")
else
- src << "Unusable emote '[act]'. Say *help for a list."
+ to_chat(src, "Unusable emote '[act]'. Say *help for a list.")
if (message)
custom_emote(m_type,message)
diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm
index 0cf20396d86..dc918a328c0 100644
--- a/code/modules/mob/living/carbon/human/human.dm
+++ b/code/modules/mob/living/carbon/human/human.dm
@@ -709,13 +709,13 @@
/mob/living/carbon/human/IsAdvancedToolUser(var/silent)
// VOREstation start
if(feral)
- src << "Your primitive mind can't grasp the concept of that thing."
+ to_chat(src, "Your primitive mind can't grasp the concept of that thing.")
return 0
// VOREstation end
if(species.has_fine_manipulation)
return 1
if(!silent)
- src << "You don't have the dexterity to use that!"
+ to_chat(src, "You don't have the dexterity to use that!")
return 0
/mob/living/carbon/human/abiotic(var/full_body = 0)
@@ -1057,7 +1057,7 @@
if(!istype(O,/obj/item/weapon/implant) && prob(5)) //Moving with things stuck in you could be bad.
// All kinds of embedded objects cause bleeding.
if(!can_feel_pain(organ.organ_tag))
- src << "You feel [O] moving inside your [organ.name]."
+ to_chat(src, "You feel [O] moving inside your [organ.name].")
else
var/msg = pick( \
"A spike of pain jolts your [organ.name] as you bump [O] inside.", \
@@ -1223,26 +1223,26 @@
verbs -= /mob/living/carbon/human/proc/bloody_doodle
if (src.gloves)
- src << "Your [src.gloves] are getting in the way."
+ to_chat(src, "Your [src.gloves] are getting in the way.")
return
var/turf/simulated/T = src.loc
if (!istype(T)) //to prevent doodling out of mechs and lockers
- src << "You cannot reach the floor."
+ to_chat(src, "You cannot reach the floor.")
return
var/direction = input(src,"Which way?","Tile selection") as anything in list("Here","North","South","East","West")
if (direction != "Here")
T = get_step(T,text2dir(direction))
if (!istype(T))
- src << "You cannot doodle there."
+ to_chat(src, "You cannot doodle there.")
return
var/num_doodles = 0
for (var/obj/effect/decal/cleanable/blood/writing/W in T)
num_doodles++
if (num_doodles > 4)
- src << "There is no space to write on!"
+ to_chat(src, "There is no space to write on!")
return
var/max_length = bloody_hands * 30 //tweeter style
@@ -1255,7 +1255,7 @@
if (length(message) > max_length)
message += "-"
- src << "You ran out of blood to write with!"
+ to_chat(src, "You ran out of blood to write with!")
var/obj/effect/decal/cleanable/blood/writing/W = new(T)
W.basecolor = (hand_blood_color) ? hand_blood_color : "#A10808"
@@ -1412,7 +1412,7 @@
return
if(self)
- src << "You brace yourself to relocate your [current_limb.joint]..."
+ to_chat(src, "You brace yourself to relocate your [current_limb.joint]...")
else
U << "You begin to relocate [S]'s [current_limb.joint]..."
@@ -1422,7 +1422,7 @@
return
if(self)
- src << "You pop your [current_limb.joint] back in!"
+ to_chat(src, "You pop your [current_limb.joint] back in!")
else
U << "You pop [S]'s [current_limb.joint] back in!"
S << "[U] pops your [current_limb.joint] back in!"
@@ -1507,11 +1507,11 @@
if(!UWC) return
var/datum/category_item/underwear/UWI = all_underwear[UWC.name]
if(!UWI || UWI.name == "None")
- src << "You do not have [UWC.gender==PLURAL ? "[UWC.display_name]" : "\a [UWC.display_name]"]."
+ to_chat(src, "You do not have [UWC.gender==PLURAL ? "[UWC.display_name]" : "\a [UWC.display_name]"].")
return
hide_underwear[UWC.name] = !hide_underwear[UWC.name]
update_underwear(1)
- src << "You [hide_underwear[UWC.name] ? "take off" : "put on"] your [UWC.display_name]."
+ to_chat(src, "You [hide_underwear[UWC.name] ? "take off" : "put on"] your [UWC.display_name].")
return
/mob/living/carbon/human/verb/pull_punches()
@@ -1521,7 +1521,7 @@
if(stat) return
pulling_punches = !pulling_punches
- src << "You are now [pulling_punches ? "pulling your punches" : "not pulling your punches"]."
+ to_chat(src, "You are now [pulling_punches ? "pulling your punches" : "not pulling your punches"].")
return
/mob/living/carbon/human/should_have_organ(var/organ_check)
diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm
index 1d7dd6d57a8..4572f8cf858 100644
--- a/code/modules/mob/living/carbon/human/human_attackhand.dm
+++ b/code/modules/mob/living/carbon/human/human_attackhand.dm
@@ -98,7 +98,7 @@
if(istype(H) && health > config.health_threshold_dead)
adjustOxyLoss(-(min(getOxyLoss(), 5)))
updatehealth()
- src << "You feel a breath of fresh air enter your lungs. It feels good."
+ to_chat(src, "You feel a breath of fresh air enter your lungs. It feels good.")
else if(!(M == src && apply_pressure(M, M.zone_sel.selecting)))
help_shake_act(M)
diff --git a/code/modules/mob/living/carbon/human/human_damage.dm b/code/modules/mob/living/carbon/human/human_damage.dm
index 1f211fe95b7..dd42af027e7 100644
--- a/code/modules/mob/living/carbon/human/human_damage.dm
+++ b/code/modules/mob/living/carbon/human/human_damage.dm
@@ -253,21 +253,21 @@
if (candidates.len)
var/obj/item/organ/external/O = pick(candidates)
O.mutate()
- src << "Something is not right with your [O.name]..."
+ to_chat(src, "Something is not right with your [O.name]...")
return
else
if (prob(heal_prob))
for (var/obj/item/organ/external/O in organs)
if (O.status & ORGAN_MUTATED)
O.unmutate()
- src << "Your [O.name] is shaped normally again."
+ to_chat(src, "Your [O.name] is shaped normally again.")
return
if (getCloneLoss() < 1)
for (var/obj/item/organ/external/O in organs)
if (O.status & ORGAN_MUTATED)
O.unmutate()
- src << "Your [O.name] is shaped normally again."
+ to_chat(src, "Your [O.name] is shaped normally again.")
BITSET(hud_updateflag, HEALTH_HUD)
// Defined here solely to take species flags into account without having to recast at mob/living level.
diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm
index 6bd592aed63..57cef190ecf 100644
--- a/code/modules/mob/living/carbon/human/human_defense.dm
+++ b/code/modules/mob/living/carbon/human/human_defense.dm
@@ -416,7 +416,7 @@ emp_act
//If the armor absorbs all of the damage, skip the rest of the calculations
var/soaked = get_armor_soak(affecting, "melee", O.armor_penetration)
if(soaked >= throw_damage)
- src << "Your armor absorbs the force of [O.name]!"
+ to_chat(src, "Your armor absorbs the force of [O.name]!")
return
var/armor = run_armor_check(affecting, "melee", O.armor_penetration, "Your armor has protected your [hit_area].", "Your armor has softened hit to your [hit_area].") //I guess "melee" is the best fit here
diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm
index a51e04b5359..ee2082401c5 100644
--- a/code/modules/mob/living/carbon/human/inventory.dm
+++ b/code/modules/mob/living/carbon/human/inventory.dm
@@ -327,7 +327,7 @@ This saves us from having to call add_fingerprint() any time something is put in
if(C.attempt_attach_accessory(A, src))
return
else
- src << "You are trying to equip this item to an unsupported inventory slot. How the heck did you manage that? Stop it..."
+ to_chat(src, "You are trying to equip this item to an unsupported inventory slot. How the heck did you manage that? Stop it...")
return
if((W == src.l_hand) && (slot != slot_l_hand))
diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm
index 5c0cab75f79..0648ce7fdb0 100644
--- a/code/modules/mob/living/carbon/human/life.dm
+++ b/code/modules/mob/living/carbon/human/life.dm
@@ -189,7 +189,7 @@
if (disabilities & EPILEPSY)
if ((prob(1) && paralysis < 1))
- src << "You have a seizure!"
+ to_chat(src, "You have a seizure!")
for(var/mob/O in viewers(src, null))
if(O == src)
continue
@@ -223,19 +223,19 @@
custom_pain("Your head feels numb and painful.", 10)
if(getBrainLoss() >= 15)
if(4 <= rn && rn <= 6) if(eye_blurry <= 0)
- src << "It becomes hard to see for some reason."
+ to_chat(src, "It becomes hard to see for some reason.")
eye_blurry = 10
if(getBrainLoss() >= 35)
if(7 <= rn && rn <= 9) if(get_active_hand())
- src << "Your hand won't respond properly, you drop what you're holding!"
+ to_chat(src, "Your hand won't respond properly, you drop what you're holding!")
drop_item()
if(getBrainLoss() >= 45)
if(10 <= rn && rn <= 12)
if(prob(50))
- src << "You suddenly black out!"
+ to_chat(src, "You suddenly black out!")
Paralyse(10)
else if(!lying)
- src << "Your legs won't respond properly, you fall down!"
+ to_chat(src, "Your legs won't respond properly, you fall down!")
Weaken(10)
@@ -294,13 +294,13 @@
if(!isSynthetic())
if(prob(5) && prob(100 * RADIATION_SPEED_COEFFICIENT))
radiation -= 5 * RADIATION_SPEED_COEFFICIENT
- src << "You feel weak."
+ to_chat(src, "You feel weak.")
Weaken(3)
if(!lying)
emote("collapse")
if(prob(5) && prob(100 * RADIATION_SPEED_COEFFICIENT) && species.get_bodytype() == SPECIES_HUMAN) //apes go bald
if((h_style != "Bald" || f_style != "Shaved" ))
- src << "Your hair falls out."
+ to_chat(src, "Your hair falls out.")
h_style = "Bald"
f_style = "Shaved"
update_hair()
@@ -312,7 +312,7 @@
if(prob(5))
take_overall_damage(0, 5 * RADIATION_SPEED_COEFFICIENT, used_weapon = "Radiation Burns")
if(prob(1))
- src << "You feel strange!"
+ to_chat(src, "You feel strange!")
adjustCloneLoss(5 * RADIATION_SPEED_COEFFICIENT)
emote("gasp")
@@ -484,7 +484,7 @@
if(exhaled_pp > safe_exhaled_max)
if (!co2_alert|| prob(15))
var/word = pick("extremely dizzy","short of breath","faint","confused")
- src << "You feel [word]."
+ to_chat(src, "You feel [word].")
adjustOxyLoss(HUMAN_MAX_OXYLOSS)
co2_alert = 1
@@ -493,7 +493,7 @@
else if(exhaled_pp > safe_exhaled_max * 0.7)
if (!co2_alert || prob(1))
var/word = pick("dizzy","short of breath","faint","momentarily confused")
- src << "You feel [word]."
+ to_chat(src, "You feel [word].")
//scale linearly from 0 to 1 between safe_exhaled_max and safe_exhaled_max*0.7
var/ratio = 1.0 - (safe_exhaled_max - exhaled_pp)/(safe_exhaled_max*0.3)
@@ -507,7 +507,7 @@
else if(exhaled_pp > safe_exhaled_max * 0.6)
if (prob(0.3))
var/word = pick("a little dizzy","short of breath")
- src << "You feel [word]."
+ to_chat(src, "You feel [word].")
else
co2_alert = 0
@@ -555,10 +555,10 @@
if(breath.temperature <= species.breath_cold_level_1)
if(prob(20))
- src << "You feel your face freezing and icicles forming in your lungs!"
+ to_chat(src, "You feel your face freezing and icicles forming in your lungs!")
else if(breath.temperature >= species.breath_heat_level_1)
if(prob(20))
- src << "You feel your face burning and a searing heat in your lungs!"
+ to_chat(src, "You feel your face burning and a searing heat in your lungs!")
if(breath.temperature >= species.breath_heat_level_1)
if(breath.temperature < species.breath_heat_level_2)
@@ -987,7 +987,7 @@
adjustBrainLoss(brainOxPercent * oxyloss)
if(halloss >= species.total_health)
- src << "You're in too much pain to keep going..."
+ to_chat(src, "You're in too much pain to keep going...")
src.visible_message("[src] slumps to the ground, too weak to continue fighting.")
Paralyse(10)
setHalLoss(species.total_health - 1)
@@ -1528,22 +1528,22 @@
stuttering = max(stuttering, 5)
if(shock_stage == 40)
- src << "[pick("The pain is excruciating", "Please, just end the pain", "Your whole body is going numb")]!"
+ to_chat(src, "[pick("The pain is excruciating", "Please, just end the pain", "Your whole body is going numb")]!")
if (shock_stage >= 60)
if(shock_stage == 60) emote("me",1,"'s body becomes limp.")
if (prob(2))
- src << "[pick("The pain is excruciating", "Please, just end the pain", "Your whole body is going numb")]!"
+ to_chat(src, "[pick("The pain is excruciating", "Please, just end the pain", "Your whole body is going numb")]!")
Weaken(20)
if(shock_stage >= 80)
if (prob(5))
- src << "[pick("The pain is excruciating", "Please, just end the pain", "Your whole body is going numb")]!"
+ to_chat(src, "[pick("The pain is excruciating", "Please, just end the pain", "Your whole body is going numb")]!")
Weaken(20)
if(shock_stage >= 120)
if (prob(2))
- src << "[pick("You black out", "You feel like you could die any moment now", "You're about to lose consciousness")]!"
+ to_chat(src, "[pick("You black out", "You feel like you could die any moment now", "You're about to lose consciousness")]!")
Paralyse(5)
if(shock_stage == 150)
diff --git a/code/modules/mob/living/carbon/metroid/emote.dm b/code/modules/mob/living/carbon/metroid/emote.dm
index 6375f23b2a3..6fccaddb8f3 100644
--- a/code/modules/mob/living/carbon/metroid/emote.dm
+++ b/code/modules/mob/living/carbon/metroid/emote.dm
@@ -16,7 +16,7 @@
return
if (src.client)
if (client.prefs.muted & MUTE_IC)
- src << "You cannot send IC messages (muted)."
+ to_chat(src, "You cannot send IC messages (muted).")
return
if (stat)
return
@@ -83,10 +83,10 @@
updateicon = 1
if ("help") //This is an exception
- src << "Help for slime emotes. You can use these emotes with say \"*emote\":\n\nbounce, custom, jiggle, light, moan, shiver, sway, twitch, vibrate. You can also set your face with: \n\nnomood, pout, sad, angry, frown, smile"
+ to_chat(src, "Help for slime emotes. You can use these emotes with say \"*emote\":\n\nbounce, custom, jiggle, light, moan, shiver, sway, twitch, vibrate. You can also set your face with: \n\nnomood, pout, sad, angry, frown, smile")
else
- src << "Unusable emote '[act]'. Say *help for a list."
+ to_chat(src, "Unusable emote '[act]'. Say *help for a list.")
if ((message && src.stat == 0))
if (m_type & 1)
for(var/mob/O in viewers(src, null))
diff --git a/code/modules/mob/living/carbon/metroid/life.dm b/code/modules/mob/living/carbon/metroid/life.dm
index 5cf6395b7d6..f11d9d137de 100644
--- a/code/modules/mob/living/carbon/metroid/life.dm
+++ b/code/modules/mob/living/carbon/metroid/life.dm
@@ -149,7 +149,7 @@
nutrition = 0
adjustToxLoss(rand(1,3))
if (client && prob(5))
- src << "You are starving!"
+ to_chat(src, "You are starving!")
else if (nutrition >= get_grow_nutrition() && amount_grown < 10)
nutrition -= 20
diff --git a/code/modules/mob/living/carbon/metroid/powers.dm b/code/modules/mob/living/carbon/metroid/powers.dm
index 54d35a71f8c..a1fc03445ed 100644
--- a/code/modules/mob/living/carbon/metroid/powers.dm
+++ b/code/modules/mob/living/carbon/metroid/powers.dm
@@ -4,7 +4,7 @@
return
if (Victim)
- src << "I am already feeding..."
+ to_chat(src, "I am already feeding...")
return
var t = invalidFeedTarget(M)
@@ -52,7 +52,7 @@
Victim.adjustBruteLoss(is_adult ? rand(7, 15) : rand(4, 12))
else
- src << "[pick("This subject is incompatable", "This subject does not have a life energy", "This subject is empty", "I am not satisified", "I can not feed from this subject", "I do not feel nourished", "This subject is not food")]..."
+ to_chat(src, "[pick("This subject is incompatable", "This subject does not have a life energy", "This subject is empty", "I am not satisified", "I can not feed from this subject", "I do not feel nourished", "This subject is not food")]...")
Feedstop()
break
@@ -92,7 +92,7 @@
++Friends[Victim.LAssailant]
else
- src << "This subject does not have a strong enough life energy anymore..."
+ to_chat(src, "This subject does not have a strong enough life energy anymore...")
Victim = null
@@ -111,7 +111,7 @@
set desc = "This will let you evolve from baby to adult slime."
if(stat)
- src << "I must be conscious to do this..."
+ to_chat(src, "I must be conscious to do this...")
return
if(!is_adult)
@@ -122,22 +122,22 @@
regenerate_icons()
name = text("[colour] [is_adult ? "adult" : "baby"] slime ([number])")
else
- src << "I am not ready to evolve yet..."
+ to_chat(src, "I am not ready to evolve yet...")
else
- src << "I have already evolved..."
+ to_chat(src, "I have already evolved...")
/mob/living/carbon/slime/verb/Reproduce()
set category = "Slime"
set desc = "This will make you split into four Slimes."
if(stat)
- src << "I must be conscious to do this..."
+ to_chat(src, "I must be conscious to do this...")
return
if(is_adult)
if(amount_grown >= 10)
if(stat)
- src << "I must be conscious to do this..."
+ to_chat(src, "I must be conscious to do this...")
return
var/list/babies = list()
@@ -163,6 +163,6 @@
new_slime.key = src.key
qdel(src)
else
- src << "I am not ready to reproduce yet..."
+ to_chat(src, "I am not ready to reproduce yet...")
else
- src << "I am not old enough to reproduce yet..."
+ to_chat(src, "I am not old enough to reproduce yet...")
diff --git a/code/modules/mob/living/carbon/resist.dm b/code/modules/mob/living/carbon/resist.dm
index 1607559336e..248fe5c6a6e 100644
--- a/code/modules/mob/living/carbon/resist.dm
+++ b/code/modules/mob/living/carbon/resist.dm
@@ -135,7 +135,7 @@
update_inv_handcuffed()
/mob/living/carbon/proc/break_legcuffs()
- src << "You attempt to break your legcuffs. (This will take around 5 seconds and you need to stand still)"
+ to_chat(src, "You attempt to break your legcuffs. (This will take around 5 seconds and you need to stand still)")
visible_message("[src] is trying to break the legcuffs!")
if(do_after(src, 5 SECONDS, incapacitation_flags = INCAPACITATION_DEFAULT & ~INCAPACITATION_RESTRAINED))
diff --git a/code/modules/mob/living/default_language.dm b/code/modules/mob/living/default_language.dm
index b9eae4b5a1a..f5388f47359 100644
--- a/code/modules/mob/living/default_language.dm
+++ b/code/modules/mob/living/default_language.dm
@@ -17,9 +17,9 @@
to_chat(src, "You are unable to speak that language.")
return
- src << "You will now speak [language] if you do not specify a language when speaking."
+ to_chat(src, "You will now speak [language] if you do not specify a language when speaking.")
else
- src << "You will now speak whatever your standard default language is if you do not specify one when speaking."
+ to_chat(src, "You will now speak whatever your standard default language is if you do not specify one when speaking.")
default_language = language
// Silicons can't neccessarily speak everything in their languages list
@@ -31,6 +31,6 @@
set category = "IC"
if(default_language)
- src << "You are currently speaking [default_language] by default."
+ to_chat(src, "You are currently speaking [default_language] by default.")
else
- src << "Your current default language is your species or mob type default."
+ to_chat(src, "Your current default language is your species or mob type default.")
diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm
index 6384e904662..28f56448405 100644
--- a/code/modules/mob/living/living_defense.dm
+++ b/code/modules/mob/living/living_defense.dm
@@ -29,15 +29,15 @@
armor = max(armor - armour_pen, 0) //Armor pen makes armor less effective.
if(armor >= 100)
if(absorb_text)
- src << "[absorb_text]"
+ to_chat(src, "[absorb_text]")
else
- src << "Your armor absorbs the blow!"
+ to_chat(src, "Your armor absorbs the blow!")
else if(armor > 0)
if(soften_text)
- src << "[soften_text]"
+ to_chat(src, "[soften_text]")
else
- src << "Your armor softens the blow!"
+ to_chat(src, "Your armor softens the blow!")
if(Debug2)
world.log << "## DEBUG: Armor when [src] was attacked was [armor]."
return armor
diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm
index f5c9e2580ee..dbfff1d8ccc 100644
--- a/code/modules/mob/living/silicon/ai/ai.dm
+++ b/code/modules/mob/living/silicon/ai/ai.dm
@@ -182,12 +182,12 @@ var/list/ai_verbs_default = list(
return
/mob/living/silicon/ai/proc/on_mob_init()
- src << "You are playing the station's AI. The AI cannot move, but can interact with many objects while viewing them (through cameras)."
- src << "To look at other parts of the station, click on yourself to get a camera menu."
- src << "While observing through a camera, you can use most (networked) devices which you can see, such as computers, APCs, intercoms, doors, etc."
- src << "To use something, simply click on it."
- src << "Use say #b to speak to your cyborgs through binary. Use say :h to speak from an active holopad."
- src << "For department channels, use the following say commands:"
+ to_chat(src, "You are playing the station's AI. The AI cannot move, but can interact with many objects while viewing them (through cameras).")
+ to_chat(src, "To look at other parts of the station, click on yourself to get a camera menu.")
+ to_chat(src, "While observing through a camera, you can use most (networked) devices which you can see, such as computers, APCs, intercoms, doors, etc.")
+ to_chat(src, "To use something, simply click on it.")
+ to_chat(src, "Use say #b to speak to your cyborgs through binary. Use say :h to speak from an active holopad.")
+ to_chat(src, "For department channels, use the following say commands:")
var/radio_text = ""
for(var/i = 1 to common_radio.channels.len)
@@ -207,7 +207,7 @@ var/list/ai_verbs_default = list(
if (malf && !(mind in malf.current_antagonists))
show_laws()
- src << "These laws may be changed by other players, or by you being the traitor."
+ to_chat(src, "These laws may be changed by other players, or by you being the traitor.")
job = "AI"
setup_icon()
@@ -359,7 +359,7 @@ var/list/ai_verbs_default = list(
return
if(message_cooldown)
- src << "Please allow one minute to pass between announcements."
+ to_chat(src, "Please allow one minute to pass between announcements.")
return
var/input = input(usr, "Please write a message to announce to the station crew.", "A.I. Announcement")
if(!input)
@@ -465,7 +465,7 @@ var/list/ai_verbs_default = list(
if(H)
H.attack_ai(src) //may as well recycle
else
- src << "Unable to locate the holopad."
+ to_chat(src, "Unable to locate the holopad.")
if (href_list["track"])
var/mob/target = locate(href_list["track"]) in mob_list
@@ -473,7 +473,7 @@ var/list/ai_verbs_default = list(
if(target && (!istype(target, /mob/living/carbon/human) || html_decode(href_list["trackname"]) == target:get_face_name()))
ai_actual_track(target)
else
- src << "System error. Cannot locate [html_decode(href_list["trackname"])]."
+ to_chat(src, "System error. Cannot locate [html_decode(href_list["trackname"])].")
return
return
@@ -545,7 +545,7 @@ var/list/ai_verbs_default = list(
if(network in C.network)
eyeobj.setLoc(get_turf(C))
break
- src << "Switched to [network] camera network."
+ to_chat(src, "Switched to [network] camera network.")
//End of code by Mord_Sith
/mob/living/silicon/ai/proc/ai_statuschange()
@@ -680,7 +680,7 @@ var/list/ai_verbs_default = list(
return
camera_light_on = !camera_light_on
- src << "Camera lights [camera_light_on ? "activated" : "deactivated"]."
+ to_chat(src, "Camera lights [camera_light_on ? "activated" : "deactivated"].")
if(!camera_light_on)
if(camera)
camera.set_light(0)
@@ -754,7 +754,7 @@ var/list/ai_verbs_default = list(
if(check_unable(AI_CHECK_RADIO))
return
- src << "Accessing Subspace Transceiver control..."
+ to_chat(src, "Accessing Subspace Transceiver control...")
if (src.aiRadio)
src.aiRadio.interact(src)
@@ -780,18 +780,22 @@ var/list/ai_verbs_default = list(
/mob/living/silicon/ai/proc/check_unable(var/flags = 0, var/feedback = 1)
if(stat == DEAD)
- if(feedback) src << "You are dead!"
+ if(feedback)
+ to_chat(src, "You are dead!")
return 1
if(aiRestorePowerRoutine)
- if(feedback) src << "You lack power!"
+ if(feedback)
+ to_chat(src, "You lack power!")
return 1
if((flags & AI_CHECK_WIRELESS) && src.control_disabled)
- if(feedback) src << "Wireless control is disabled!"
+ if(feedback)
+ to_chat(src, "Wireless control is disabled!")
return 1
if((flags & AI_CHECK_RADIO) && src.aiRadio.disabledAi)
- if(feedback) src << "System Error - Transceiver Disabled!"
+ if(feedback)
+ to_chat(src, "System Error - Transceiver Disabled!")
return 1
return 0
diff --git a/code/modules/mob/living/silicon/ai/life.dm b/code/modules/mob/living/silicon/ai/life.dm
index aadd82167c6..f76d2bd8b72 100644
--- a/code/modules/mob/living/silicon/ai/life.dm
+++ b/code/modules/mob/living/silicon/ai/life.dm
@@ -36,7 +36,7 @@
malf_process()
if(APU_power && (hardware_integrity() < 50))
- src << "APU GENERATOR FAILURE! (System Damaged)"
+ to_chat(src, "APU GENERATOR FAILURE! (System Damaged)")
stop_apu(1)
var/blind = 0
@@ -55,13 +55,13 @@
src.see_invisible = SEE_INVISIBLE_LIVING
if (aiRestorePowerRoutine==2)
- src << "Alert cancelled. Power has been restored without our assistance."
+ to_chat(src, "Alert cancelled. Power has been restored without our assistance.")
aiRestorePowerRoutine = 0
clear_fullscreen("blind")
updateicon()
return
else if (aiRestorePowerRoutine==3)
- src << "Alert cancelled. Power has been restored."
+ to_chat(src, "Alert cancelled. Power has been restored.")
aiRestorePowerRoutine = 0
clear_fullscreen("blind")
updateicon()
@@ -89,27 +89,27 @@
//Now to tell the AI why they're blind and dying slowly.
- src << "You've lost power!"
+ to_chat(src, "You've lost power!")
disconnect_shell(message = "Disconnected from remote shell due to depowered networking interface.")
spawn(20)
- src << "Backup battery online. Scanners, camera, and radio interface offline. Beginning fault-detection."
+ to_chat(src, "Backup battery online. Scanners, camera, and radio interface offline. Beginning fault-detection.")
sleep(50)
if (loc.power_equip)
if (!istype(T, /turf/space))
- src << "Alert cancelled. Power has been restored without our assistance."
+ to_chat(src, "Alert cancelled. Power has been restored without our assistance.")
aiRestorePowerRoutine = 0
clear_fullscreen("blind")
return
- src << "Fault confirmed: missing external power. Shutting down main control system to save power."
+ to_chat(src, "Fault confirmed: missing external power. Shutting down main control system to save power.")
sleep(20)
- src << "Emergency control system online. Verifying connection to power network."
+ to_chat(src, "Emergency control system online. Verifying connection to power network.")
sleep(50)
if (istype(T, /turf/space))
- src << "Unable to verify! No power connection detected!"
+ to_chat(src, "Unable to verify! No power connection detected!")
aiRestorePowerRoutine = 2
return
- src << "Connection verified. Searching for APC in power network."
+ to_chat(src, "Connection verified. Searching for APC in power network.")
sleep(50)
var/obj/machinery/power/apc/theAPC = null
@@ -121,30 +121,35 @@
break
if (!theAPC)
switch(PRP)
- if (1) src << "Unable to locate APC!"
- else src << "Lost connection with the APC!"
+ if (1)
+ to_chat(src, "Unable to locate APC!")
+ else
+ to_chat(src, "Lost connection with the APC!")
src:aiRestorePowerRoutine = 2
return
if (loc.power_equip)
if (!istype(T, /turf/space))
- src << "Alert cancelled. Power has been restored without our assistance."
+ to_chat(src, "Alert cancelled. Power has been restored without our assistance.")
aiRestorePowerRoutine = 0
clear_fullscreen("blind") //This, too, is a fix to issue 603
return
switch(PRP)
- if (1) src << "APC located. Optimizing route to APC to avoid needless power waste."
- if (2) src << "Best route identified. Hacking offline APC power port."
- if (3) src << "Power port upload access confirmed. Loading control program into APC power port software."
+ if (1)
+ to_chat(src, "APC located. Optimizing route to APC to avoid needless power waste.")
+ if (2)
+ to_chat(src, "Best route identified. Hacking offline APC power port.")
+ if (3)
+ to_chat(src, "Power port upload access confirmed. Loading control program into APC power port software.")
if (4)
- src << "Transfer complete. Forcing APC to execute program."
+ to_chat(src, "Transfer complete. Forcing APC to execute program.")
sleep(50)
- src << "Receiving control information from APC."
+ to_chat(src, "Receiving control information from APC.")
sleep(2)
theAPC.operating = 1
theAPC.equipment = 3
theAPC.update()
aiRestorePowerRoutine = 3
- src << "Here are your current laws:"
+ to_chat(src, "Here are your current laws:")
show_laws()
updateicon()
sleep(50)
diff --git a/code/modules/mob/living/silicon/ai/malf.dm b/code/modules/mob/living/silicon/ai/malf.dm
index c33563734ff..7bfa7149838 100644
--- a/code/modules/mob/living/silicon/ai/malf.dm
+++ b/code/modules/mob/living/silicon/ai/malf.dm
@@ -79,14 +79,14 @@
/mob/living/silicon/ai/proc/start_apu(var/shutup = 0)
if(!hardware || !istype(hardware, /datum/malf_hardware/apu_gen))
if(!shutup)
- src << "You do not have an APU generator and you shouldn't have this verb. Report this."
+ to_chat(src, "You do not have an APU generator and you shouldn't have this verb. Report this.")
return
if(hardware_integrity() < 50)
if(!shutup)
- src << "Starting APU... FAULT(System Damaged)"
+ to_chat(src, "Starting APU... FAULT(System Damaged)")
return
if(!shutup)
- src << "Starting APU... ONLINE"
+ to_chat(src, "Starting APU... ONLINE")
APU_power = 1
// Stops AI's APU generator
@@ -97,7 +97,7 @@
if(APU_power)
APU_power = 0
if(!shutup)
- src << "Shutting down APU... DONE"
+ to_chat(src, "Shutting down APU... DONE")
// Returns percentage of AI's remaining backup capacitor charge (maxhealth - oxyloss).
/mob/living/silicon/ai/proc/backup_capacitor()
diff --git a/code/modules/mob/living/silicon/pai/life.dm b/code/modules/mob/living/silicon/pai/life.dm
index 74fad44fb3e..42888a38274 100644
--- a/code/modules/mob/living/silicon/pai/life.dm
+++ b/code/modules/mob/living/silicon/pai/life.dm
@@ -19,7 +19,7 @@
if(silence_time)
if(world.timeofday >= silence_time)
silence_time = null
- src << "Communication circuit reinitialized. Speech and messaging functionality restored."
+ to_chat(src, "Communication circuit reinitialized. Speech and messaging functionality restored.")
handle_statuses()
diff --git a/code/modules/mob/living/silicon/pai/pai.dm b/code/modules/mob/living/silicon/pai/pai.dm
index b6d4052a5fd..75677839908 100644
--- a/code/modules/mob/living/silicon/pai/pai.dm
+++ b/code/modules/mob/living/silicon/pai/pai.dm
@@ -155,7 +155,7 @@
// 33% chance of no additional effect
src.silence_time = world.timeofday + 120 * 10 // Silence for 2 minutes
- src << "Communication circuit overload. Shutting down and reloading communication circuits - speech and messaging functionality will be unavailable until the reboot is complete."
+ to_chat(src, "Communication circuit overload. Shutting down and reloading communication circuits - speech and messaging functionality will be unavailable until the reboot is complete.")
if(prob(20))
var/turf/T = get_turf_or_move(src.loc)
for (var/mob/M in viewers(T))
@@ -166,7 +166,7 @@
if(1)
src.master = null
src.master_dna = null
- src << "You feel unbound."
+ to_chat(src, "You feel unbound.")
if(2)
var/command
if(severity == 1)
@@ -174,9 +174,9 @@
else
command = pick("Serve", "Kill", "Love", "Hate", "Disobey", "Devour", "Fool", "Enrage", "Entice", "Observe", "Judge", "Respect", "Disrespect", "Consume", "Educate", "Destroy", "Disgrace", "Amuse", "Entertain", "Ignite", "Glorify", "Memorialize", "Analyze")
src.pai_law0 = "[command] your master."
- src << "Pr1m3 d1r3c71v3 uPd473D."
+ to_chat(src, "Pr1m3 d1r3c71v3 uPd473D.")
if(3)
- src << "You feel an electric surge run through your circuitry and become acutely aware at how lucky you are that you can still feel at all."
+ to_chat(src, "You feel an electric surge run through your circuitry and become acutely aware at how lucky you are that you can still feel at all.")
/mob/living/silicon/pai/proc/switchCamera(var/obj/machinery/camera/C)
if (!C)
@@ -234,7 +234,7 @@
cameralist[C.network] = C.network
src.network = input(usr, "Which network would you like to view?") as null|anything in cameralist
- src << "Switched to [src.network] camera network."
+ to_chat(src, Switched to [src.network] camera network.")
//End of code by Mord_Sith
*/
@@ -270,7 +270,7 @@
//I'm not sure how much of this is necessary, but I would rather avoid issues.
if(istype(card.loc,/obj/item/rig_module))
- src << "There is no room to unfold inside this rig module. You're good and stuck."
+ to_chat(src, "There is no room to unfold inside this rig module. You're good and stuck.")
return 0
else if(istype(card.loc,/mob))
var/mob/holder = card.loc
@@ -362,7 +362,7 @@
resting = !resting
icon_state = resting ? "[chassis]_rest" : "[chassis]"
update_icon() //VOREStation edit
- src << "You are now [resting ? "resting" : "getting up"]"
+ to_chat(src, "You are now [resting ? "resting" : "getting up"]")
canmove = !resting
@@ -466,11 +466,11 @@
if(idaccessible == 0)
idaccessible = 1
- src << "You allow access modifications."
+ to_chat(src, "You allow access modifications.")
else
idaccessible = 0
- src << "You block access modfications."
+ to_chat(src, "You block access modfications.")
/mob/living/silicon/pai/verb/wipe_software()
set name = "Wipe Software"
diff --git a/code/modules/mob/living/silicon/pai/say.dm b/code/modules/mob/living/silicon/pai/say.dm
index e1cb9f0f800..2c7bc900d68 100644
--- a/code/modules/mob/living/silicon/pai/say.dm
+++ b/code/modules/mob/living/silicon/pai/say.dm
@@ -1,5 +1,5 @@
/mob/living/silicon/pai/say(var/msg)
if(silence_time)
- src << "Communication circuits remain uninitialized."
+ to_chat(src, "Communication circuits remain uninitialized.")
else
..(msg)
\ No newline at end of file
diff --git a/code/modules/mob/living/silicon/robot/emote.dm b/code/modules/mob/living/silicon/robot/emote.dm
index fbf5d1db58b..1bb4a3bcdb4 100644
--- a/code/modules/mob/living/silicon/robot/emote.dm
+++ b/code/modules/mob/living/silicon/robot/emote.dm
@@ -12,7 +12,7 @@
if ("me")
if (src.client)
if(client.prefs.muted & MUTE_IC)
- src << "You cannot send IC messages (muted)."
+ to_chat(src, "You cannot send IC messages (muted).")
return
if (stat)
return
@@ -226,7 +226,7 @@
playsound(src.loc, 'sound/voice/biamthelaw.ogg', 50, 0)
m_type = 2
else
- src << "You are not THE LAW, pal."
+ to_chat(src, "You are not THE LAW, pal.")
if("halt")
if (istype(module,/obj/item/weapon/robot_module/robot/security) || istype(module,/obj/item/weapon/robot_module/robot/knine)) //VOREStation Add - K9
@@ -235,12 +235,12 @@
playsound(src.loc, 'sound/voice/halt.ogg', 50, 0)
m_type = 2
else
- src << "You are not security."
+ to_chat(src, "You are not security.")
if ("help")
- src << "salute, bow-(none)/mob, clap, flap, aflap, twitch, twitch_s, nod, deathgasp, glare-(none)/mob, stare-(none)/mob, look, beep, ping, \nbuzz, law, halt, yes, no"
+ to_chat(src, "salute, bow-(none)/mob, clap, flap, aflap, twitch, twitch_s, nod, deathgasp, glare-(none)/mob, stare-(none)/mob, look, beep, ping, \nbuzz, law, halt, yes, no")
else
- src << "Unusable emote '[act]'. Say *help for a list."
+ to_chat(src, "Unusable emote '[act]'. Say *help for a list.")
if ((message && src.stat == 0))
custom_emote(m_type,message)
diff --git a/code/modules/mob/living/silicon/robot/inventory.dm b/code/modules/mob/living/silicon/robot/inventory.dm
index 48455c38447..2b67fc862aa 100644
--- a/code/modules/mob/living/silicon/robot/inventory.dm
+++ b/code/modules/mob/living/silicon/robot/inventory.dm
@@ -227,7 +227,7 @@
if(!(locate(O) in src.module.modules) && O != src.module.emag)
return
if(activated(O))
- src << "Already activated"
+ to_chat(src, "Already activated")
return
if(!module_state_1)
module_state_1 = O
@@ -251,7 +251,7 @@
if(istype(module_state_3,/obj/item/borg/sight))
sight_mode |= module_state_3:sight_mode
else
- src << "You need to disable a module first!"
+ to_chat(src, "You need to disable a module first!")
/mob/living/silicon/robot/put_in_hands(var/obj/item/W) // No hands.
W.loc = get_turf(src)
diff --git a/code/modules/mob/living/silicon/robot/life.dm b/code/modules/mob/living/silicon/robot/life.dm
index 2959616130c..82edaba7d3f 100644
--- a/code/modules/mob/living/silicon/robot/life.dm
+++ b/code/modules/mob/living/silicon/robot/life.dm
@@ -60,7 +60,7 @@
src.has_power = 1
else
if (src.has_power)
- src << "You are now running on emergency backup power."
+ to_chat(src, "You are now running on emergency backup power.")
src.has_power = 0
if(lights_on) // Light is on but there is no power!
lights_on = 0
@@ -320,7 +320,7 @@
killswitch_time --
if(killswitch_time <= 0)
if(src.client)
- src << "Killswitch Activated"
+ to_chat(src, "Killswitch Activated")
killswitch = 0
spawn(5)
gib()
@@ -331,7 +331,7 @@
weaponlock_time --
if(weaponlock_time <= 0)
if(src.client)
- src << "Weapon Lock Timed Out!"
+ to_chat(src, "Weapon Lock Timed Out!")
weapon_lock = 0
weaponlock_time = 120
diff --git a/code/modules/mob/living/silicon/robot/photos.dm b/code/modules/mob/living/silicon/robot/photos.dm
index 7c52bd0f858..24111683c93 100644
--- a/code/modules/mob/living/silicon/robot/photos.dm
+++ b/code/modules/mob/living/silicon/robot/photos.dm
@@ -17,4 +17,4 @@
synced = 1
if(synced)
- src << "Images synced with AI. Local images will be retained in the case of loss of connection with the AI."
+ to_chat(src, "Images synced with AI. Local images will be retained in the case of loss of connection with the AI.")
diff --git a/code/modules/mob/living/silicon/robot/robot_damage.dm b/code/modules/mob/living/silicon/robot/robot_damage.dm
index b1436f423ec..c27d7e36b6c 100644
--- a/code/modules/mob/living/silicon/robot/robot_damage.dm
+++ b/code/modules/mob/living/silicon/robot/robot_damage.dm
@@ -79,11 +79,11 @@
cell.charge -= cost
if(cell.charge <= 0)
cell.charge = 0
- src << "Your shield has overloaded!"
+ to_chat(src, "Your shield has overloaded!")
else
brute -= absorb_brute
burn -= absorb_burn
- src << "Your shield absorbs some of the impact!"
+ to_chat(src, "Your shield absorbs some of the impact!")
if(!emp)
var/datum/robot_component/armour/A = get_armour()
@@ -126,11 +126,11 @@
cell.charge -= cost
if(cell.charge <= 0)
cell.charge = 0
- src << "Your shield has overloaded!"
+ to_chat(src, "Your shield has overloaded!")
else
brute -= absorb_brute
burn -= absorb_burn
- src << "Your shield absorbs some of the impact!"
+ to_chat(src, "Your shield absorbs some of the impact!")
var/datum/robot_component/armour/A = get_armour()
if(A)
diff --git a/code/modules/mob/living/silicon/say.dm b/code/modules/mob/living/silicon/say.dm
index 0beaa78005c..d31d3032b5a 100644
--- a/code/modules/mob/living/silicon/say.dm
+++ b/code/modules/mob/living/silicon/say.dm
@@ -8,7 +8,7 @@
..()
if(message_mode)
if(!is_component_functioning("radio"))
- src << "Your radio isn't functional at this time."
+ to_chat(src, "Your radio isn't functional at this time.")
return 0
if(message_mode == "general")
message_mode = null
@@ -23,7 +23,7 @@
return holopad_talk(message, verb, speaking)
else if(message_mode)
if (aiRadio.disabledAi || aiRestorePowerRoutine || stat)
- src << "System Error - Transceiver Disabled."
+ to_chat(src, "System Error - Transceiver Disabled.")
return 0
if(message_mode == "general")
message_mode = null
@@ -82,11 +82,11 @@
if(speaking)
rendered_a = "[name] [speaking.format_message(message, verb)]"
rendered_b = "[voice_name] [speaking.format_message(message_stars, verb)]"
- src << "Holopad transmitted, [real_name] [speaking.format_message(message, verb)]"//The AI can "hear" its own message.
+ to_chat(src, "Holopad transmitted, [real_name] [speaking.format_message(message, verb)]")//The AI can "hear" its own message.
else
rendered_a = "[name] [verb], "
rendered_b = "[voice_name] [verb], "
- src << "Holopad transmitted, [real_name] [verb], "//The AI can "hear" its own message.
+ to_chat(src, "Holopad transmitted, [real_name] [verb], ")//The AI can "hear" its own message.
var/list/listeners = get_mobs_and_objs_in_view_fast(get_turf(T), world.view)
var/list/listening = listeners["mobs"]
var/list/listening_obj = listeners["objs"]
@@ -105,7 +105,7 @@
/*Radios "filter out" this conversation channel so we don't need to account for them.
This is another way of saying that we won't bother dealing with them.*/
else
- src << "No holopad connected."
+ to_chat(src, "No holopad connected.")
return 0
return 1
@@ -119,7 +119,7 @@
var/obj/machinery/hologram/holopad/T = src.holo
if(T && T.masters[src])
var/rendered = "[name] "
- src << "Holopad action relayed, [real_name] "
+ to_chat(src, "Holopad action relayed, [real_name] ")
var/obj/effect/overlay/aiholo/hologram = T.masters[src] //VOREStation Add for people in the hologram to hear the messages
//var/obj/effect/overlay/hologram = T.masters[src] //VOREStation edit. Done above.
@@ -142,7 +142,7 @@
log_emote("(HPAD) [message]", src)
else //This shouldn't occur, but better safe then sorry.
- src << "No holopad connected."
+ to_chat(src, "No holopad connected.")
return 0
return 1
diff --git a/code/modules/mob/living/silicon/silicon.dm b/code/modules/mob/living/silicon/silicon.dm
index 50e7989f57b..a84e4597e6b 100644
--- a/code/modules/mob/living/silicon/silicon.dm
+++ b/code/modules/mob/living/silicon/silicon.dm
@@ -72,8 +72,8 @@
src.take_organ_damage(0,5,emp=1)
Confuse(2)
flash_eyes(affect_silicon = 1)
- src << "*BZZZT*"
- src << "Warning: Electromagnetic pulse detected."
+ to_chat(src, "*BZZZT*")
+ to_chat(src, "Warning: Electromagnetic pulse detected.")
..()
/mob/living/silicon/stun_effect_act(var/stun_amount, var/agony_amount)
@@ -353,7 +353,7 @@
alarm_raised = 1
if(!reported)
reported = 1
- src << "--- [AH.category] Detected ---"
+ to_chat(src, "--- [AH.category] Detected ---")
raised_alarm(A)
for(var/datum/alarm_handler/AH in queued_alarms)
@@ -363,24 +363,24 @@
if(alarms[A] == -1)
if(!reported)
reported = 1
- src << "--- [AH.category] Cleared ---"
- src << "\The [A.alarm_name()]."
+ to_chat(src, "--- [AH.category] Cleared ---")
+ to_chat(src, "\The [A.alarm_name()].")
if(alarm_raised)
- src << "\[Show Alerts\]"
+ to_chat(src, "\[Show Alerts\]")
for(var/datum/alarm_handler/AH in queued_alarms)
var/list/alarms = queued_alarms[AH]
alarms.Cut()
/mob/living/silicon/proc/raised_alarm(var/datum/alarm/A)
- src << "[A.alarm_name()]!"
+ to_chat(src, "[A.alarm_name()]!")
/mob/living/silicon/ai/raised_alarm(var/datum/alarm/A)
var/cameratext = ""
for(var/obj/machinery/camera/C in A.cameras())
cameratext += "[(cameratext == "")? "" : "|"][C.c_tag]"
- src << "[A.alarm_name()]! ([(cameratext)? cameratext : "No Camera"])"
+ to_chat(src, "[A.alarm_name()]! ([(cameratext)? cameratext : "No Camera"])")
/mob/living/silicon/proc/is_traitor()
diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_captive.dm b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_captive.dm
index f5da079b97e..738251b3086 100644
--- a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_captive.dm
+++ b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_captive.dm
@@ -9,7 +9,7 @@
if (src.client)
if(client.prefs.muted & MUTE_IC)
- src << "You cannot speak in IC (muted)."
+ to_chat(src, "You cannot speak in IC (muted).")
return
if(istype(src.loc, /mob/living/simple_mob/animal/borer))
@@ -22,7 +22,7 @@
return say_dead(message)
var/mob/living/simple_mob/animal/borer/B = src.loc
- src << "You whisper silently, \"[message]\""
+ to_chat(src, "You whisper silently, \"[message]\"")
B.host << "The captive mind of [src] whispers, \"[message]\""
for (var/mob/M in player_list)
diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm
index 55dac2492a7..dec8dd8ca44 100644
--- a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm
+++ b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm
@@ -4,19 +4,19 @@
set desc = "Slither out of your host."
if(!host)
- src << "You are not inside a host body."
+ to_chat(src, "You are not inside a host body.")
return
if(stat)
- src << "You cannot leave your host in your current state."
+ to_chat(src, "You cannot leave your host in your current state.")
if(docile)
- src << "You are feeling far too docile to do that."
+ to_chat(src, "You are feeling far too docile to do that.")
return
if(!host || !src) return
- src << "You begin disconnecting from [host]'s synapses and prodding at their internal ear canal."
+ to_chat(src, "You begin disconnecting from [host]'s synapses and prodding at their internal ear canal.")
if(!host.stat)
host << "An odd, uncomfortable pressure begins to build inside your skull, behind your ear..."
@@ -26,10 +26,10 @@
if(!host || !src) return
if(src.stat)
- src << "You cannot release your host in your current state."
+ to_chat(src, "You cannot release your host in your current state.")
return
- src << "You wiggle out of [host]'s ear and plop to the ground."
+ to_chat(src, "You wiggle out of [host]'s ear and plop to the ground.")
if(host.mind)
if(!host.stat)
host << "Something slimy wiggles out of your ear and plops to the ground!"
@@ -44,11 +44,11 @@
set desc = "Infest a suitable humanoid host."
if(host)
- src << "You are already within a host."
+ to_chat(src, "You are already within a host.")
return
if(stat)
- src << "You cannot infest a target in your current state."
+ to_chat(src, "You cannot infest a target in your current state.")
return
var/list/choices = list()
@@ -57,7 +57,7 @@
choices += C
if(!choices.len)
- src << "There are no viable hosts within range..."
+ to_chat(src, "There are no viable hosts within range...")
return
var/mob/living/carbon/M = input(src,"Who do you wish to infest?") in null|choices
@@ -67,7 +67,7 @@
if(!(src.Adjacent(M))) return
if(M.has_brain_worms())
- src << "You cannot infest someone who is already infested!"
+ to_chat(src, "You cannot infest someone who is already infested!")
return
if(istype(M,/mob/living/carbon/human))
@@ -75,31 +75,31 @@
var/obj/item/organ/external/E = H.organs_by_name[BP_HEAD]
if(!E || E.is_stump())
- src << "\The [H] does not have a head!"
+ to_chat(src, "\The [H] does not have a head!")
if(!H.should_have_organ("brain"))
- src << "\The [H] does not seem to have an ear canal to breach."
+ to_chat(src, "\The [H] does not seem to have an ear canal to breach.")
return
if(H.check_head_coverage())
- src << "You cannot get through that host's protective gear."
+ to_chat(src, "You cannot get through that host's protective gear.")
return
M << "Something slimy begins probing at the opening of your ear canal..."
- src << "You slither up [M] and begin probing at their ear canal..."
+ to_chat(src, "You slither up [M] and begin probing at their ear canal...")
if(!do_after(src,30))
- src << "As [M] moves away, you are dislodged and fall to the ground."
+ to_chat(src, "As [M] moves away, you are dislodged and fall to the ground.")
return
if(!M || !src) return
if(src.stat)
- src << "You cannot infest a target in your current state."
+ to_chat(src, "You cannot infest a target in your current state.")
return
if(M in view(1, src))
- src << "You wiggle into [M]'s ear."
+ to_chat(src, "You wiggle into [M]'s ear.")
if(!M.stat)
M << "Something disgusting and slimy wiggles into your ear!"
@@ -122,7 +122,7 @@
return
else
- src << "They are no longer in range!"
+ to_chat(src, "They are no longer in range!")
return
/*
@@ -132,22 +132,22 @@
set desc = "Take permanent control of a dead host."
if(!host)
- src << "You are not inside a host body."
+ to_chat(src, "You are not inside a host body.")
return
if(host.stat != 2)
- src << "Your host is still alive."
+ to_chat(src, "Your host is still alive.")
return
if(stat)
- src << "You cannot do that in your current state."
+ to_chat(src, "You cannot do that in your current state.")
if(docile)
- src << "You are feeling far too docile to do that."
+ to_chat(src, "You are feeling far too docile to do that.")
return
- src << "It only takes a few moments to render the dead host brain down into a nutrient-rich slurry..."
+ to_chat(src, "It only takes a few moments to render the dead host brain down into a nutrient-rich slurry...")
replace_brain()
*/
@@ -157,10 +157,10 @@
var/mob/living/carbon/human/H = host
if(!istype(host))
- src << "This host does not have a suitable brain."
+ to_chat(src, "This host does not have a suitable brain.")
return
- src << "You settle into the empty brainpan and begin to expand, fusing inextricably with the dead flesh of [H]."
+ to_chat(src, "You settle into the empty brainpan and begin to expand, fusing inextricably with the dead flesh of [H].")
H.add_language("Cortical Link")
@@ -204,25 +204,25 @@
set desc = "Push some chemicals into your host's bloodstream."
if(!host)
- src << "You are not inside a host body."
+ to_chat(src, "You are not inside a host body.")
return
if(stat)
- src << "You cannot secrete chemicals in your current state."
+ to_chat(src, "You cannot secrete chemicals in your current state.")
if(docile)
- src << "You are feeling far too docile to do that."
+ to_chat(src, "You are feeling far too docile to do that.")
return
if(chemicals < 50)
- src << "You don't have enough chemicals!"
+ to_chat(src, "You don't have enough chemicals!")
var/chem = input("Select a chemical to secrete.", "Chemicals") as null|anything in list("alkysine","bicaridine","hyperzine","tramadol")
if(!chem || chemicals < 50 || !host || controlling || !src || stat) //Sanity check.
return
- src << "You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream."
+ to_chat(src, "You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.")
host.reagents.add_reagent(chem, 10)
chemicals -= 50
@@ -232,15 +232,15 @@
set desc = "Freeze the limbs of a potential host with supernatural fear."
if(world.time - used_dominate < 150)
- src << "You cannot use that ability again so soon."
+ to_chat(src, "You cannot use that ability again so soon.")
return
if(host)
- src << "You cannot do that from within a host body."
+ to_chat(src, "You cannot do that from within a host body.")
return
if(src.stat)
- src << "You cannot do that in your current state."
+ to_chat(src, "You cannot do that in your current state.")
return
var/list/choices = list()
@@ -249,7 +249,7 @@
choices += C
if(world.time - used_dominate < 150)
- src << "You cannot use that ability again so soon."
+ to_chat(src, "You cannot use that ability again so soon.")
return
var/mob/living/carbon/M = input(src,"Who do you wish to dominate?") in null|choices
@@ -257,10 +257,10 @@
if(!M || !src) return
if(M.has_brain_worms())
- src << "You cannot infest someone who is already infested!"
+ to_chat(src, "You cannot infest someone who is already infested!")
return
- src << "You focus your psychic lance on [M] and freeze their limbs with a wave of terrible dread."
+ to_chat(src, "You focus your psychic lance on [M] and freeze their limbs with a wave of terrible dread.")
M << "You feel a creeping, horrible sense of dread come over you, freezing your limbs and setting your heart racing."
M.Weaken(10)
@@ -272,18 +272,18 @@
set desc = "Fully connect to the brain of your host."
if(!host)
- src << "You are not inside a host body."
+ to_chat(src, "You are not inside a host body.")
return
if(src.stat)
- src << "You cannot do that in your current state."
+ to_chat(src, "You cannot do that in your current state.")
return
if(docile)
- src << "You are feeling far too docile to do that."
+ to_chat(src, "You are feeling far too docile to do that.")
return
- src << "You begin delicately adjusting your connection to the host brain..."
+ to_chat(src, "You begin delicately adjusting your connection to the host brain...")
spawn(100+(host.brainloss*5))
@@ -291,7 +291,7 @@
return
else
- src << "You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system."
+ to_chat(src, "You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system.")
host << "You feel a strange shifting sensation behind your eyes as an alien consciousness displaces yours."
host.add_language("Cortical Link")
diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm
index ec032d7b46b..5ecd18433c7 100644
--- a/code/modules/mob/mob.dm
+++ b/code/modules/mob/mob.dm
@@ -229,7 +229,7 @@
set category = "IC"
if((is_blind(src) || usr.stat) && !isobserver(src))
- src << "Something is there but you can't see it."
+ to_chat(src, "Something is there but you can't see it.")
return 1
face_atom(A)
@@ -286,7 +286,7 @@
if(mind)
mind.show_memory(src)
else
- src << "The game appears to have misplaced your mind datum, so we can't show you your notes."
+ to_chat(src, "The game appears to have misplaced your mind datum, so we can't show you your notes.")
/mob/verb/add_memory(msg as message)
set name = "Add Note"
@@ -297,7 +297,7 @@
if(mind)
mind.store_memory(msg)
else
- src << "The game appears to have misplaced your mind datum, so we can't show you your notes."
+ to_chat(src, "The game appears to have misplaced your mind datum, so we can't show you your notes.")
/mob/proc/store_memory(msg as message, popup, sane = 1)
msg = copytext(msg, 1, MAX_MESSAGE_LEN)
@@ -324,8 +324,8 @@
/mob/proc/warn_flavor_changed()
if(flavor_text && flavor_text != "") // don't spam people that don't use it!
- src << "