diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm
index 3542948ae10..b386fce364f 100644
--- a/code/__HELPERS/game.dm
+++ b/code/__HELPERS/game.dm
@@ -486,14 +486,14 @@ proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0,
if(G.has_enabled_antagHUD)
continue
spawn(0)
- to_chat(G, 'sound/misc/notice2.ogg')//Alerting them to their consideration
+ G << 'sound/misc/notice2.ogg'//Alerting them to their consideration
switch(alert(G,Question,"Please answer in [poll_time/10] seconds!","Yes","No"))
if("Yes")
to_chat(G, "Choice registered: Yes.")
if((world.time-time_passed)>poll_time)//If more than 30 game seconds passed.
to_chat(G, "Sorry, you were too late for the consideration!")
- to_chat(G, 'sound/machines/buzz-sigh.ogg')
+ G << 'sound/machines/buzz-sigh.ogg'
return
candidates += G
if("No")
diff --git a/code/game/gamemodes/malfunction/malfunction.dm b/code/game/gamemodes/malfunction/malfunction.dm
index ce257175636..79e864becf0 100644
--- a/code/game/gamemodes/malfunction/malfunction.dm
+++ b/code/game/gamemodes/malfunction/malfunction.dm
@@ -217,7 +217,7 @@
ticker.mode:to_nuke_or_not_to_nuke = 0
ticker.mode:explosion_in_progress = 1
for(var/mob/M in player_list)
- to_chat(M, 'sound/machines/Alarm.ogg')
+ M << 'sound/machines/Alarm.ogg'
var/obj/item/device/radio/R = new (src)
var/AN = "Self-Destruct System"
diff --git a/code/game/gamemodes/miniantags/morph/morph_event.dm b/code/game/gamemodes/miniantags/morph/morph_event.dm
index 3a822467c66..2e11c65078c 100644
--- a/code/game/gamemodes/miniantags/morph/morph_event.dm
+++ b/code/game/gamemodes/miniantags/morph/morph_event.dm
@@ -9,7 +9,7 @@
return kill()
var/mob/C = pick(candidates)
key_of_morph = C.key
-
+
if(!key_of_morph)
return kill()
@@ -23,7 +23,7 @@
player_mind.special_role = "Morph"
ticker.mode.traitors |= player_mind
to_chat(S, S.playstyle_string)
- to_chat(S, 'sound/magic/Mutate.ogg')
+ S << 'sound/magic/Mutate.ogg'
message_admins("[key_of_morph] has been made into morph by an event.")
log_game("[key_of_morph] was spawned as a morph by an event.")
return 1
diff --git a/code/game/gamemodes/miniantags/revenant/revenant.dm b/code/game/gamemodes/miniantags/revenant/revenant.dm
index 2dba746824a..0e048b85df0 100644
--- a/code/game/gamemodes/miniantags/revenant/revenant.dm
+++ b/code/game/gamemodes/miniantags/revenant/revenant.dm
@@ -119,7 +119,7 @@
spawn(5)
if(src.mind)
src.mind.wipe_memory()
- to_chat(src, 'sound/effects/ghost.ogg')
+ src << 'sound/effects/ghost.ogg'
to_chat(src, "
")
to_chat(src, "You are a revenant.")
to_chat(src, "Your formerly mundane spirit has been infused with alien energies and empowered into a revenant.")
diff --git a/code/game/gamemodes/miniantags/slaughter/slaughter.dm b/code/game/gamemodes/miniantags/slaughter/slaughter.dm
index f288cf39435..6f97740f8d5 100644
--- a/code/game/gamemodes/miniantags/slaughter/slaughter.dm
+++ b/code/game/gamemodes/miniantags/slaughter/slaughter.dm
@@ -57,7 +57,7 @@
if(mind)
to_chat(src, src.playstyle_string)
to_chat(src, "You are not currently in the same plane of existence as the station. Ctrl+Click a blood pool to manifest.")
- to_chat(src, 'sound/misc/demon_dies.ogg')
+ src << 'sound/misc/demon_dies.ogg'
mind.current.verbs += /mob/living/simple_animal/slaughter/proc/slaughterWhisper
if(!(vialspawned))
var/datum/objective/slaughter/objective = new
diff --git a/code/game/gamemodes/shadowling/shadowling.dm b/code/game/gamemodes/shadowling/shadowling.dm
index ef098c87f91..5c6ca539f91 100644
--- a/code/game/gamemodes/shadowling/shadowling.dm
+++ b/code/game/gamemodes/shadowling/shadowling.dm
@@ -320,8 +320,7 @@ Made by Xhuis
H.take_overall_damage(0, LIGHT_DAMAGE_TAKEN)
if(H.stat != DEAD)
to_chat(H, "The light burns you!")//Message spam to say "GET THE FUCK OUT"
-
- to_chat(H, 'sound/weapons/sear.ogg')
+ H << 'sound/weapons/sear.ogg'
else if(light_amount < LIGHT_HEAL_THRESHOLD)
H.heal_overall_damage(5, 5)
H.adjustToxLoss(-5)
diff --git a/code/game/gamemodes/shadowling/shadowling_abilities.dm b/code/game/gamemodes/shadowling/shadowling_abilities.dm
index 5421789c0ea..b350a0556d3 100644
--- a/code/game/gamemodes/shadowling/shadowling_abilities.dm
+++ b/code/game/gamemodes/shadowling/shadowling_abilities.dm
@@ -565,7 +565,7 @@ datum/reagent/shadowling_blindness_smoke/on_mob_life(var/mob/living/M as mob)
else if(issilicon(target))
var/mob/living/silicon/S = target
to_chat(S, "ERROR $!(@ ERROR )#^! SENSORY OVERLOAD \[$(!@#")
- to_chat(S, 'sound/misc/interference.ogg')
+ S << 'sound/misc/interference.ogg'
playsound(S, 'sound/machines/warning-buzzer.ogg', 50, 1)
var/datum/effect/system/spark_spread/sp = new /datum/effect/system/spark_spread
sp.set_up(5, 1, S)
diff --git a/code/game/gamemodes/shadowling/special_shadowling_abilities.dm b/code/game/gamemodes/shadowling/special_shadowling_abilities.dm
index 80be87570f2..98f81f1d128 100644
--- a/code/game/gamemodes/shadowling/special_shadowling_abilities.dm
+++ b/code/game/gamemodes/shadowling/special_shadowling_abilities.dm
@@ -156,7 +156,7 @@ var/list/possibleShadowlingNames = list("U'ruan", "Y`shej", "Nex", "Hel-uae", "N
M.Weaken(10)
to_chat(M, "An immense pressure slams you onto the ground!")
to_chat(world, "\"VYSHA NERADA YEKHEZET U'RUU!!\"")
- to_chat(world, 'sound/hallucinations/veryfar_noise.ogg')
+ world << 'sound/hallucinations/veryfar_noise.ogg'
for(var/obj/machinery/power/apc/A in apcs)
A.overload_lighting()
var/mob/A = new /mob/living/simple_animal/ascendant_shadowling(H.loc)
diff --git a/code/game/gamemodes/wizard/artefact.dm b/code/game/gamemodes/wizard/artefact.dm
index ae6a9a30867..4dc42aacb4f 100644
--- a/code/game/gamemodes/wizard/artefact.dm
+++ b/code/game/gamemodes/wizard/artefact.dm
@@ -782,7 +782,7 @@ var/global/list/multiverse = list()
GiveHint(target)
else if(istype(I,/obj/item/weapon/bikehorn))
to_chat(target, "HONK")
- to_chat(target, 'sound/items/AirHorn.ogg')
+ target << 'sound/items/AirHorn.ogg'
target.ear_damage += rand(0,3)
GiveHint(target)
cooldown = world.time +cooldown_time
diff --git a/code/game/machinery/computer/cloning.dm b/code/game/machinery/computer/cloning.dm
index 4e51c1e1dad..0818dccbe35 100644
--- a/code/game/machinery/computer/cloning.dm
+++ b/code/game/machinery/computer/cloning.dm
@@ -326,7 +326,7 @@
var/mob/selected = find_dead_player("[C.ckey]")
if(!selected)
return
- to_chat(selected, 'sound/machines/chime.ogg')//probably not the best sound but I think it's reasonable
+ selected << 'sound/machines/chime.ogg' //probably not the best sound but I think it's reasonable
var/answer = alert(selected,"Do you want to return to life?","Cloning","Yes","No")
if(answer != "No" && pod.growclone(C))
diff --git a/code/game/objects/empulse.dm b/code/game/objects/empulse.dm
index 6bf7b8dac11..ce7efc4fee3 100644
--- a/code/game/objects/empulse.dm
+++ b/code/game/objects/empulse.dm
@@ -15,8 +15,7 @@
light_range = heavy_range
for(var/mob/M in range(heavy_range, epicenter))
- to_chat(M, 'sound/effects/EMPulse.ogg')
-
+ M << 'sound/effects/EMPulse.ogg'
for(var/atom/T in range(light_range, epicenter))
var/distance = get_dist(epicenter, T)
if(distance < 0)
diff --git a/code/game/objects/explosion.dm b/code/game/objects/explosion.dm
index d21767cb4c0..caaf79a9981 100644
--- a/code/game/objects/explosion.dm
+++ b/code/game/objects/explosion.dm
@@ -73,7 +73,7 @@
for(var/mob/M in world) if(M.z == epicenter.z) if(!(M in close))
// check if the mob can hear
if(M.ear_deaf <= 0 || !M.ear_deaf) if(!istype(M.loc,/turf/space))
- to_chat(M, 'sound/effects/explosionfar.ogg')
+ M << 'sound/effects/explosionfar.ogg'
if(heavy_impact_range > 1)
var/datum/effect/system/explosion/E = new/datum/effect/system/explosion()
diff --git a/code/game/sound.dm b/code/game/sound.dm
index 264b5f93565..cecf12c657d 100644
--- a/code/game/sound.dm
+++ b/code/game/sound.dm
@@ -93,12 +93,12 @@ var/const/FALLOFF_SOUNDS = 0.5
S.falloff = (falloff ? falloff : FALLOFF_SOUNDS)
if(!is_global)
S.environment = 2
- to_chat(src, S)
+ src << S
/client/proc/playtitlemusic()
if(!ticker || !ticker.login_music || config.disable_lobby_music) return
if(prefs.sound & SOUND_LOBBY)
- to_chat(src, sound(ticker.login_music, repeat = 0, wait = 0, volume = 85, channel = 1))// MAD JAMS
+ src << sound(ticker.login_music, repeat = 0, wait = 0, volume = 85, channel = 1) // MAD JAMS
/proc/get_rand_frequency()
diff --git a/code/modules/admin/admin_memo.dm b/code/modules/admin/admin_memo.dm
index 3a1fec11bb4..489be7b68dc 100644
--- a/code/modules/admin/admin_memo.dm
+++ b/code/modules/admin/admin_memo.dm
@@ -1,7 +1,7 @@
/client/proc/admin_memo()
set name = "Memo"
set category = "Server"
- if(!check_rights(R_SERVER))
+ if(!check_rights(R_SERVER))
return
if(!dbcon.IsConnected())
to_chat(src, "Failed to establish database connection.")
@@ -102,7 +102,7 @@
if(!output && !silent)
to_chat(src, "No memos found in database.")
return
- src << output
+ to_chat(src, output)
if("Remove")
var/DBQuery/query_memodellist = dbcon.NewQuery("SELECT ckey FROM [format_table_name("memo")]")
if(!query_memodellist.Execute())
@@ -131,4 +131,3 @@
else
log_admin("[key_name(src)] has removed [target_sql_ckey]'s memo.")
message_admins("[key_name_admin(src)] has removed [target_sql_ckey]'s memo.")
-
\ No newline at end of file
diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm
index ca20df573ec..a2d62b29c8a 100644
--- a/code/modules/admin/admin_verbs.dm
+++ b/code/modules/admin/admin_verbs.dm
@@ -918,7 +918,7 @@ var/list/admin_verbs_proccall = list (
if(confirm == "Yes")
for (var/mob/T as mob in mob_list)
to_chat(T, "
Man up.
Deal with it.
Move on.
")
- to_chat(T, 'sound/voice/ManUp1.ogg')
+ T << 'sound/voice/ManUp1.ogg'
log_admin("[key_name(usr)] told everyone to man up and deal with it.")
message_admins("[key_name_admin(usr)] told everyone to man up and deal with it.")
diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm
index 49a06ac5947..60e196c7982 100644
--- a/code/modules/admin/topic.dm
+++ b/code/modules/admin/topic.dm
@@ -17,7 +17,7 @@
if(!C)
return
- to_chat(C, 'sound/effects/adminhelp.ogg')
+ C << 'sound/effects/adminhelp.ogg'
to_chat(C, "- AdminHelp Rejected! -")
to_chat(C, "Your admin help was rejected.")
diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm
index ffebb5ce698..fce0201c765 100644
--- a/code/modules/admin/verbs/adminhelp.dm
+++ b/code/modules/admin/verbs/adminhelp.dm
@@ -112,13 +112,13 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
msg = "[selected_type]: [key_name(src, 1, 1, selected_type)] (?) (PP) (VV) (SM) ([admin_jump_link(mob, "holder")]) (CA) (REJT) [ai_found ? " (CL)" : ""]: [msg]"
for(var/client/X in mentorholders + modholders + adminholders)
if(X.prefs.sound & SOUND_ADMINHELP)
- to_chat(X, 'sound/effects/adminhelp.ogg')
+ X << 'sound/effects/adminhelp.ogg'
to_chat(X, msg)
if("Adminhelp")
msg = "[selected_type]: [key_name(src, 1, 1, selected_type)] (?) (PP) (VV) (SM) ([admin_jump_link(mob, "holder")]) (CA) (REJT) [ai_found ? " (CL)" : ""]: [msg]"
for(var/client/X in modholders + adminholders)
if(X.prefs.sound & SOUND_ADMINHELP)
- to_chat(X, 'sound/effects/adminhelp.ogg')
+ X << 'sound/effects/adminhelp.ogg'
to_chat(X, msg)
//show it to the person adminhelping too
diff --git a/code/modules/admin/verbs/adminpm.dm b/code/modules/admin/verbs/adminpm.dm
index ad5006611af..e533a4716b6 100644
--- a/code/modules/admin/verbs/adminpm.dm
+++ b/code/modules/admin/verbs/adminpm.dm
@@ -160,7 +160,7 @@
//play the recieving admin the adminhelp sound (if they have them enabled)
//non-admins shouldn't be able to disable this
if(C.prefs.sound & SOUND_ADMINHELP)
- to_chat(C, 'sound/effects/adminhelp.ogg')
+ C << 'sound/effects/adminhelp.ogg'
log_admin("PM: [key_name(src)]->[key_name(C)]: [msg]")
//we don't use message_admins here because the sender/receiver might get it too
diff --git a/code/modules/admin/verbs/playsound.dm b/code/modules/admin/verbs/playsound.dm
index c363ed51d72..25b0ed54140 100644
--- a/code/modules/admin/verbs/playsound.dm
+++ b/code/modules/admin/verbs/playsound.dm
@@ -17,7 +17,7 @@ var/list/sounds_cache = list()
message_admins("[key_name_admin(src)] played sound [S]", 1)
for(var/mob/M in player_list)
if(M.client.prefs.sound & SOUND_MIDI)
- to_chat(M, uploaded_sound)
+ M << uploaded_sound
feedback_add_details("admin_verb","PGS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -86,11 +86,11 @@ var/list/sounds_cache = list()
for(var/mob/M in world)
if(M.client)
if(M.client.midis)
- to_chat(M, 'cubanpetetime.ogg')
+ M << 'cubanpetetime.ogg'
for(var/mob/living/carbon/human/CP in world)
if(CP.real_name=="Cuban Pete" && CP.key!="Rosham")
- to_chat(CP, "Your body can't contain the rhumba beat")
+ C << "Your body can't contain the rhumba beat"
CP.gib()
@@ -102,7 +102,7 @@ var/list/sounds_cache = list()
for(var/mob/M in world)
if(M.client)
if(M.client.midis)
- to_chat(M, 'bananaphone.ogg')
+ M << 'bananaphone.ogg'
client/proc/space_asshole()
@@ -113,7 +113,7 @@ client/proc/space_asshole()
for(var/mob/M in world)
if(M.client)
if(M.client.midis)
- to_chat(M, 'sound/music/space_asshole.ogg')
+ M << 'sound/music/space_asshole.ogg'
client/proc/honk_theme()
@@ -124,4 +124,4 @@ client/proc/honk_theme()
for(var/mob/M in world)
if(M.client)
if(M.client.midis)
- to_chat(M, 'honk_theme.ogg')*/
+ M << 'honk_theme.ogg'*/
diff --git a/code/modules/flufftext/Hallucination.dm b/code/modules/flufftext/Hallucination.dm
index 69fbd9bc1fc..c4088d9a53f 100644
--- a/code/modules/flufftext/Hallucination.dm
+++ b/code/modules/flufftext/Hallucination.dm
@@ -421,7 +421,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
step_away(src,my_target,2)
user.changeNext_move(CLICK_CD_MELEE)
user.do_attack_animation(src)
- to_chat(my_target, sound(pick('sound/weapons/genhit1.ogg', 'sound/weapons/genhit2.ogg', 'sound/weapons/genhit3.ogg')))
+ my_target << sound(pick('sound/weapons/genhit1.ogg', 'sound/weapons/genhit2.ogg', 'sound/weapons/genhit3.ogg'))
my_target.visible_message("[my_target] flails around wildly.", \
"[my_target] has attacked [src]!")
@@ -476,7 +476,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
if(prob(15))
src.do_attack_animation(my_target)
if(weapon_name)
- to_chat(my_target, sound(pick('sound/weapons/genhit1.ogg', 'sound/weapons/genhit2.ogg', 'sound/weapons/genhit3.ogg')))
+ my_target << sound(pick('sound/weapons/genhit1.ogg', 'sound/weapons/genhit2.ogg', 'sound/weapons/genhit3.ogg'))
my_target.show_message("[src.name] has attacked [my_target] with [weapon_name]!", 1)
my_target.staminaloss += 30
if(prob(20))
@@ -485,7 +485,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
if(!locate(/obj/effect/overlay) in my_target.loc)
fake_blood(my_target)
else
- to_chat(my_target, sound(pick('sound/weapons/punch1.ogg','sound/weapons/punch2.ogg','sound/weapons/punch3.ogg','sound/weapons/punch4.ogg')))
+ my_target << sound(pick('sound/weapons/punch1.ogg','sound/weapons/punch2.ogg','sound/weapons/punch3.ogg','sound/weapons/punch4.ogg'))
my_target.show_message("[src.name] has punched [my_target]!", 1)
my_target.staminaloss += 30
if(prob(33))
@@ -618,36 +618,36 @@ var/list/non_fakeattack_weapons = list(/obj/item/weapon/gun/projectile, /obj/ite
// to_chat(src, "Strange Audio")
switch(rand(1,18))
if(1)
- to_chat(src, 'sound/machines/airlock.ogg')
+ src << 'sound/machines/airlock.ogg'
if(2)
if(prob(50))
- to_chat(src, 'sound/effects/Explosion1.ogg')
+ src << 'sound/effects/Explosion1.ogg'
else
- to_chat(src, 'sound/effects/Explosion2.ogg')
+ src << 'sound/effects/Explosion2.ogg'
if(3)
- to_chat(src, 'sound/effects/explosionfar.ogg')
+ src << 'sound/effects/explosionfar.ogg'
if(4)
- to_chat(src, 'sound/effects/Glassbr1.ogg')
+ src << 'sound/effects/Glassbr1.ogg'
if(5)
- to_chat(src, 'sound/effects/Glassbr2.ogg')
+ src << 'sound/effects/Glassbr2.ogg'
if(6)
- to_chat(src, 'sound/effects/Glassbr3.ogg')
+ src << 'sound/effects/Glassbr3.ogg'
if(7)
- to_chat(src, 'sound/machines/twobeep.ogg')
+ src << 'sound/machines/twobeep.ogg'
if(8)
- to_chat(src, 'sound/machines/windowdoor.ogg')
+ src << 'sound/machines/windowdoor.ogg'
if(9)
//To make it more realistic, I added two gunshots (enough to kill)
- to_chat(src, 'sound/weapons/Gunshot.ogg')
+ src << 'sound/weapons/Gunshot.ogg'
spawn(rand(10,30))
- to_chat(src, 'sound/weapons/Gunshot.ogg')
+ src << 'sound/weapons/Gunshot.ogg'
if(10)
- to_chat(src, 'sound/weapons/smash.ogg')
+ src << 'sound/weapons/smash.ogg'
if(11)
//Same as above, but with tasers.
- to_chat(src, 'sound/weapons/Taser.ogg')
+ src << 'sound/weapons/Taser.ogg'
spawn(rand(10,30))
- to_chat(src, 'sound/weapons/Taser.ogg')
+ src << 'sound/weapons/Taser.ogg'
//Rare audio
if(12)
//These sounds are (mostly) taken from Hidden: Source
@@ -656,21 +656,21 @@ var/list/non_fakeattack_weapons = list(/obj/item/weapon/gun/projectile, /obj/ite
'sound/hallucinations/growl3.ogg', 'sound/hallucinations/im_here1.ogg', 'sound/hallucinations/im_here2.ogg', 'sound/hallucinations/i_see_you1.ogg', 'sound/hallucinations/i_see_you2.ogg',\
'sound/hallucinations/look_up1.ogg', 'sound/hallucinations/look_up2.ogg', 'sound/hallucinations/over_here1.ogg', 'sound/hallucinations/over_here2.ogg', 'sound/hallucinations/over_here3.ogg',\
'sound/hallucinations/turn_around1.ogg', 'sound/hallucinations/turn_around2.ogg', 'sound/hallucinations/veryfar_noise.ogg', 'sound/hallucinations/wail.ogg')
- to_chat(src, pick(creepyasssounds))
+ src << pick(creepyasssounds)
if(13)
to_chat(src, "You feel a tiny prick!")
if(14)
to_chat(src, "Priority Announcement
")
to_chat(src, "
The Emergency Shuttle has docked with the station. You have 3 minutes to board the Emergency Shuttle.
")
- to_chat(src, sound('sound/AI/shuttledock.ogg'))
+ src << sound('sound/AI/shuttledock.ogg')
if(15)
- to_chat(src, 'sound/items/Welder.ogg')
+ src << 'sound/items/Welder.ogg'
if(16)
- to_chat(src, 'sound/items/Screwdriver.ogg')
+ src << 'sound/items/Screwdriver.ogg'
if(17)
- to_chat(src, 'sound/weapons/saberon.ogg')
+ src << 'sound/weapons/saberon.ogg'
if(18)
- to_chat(src, 'sound/weapons/saberoff.ogg')
+ src << 'sound/weapons/saberoff.ogg'
if("hudscrew")
//Screwy HUD
// to_chat(src, "Screwy HUD")
diff --git a/code/modules/mob/living/simple_animal/friendly/mouse.dm b/code/modules/mob/living/simple_animal/friendly/mouse.dm
index e6d48812842..b269256f7a0 100644
--- a/code/modules/mob/living/simple_animal/friendly/mouse.dm
+++ b/code/modules/mob/living/simple_animal/friendly/mouse.dm
@@ -37,7 +37,7 @@
..()
if(prob(speak_chance))
for(var/mob/M in view())
- to_chat(M, 'sound/effects/mousesqueek.ogg')
+ M << 'sound/effects/mousesqueek.ogg'
/mob/living/simple_animal/mouse/Life()
. = ..()
@@ -113,7 +113,7 @@
if(!stat)
var/mob/M = AM
to_chat(M, "\blue \icon[src] Squeek!")
- to_chat(M, 'sound/effects/mousesqueek.ogg')
+ M << 'sound/effects/mousesqueek.ogg'
..()
/mob/living/simple_animal/mouse/death()
diff --git a/code/modules/power/supermatter/supermatter.dm b/code/modules/power/supermatter/supermatter.dm
index dcce2bb23ae..5bb36c06187 100644
--- a/code/modules/power/supermatter/supermatter.dm
+++ b/code/modules/power/supermatter/supermatter.dm
@@ -224,8 +224,7 @@
message_admins("Singularity has consumed a supermatter shard and can now become stage six.")
visible_message("[src] is consumed by the singularity!")
for(var/mob/M in mob_list)
- to_chat(M, 'sound/effects/supermatter.ogg')//everyone goan know bout this
-
+ M << 'sound/effects/supermatter.ogg' //everyone gunna know bout this
to_chat(M, "A horrible screeching fills your ears, and a wave of dread washes over you...")
qdel(src)
return(gain)
diff --git a/code/modules/projectiles/targeting.dm b/code/modules/projectiles/targeting.dm
index 921cc49c60f..8eb0d7b6b45 100644
--- a/code/modules/projectiles/targeting.dm
+++ b/code/modules/projectiles/targeting.dm
@@ -157,7 +157,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory.
else
return
for(var/mob/living/K in viewers(usr))
- to_chat(K, 'sound/weapons/TargetOn.ogg')
+ K << 'sound/weapons/TargetOn.ogg'
if(!targeted_by) targeted_by = list()
targeted_by += I
@@ -215,7 +215,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory.
mob/living/proc/NotTargeted(var/obj/item/weapon/gun/I)
if(!I.silenced)
for(var/mob/living/M in viewers(src))
- to_chat(M, 'sound/weapons/TargetOff.ogg')
+ M << 'sound/weapons/TargetOff.ogg'
targeted_by -= I
I.target.Remove(src) //De-target them
if(!I.target.len)
diff --git a/code/modules/reagents/Chemistry-Readme.dm b/code/modules/reagents/Chemistry-Readme.dm
index e0540151f7d..fee6e61e2b9 100644
--- a/code/modules/reagents/Chemistry-Readme.dm
+++ b/code/modules/reagents/Chemistry-Readme.dm
@@ -227,9 +227,9 @@ About the Tools:
By default, all atom have a reagents var - but its empty. if you want to use an object for the chem.
system you'll need to add something like this in its new proc:
- to_chat(var/datum/reagents/R = new/datum/reagents(100), <<< create a new datum , 100 is the maximum_volume of the new holder datum.)
- to_chat(reagents = R, <<< assign the new datum to the objects reagents var)
- to_chat(R.my_atom = src, <<< set the holders my_atom to src so that we know where we are.)
+ var/datum/reagents/R = new/datum/reagents(100), <<< create a new datum, 100 is the maximum_volume of the new holder datum.
+ reagents = R, <<< assign the new datum to the objects reagents var
+ R.my_atom = src, <<< set the holders my_atom to src so that we know where we are.
This can also be done by calling a convenience proc:
atom/proc/create_reagents(var/max_volume)
diff --git a/code/modules/shuttle/emergency.dm b/code/modules/shuttle/emergency.dm
index 1f555693960..31a4fa84280 100644
--- a/code/modules/shuttle/emergency.dm
+++ b/code/modules/shuttle/emergency.dm
@@ -197,7 +197,7 @@
if(time_left <= 50 && !sound_played) //4 seconds left - should sync up with the launch
sound_played = 1
for(var/area/shuttle/escape/E in world)
- to_chat(E, 'sound/effects/hyperspace_begin.ogg')
+ E << 'sound/effects/hyperspace_begin.ogg'
if(time_left <= 0 && !shuttle_master.emergencyNoEscape)
//move each escape pod to its corresponding transit dock
@@ -206,7 +206,7 @@
M.enterTransit()
//now move the actual emergency shuttle to its transit dock
for(var/area/shuttle/escape/E in world)
- to_chat(E, 'sound/effects/hyperspace_progress.ogg')
+ E << 'sound/effects/hyperspace_progress.ogg'
enterTransit()
mode = SHUTTLE_ESCAPE
timer = world.time
@@ -218,7 +218,7 @@
M.dock(shuttle_master.getDock("[M.id]_away"))
//now move the actual emergency shuttle to centcomm
for(var/area/shuttle/escape/E in world)
- to_chat(E, 'sound/effects/hyperspace_end.ogg')
+ E << 'sound/effects/hyperspace_end.ogg'
dock(shuttle_master.getDock("emergency_away"))
mode = SHUTTLE_ENDGAME
timer = 0
diff --git a/code/modules/surgery/organs/organ_internal.dm b/code/modules/surgery/organs/organ_internal.dm
index 1794a896207..248da9d1154 100644
--- a/code/modules/surgery/organs/organ_internal.dm
+++ b/code/modules/surgery/organs/organ_internal.dm
@@ -463,7 +463,7 @@
owner.stuttering = 20
owner.ear_deaf = 30
owner.Weaken(3)
- to_chat(owner, 'sound/items/AirHorn.ogg')
+ owner << 'sound/items/AirHorn.ogg'
if(prob(30))
owner.Stun(10)
owner.Paralyse(4)
diff --git a/code/world.dm b/code/world.dm
index 5ccf544ed59..4c6451d6860 100644
--- a/code/world.dm
+++ b/code/world.dm
@@ -180,7 +180,7 @@ var/world_topic_spam_protect_time = world.timeofday
C.received_irc_pm = world.time
C.irc_admin = input["sender"]
- to_chat(C, 'sound/effects/adminhelp.ogg')
+ C << 'sound/effects/adminhelp.ogg'
to_chat(C, message)
for(var/client/A in admins)