This commit is contained in:
PJB3005
2016-03-27 23:45:00 +02:00
parent a237603f98
commit 8eb24bfec0
16 changed files with 23 additions and 21 deletions

View File

@@ -211,7 +211,7 @@ var/list/alldepartments = list("Central Command")
C << output(msg, "window1.msay_output")//if i get told to make this a proc imma be fuckin mad
else
to_chat(C, msg)
to_chat(C, 'sound/effects/fax.ogg')
C << 'sound/effects/fax.ogg'
proc/SendFax(var/sent, var/sentname, var/mob/Sender, var/dpt, var/centcomm)

View File

@@ -212,7 +212,7 @@ You should now be able to use your Explode verb to interface with the nuclear fi
AI_mind.current.verbs -= /datum/game_mode/malfunction/proc/ai_win
ticker.mode:explosion_in_progress = 1
for(var/mob/M in player_list)
if(M.client) to_chat(M, 'sound/machines/Alarm.ogg')
if(M.client) M << 'sound/machines/Alarm.ogg'
to_chat(world, "<span class='danger'>Self-destruction signal received. Self-destructing in 10...</span>")
for (var/i=9 to 1 step -1)
sleep(10)

View File

@@ -34,7 +34,7 @@ proc/empulse(turf/epicenter, heavy_range, light_range, log=0)
if(M_turf && M_turf.z == epicenter.z)
var/dist = cheap_pythag(M_turf.x - x0, M_turf.y - y0)
if(dist <= round(heavy_range + world.view - 2, 1))
to_chat(M, 'sound/effects/EMPulse.ogg')
M << 'sound/effects/EMPulse.ogg'
for(var/turf/T in spiral_block(epicenter,max_range))
var/dist = cheap_pythag(T.x - x0, T.y - y0)

View File

@@ -96,7 +96,7 @@ var/explosion_shake_message_cooldown = 0
for(var/mob/M in mob_list) 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(adminlog)
message_admins("Explosion with size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ([epicenter.x],[epicenter.y],[epicenter.z]) (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[epicenter.x];Y=[epicenter.y];Z=[epicenter.z]'>JMP</A>)")
log_game("Explosion with size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ")

View File

@@ -151,7 +151,7 @@
if(target.mind && !target.client) //Let's call up the ghost! Also, bodies with clients only, thank you.
for(var/mob/dead/observer/ghost in player_list)
if(ghost.mind == target.mind && ghost.client && ghost.can_reenter_corpse)
to_chat(ghost, 'sound/effects/adminhelp.ogg')
ghost << 'sound/effects/adminhelp.ogg'
to_chat(ghost, "<span class='interface'><b><font size = 3>Someone is trying to revive your body. Return to it if you want to be resurrected!</b> \
(Verbs -> Ghost -> Re-enter corpse, or <a href='?src=\ref[ghost];reentercorpse=1'>click here!</a>)</font></span>")
to_chat(user, "<span class='warning'>[src] buzzes: Defibrillation failed. Vital signs are too weak, please try again in five seconds.</span>")

View File

@@ -349,7 +349,7 @@
M.show_message("<span class='warning'>You hear a roar as the crematorium activates.</span>", 1)
else
M.show_message("<span class='notice'>You hear chewing as the crematorium consumes its meal.</span>", 1)
to_chat(M, 'sound/items/eatfood.ogg')
M << 'sound/items/eatfood.ogg'
locked = 1
cremating = 1

View File

@@ -910,7 +910,7 @@ var/list/admin_verbs_mod = list(
for (var/mob/T as mob in mob_list)
to_chat(T, "<br><center><span class='notice'><b><font size=4>Man up.<br> Deal with it.</font></b><br>Move on.</span></center><br>")
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("<span class='notice'>[key_name_admin(usr)] told everyone to man up and deal with it.</span>", 1)

View File

@@ -96,7 +96,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
if(X.is_afk())
admin_number_afk++
if(X.prefs.toggles & SOUND_ADMINHELP)
to_chat(X, 'sound/effects/adminhelp.ogg')
X << 'sound/effects/adminhelp.ogg'
if(X.prefs.special_popup)
X << output(msg, "window1.msay_output")
else

View File

@@ -131,7 +131,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.toggles & SOUND_ADMINHELP)
to_chat(C, 'sound/effects/adminhelp.ogg')
C << 'sound/effects/adminhelp.ogg'
/*
if(C.holder)
@@ -149,7 +149,7 @@
//play the recieving admin the adminhelp sound (if they have them enabled)
if(C.prefs.toggles & SOUND_ADMINHELP)
to_chat(C, 'sound/effects/adminhelp.ogg')
C << 'sound/effects/adminhelp.ogg'
else
if(holder) //sender is an admin but recipient is not. Do BIG RED TEXT
@@ -164,7 +164,7 @@
to_chat(src, "<font color='blue'>Admin PM to-<b>[key_name(C, src, 1)]</b>: [msg]</font>")
//always play non-admin recipients the adminhelp sound
to_chat(C, 'sound/effects/adminhelp.ogg')
C << 'sound/effects/adminhelp.ogg'
//AdminPM popup for ApocStation and anybody else who wants to use it. Set it with POPUP_ADMIN_PM in config.txt ~Carn
if(config.popup_admin_pm)

View File

@@ -74,7 +74,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()

View File

@@ -28,7 +28,7 @@
C << output(msg, "window1.msay_output")//if i get told to make this a proc imma be fuckin mad
else
to_chat(C, msg)
to_chat(C, 'sound/effects/prayer.ogg')
C << 'sound/effects/prayer.ogg'
if(!stat)
usr.whisper(orig_message)
@@ -40,10 +40,10 @@
var/msg = copytext(sanitize(text), 1, MAX_MESSAGE_LEN)
msg = "<span class='notice'><b><font color=orange>CENTCOMM:</font>[key_name(Sender, 1)] (<A HREF='?_src_=holder;adminplayeropts=\ref[Sender]'>PP</A>) (<A HREF='?_src_=vars;Vars=\ref[Sender]'>VV</A>) (<A HREF='?_src_=holder;subtlemessage=\ref[Sender]'>SM</A>) (<A HREF='?_src_=holder;adminplayerobservejump=\ref[Sender]'>JMP</A>) (<A HREF='?_src_=holder;secretsadmin=check_antagonist'>CA</A>) (<A HREF='?_src_=holder;BlueSpaceArtillery=\ref[Sender]'>BSA</A>) (<A HREF='?_src_=holder;CentcommReply=\ref[Sender]'>RPLY</A>):</b> [msg]</span>"
to_chat(admins, msg)
to_chat(admins, 'sound/effects/msn.ogg')
admins << 'sound/effects/msn.ogg'
/proc/Syndicate_announce(var/text , var/mob/Sender)
var/msg = copytext(sanitize(text), 1, MAX_MESSAGE_LEN)
msg = "<span class='notice'><b><font color=crimson>SYNDICATE:</font>[key_name(Sender, 1)] (<A HREF='?_src_=holder;adminplayeropts=\ref[Sender]'>PP</A>) (<A HREF='?_src_=vars;Vars=\ref[Sender]'>VV</A>) (<A HREF='?_src_=holder;subtlemessage=\ref[Sender]'>SM</A>) (<A HREF='?_src_=holder;adminplayerobservejump=\ref[Sender]'>JMP</A>) (<A HREF='?_src_=holder;secretsadmin=check_antagonist'>CA</A>) (<A HREF='?_src_=holder;BlueSpaceArtillery=\ref[Sender]'>BSA</A>) (<A HREF='?_src_=holder;SyndicateReply=\ref[Sender]'>RPLY</A>):</b> [msg]</span>"
to_chat(admins, msg)
to_chat(admins, 'sound/effects/inception.ogg')
admins << 'sound/effects/inception.ogg'

View File

@@ -30,7 +30,7 @@
if(M.client)
var/turf/T = get_turf(M)
if(T.z == z_level)
to_chat(M, 'sound/effects/bumpinthenight.ogg')
M << 'sound/effects/bumpinthenight.ogg'
var/location = pick(LOC_KITCHEN, LOC_ATMOS, LOC_INCIN, LOC_CHAPEL, LOC_LIBRARY, LOC_HYDRO, LOC_VAULT, LOC_TECH)
var/spawn_area_type

View File

@@ -379,7 +379,7 @@
if (!subject.client && subject.mind) //this guy ghosted from his corpse, but he can still come back!
for(var/mob/dead/observer/ghost in player_list)
if(ghost.mind == subject.mind && ghost.client && ghost.can_reenter_corpse)
to_chat(ghost, 'sound/effects/adminhelp.ogg')
ghost << 'sound/effects/adminhelp.ogg'
to_chat(ghost, "<span class='interface'><b><font size = 3>Someone is trying to clone your corpse. Return to your body if you want to be cloned!</b> \
(Verbs -> Ghost -> Re-enter corpse, or <a href='?src=\ref[ghost];reentercorpse=1'>click here!</a>)</font></span>")
scantemp = "Error: Subject's brain is not responding to scanning stimuli, subject may be brain dead. Please try again in five seconds."

View File

@@ -35,7 +35,7 @@
..()
if(!stat && prob(speak_chance))
for(var/mob/M in view())
to_chat(M, 'sound/effects/mousesqueek.ogg')
M << 'sound/effects/mousesqueek.ogg'
if(!ckey && stat == CONSCIOUS && prob(0.5))
stat = UNCONSCIOUS
@@ -143,7 +143,7 @@
if(!stat)
var/mob/M = AM
to_chat(M, "<span class='notice'>[bicon(src)] Squeek!</span>")
to_chat(M, 'sound/effects/mousesqueek.ogg')
M << 'sound/effects/mousesqueek.ogg'
..()
/mob/living/simple_animal/mouse/Die()

View File

@@ -159,7 +159,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
@@ -217,7 +217,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)

View File

@@ -256,4 +256,6 @@ For the main html chat area
C.chatOutput.messageQueue.Add(message)
return
message = replacetext(message, "\n", "<br>")
target << output(url_encode(message), "browseroutput:output")