send sound

This commit is contained in:
silicons
2021-02-15 05:19:52 -07:00
parent e0fe8e2c3c
commit b0dc769069
23 changed files with 73 additions and 73 deletions

View File

@@ -168,7 +168,7 @@
SSticker.mode:explosion_in_progress = 1 SSticker.mode:explosion_in_progress = 1
for(var/mob/M in world) for(var/mob/M in world)
if(M.client) if(M.client)
M << 'sound/machines/Alarm.ogg' SEND_SOUND(M, sound('sound/machines/Alarm'))
to_chat(world, "<span class='notice'><b>Incoming missile detected.. Impact in 10..</b></span>") to_chat(world, "<span class='notice'><b>Incoming missile detected.. Impact in 10..</b></span>")
for (var/i=9 to 1 step -1) for (var/i=9 to 1 step -1)
sleep(10) sleep(10)

View File

@@ -23,7 +23,7 @@
copied = AM copied = AM
update_icon() update_icon()
to_chat(user, "<span class='notice'>You've copied \the [AM]'s appearance.</span>") to_chat(user, "<span class='notice'>You've copied \the [AM]'s appearance.</span>")
user << 'sound/weapons/flash.ogg' SEND_SOUND(user, sound('sound/weapons/flash'))
return 1 return 1
else if(istype(hit_atom, /turf)) else if(istype(hit_atom, /turf))
var/turf/T = hit_atom var/turf/T = hit_atom
@@ -34,7 +34,7 @@
illusion = new(T) illusion = new(T)
illusion.copy_appearance(copied) illusion.copy_appearance(copied)
to_chat(user, "<span class='notice'>An illusion of \the [copied] is made on \the [T].</span>") to_chat(user, "<span class='notice'>An illusion of \the [copied] is made on \the [T].</span>")
user << 'sound/effects/pop.ogg' SEND_SOUND(user, sound('sound/effects/pop'))
return 1 return 1
else else
if(pay_energy(100)) if(pay_energy(100))

View File

@@ -267,7 +267,7 @@
else else
var/mob/selected = find_dead_player("[C.ckey]") var/mob/selected = find_dead_player("[C.ckey]")
selected << 'sound/machines/chime.ogg' //probably not the best sound but I think it's reasonable SEND_SOUND(selected, sound('sound/machines/chime')) //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") var/answer = alert(selected,"Do you want to return to life?","Cloning","Yes","No")
if(answer != "No" && pod.growclone(C)) if(answer != "No" && pod.growclone(C))
temp = "Initiating cloning cycle..." temp = "Initiating cloning cycle..."

View File

@@ -31,7 +31,7 @@ proc/empulse(turf/epicenter, first_range, second_range, third_range, fourth_rang
fourth_range = third_range fourth_range = third_range
for(var/mob/M in range(first_range, epicenter)) for(var/mob/M in range(first_range, epicenter))
M << 'sound/effects/EMPulse.ogg' SEND_SOUND(M, sound('sound/effects/EMPulse'))
for(var/atom/T in range(fourth_range, epicenter)) for(var/atom/T in range(fourth_range, epicenter))
#ifdef EMPDEBUG #ifdef EMPDEBUG
@@ -71,4 +71,4 @@ proc/empulse(turf/epicenter, first_range, second_range, third_range, fourth_rang
if((world.timeofday - time) >= EMPDEBUG) if((world.timeofday - time) >= EMPDEBUG)
log_and_message_admins("EMPDEBUG: [T.name] - [T.type] - took [world.timeofday - time]ds to process emp_act()!") log_and_message_admins("EMPDEBUG: [T.name] - [T.type] - took [world.timeofday - time]ds to process emp_act()!")
#endif #endif
return 1 return 1

View File

@@ -57,11 +57,11 @@ proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impa
if(!istype(M.loc,/turf/space)) if(!istype(M.loc,/turf/space))
if(creaking_explosion) if(creaking_explosion)
if(prob(65)) if(prob(65))
M << 'sound/effects/explosioncreak1.ogg' SEND_SOUND(M, sound('sound/effects/explosioncreak1'))
else else
M << 'sound/effects/explosioncreak2.ogg' SEND_SOUND(M, sound('sound/effects/explosioncreak2'))
else else
M << 'sound/effects/explosionfar.ogg' SEND_SOUND(M, sound('sound/effects/explosionfar'))
if(creaking_explosion) if(creaking_explosion)
addtimer(CALLBACK(M, /mob/proc/playsound_local, epicenter, null, rand(25, 40), 1, frequency, null, null, FALSE, 'sound/effects/creak1.ogg', null, null, null, null, 0), 5 SECONDS) addtimer(CALLBACK(M, /mob/proc/playsound_local, epicenter, null, rand(25, 40), 1, frequency, null, null, FALSE, 'sound/effects/creak1.ogg', null, null, null, null, 0), 5 SECONDS)

View File

@@ -95,22 +95,22 @@
switch(new_state) switch(new_state)
if(PROXIMITY_OFF_CAMERANET) if(PROXIMITY_OFF_CAMERANET)
to_chat(carrier, "<span class='notice'>[icon2html(thing = src, target = carrier)] Now outside of camera network.</span>") to_chat(carrier, "<span class='notice'>[icon2html(thing = src, target = carrier)] Now outside of camera network.</span>")
carrier << 'sound/machines/defib_failed.ogg' SEND_SOUND(carrier, sound('sound/machines/defib_failed'))
if(PROXIMITY_NONE) if(PROXIMITY_NONE)
to_chat(carrier, "<span class='notice'>[icon2html(thing = src, target = carrier)] Now within camera network, AI and cameras unfocused.</span>") to_chat(carrier, "<span class='notice'>[icon2html(thing = src, target = carrier)] Now within camera network, AI and cameras unfocused.</span>")
carrier << 'sound/machines/defib_safetyOff.ogg' SEND_SOUND(carrier, sound('sound/machines/defib_safetyOff'))
if(PROXIMITY_NEAR) if(PROXIMITY_NEAR)
to_chat(carrier, "<span class='warning'>[icon2html(thing = src, target = carrier)] Warning: AI focus at nearby location.</span>") to_chat(carrier, "<span class='warning'>[icon2html(thing = src, target = carrier)] Warning: AI focus at nearby location.</span>")
carrier << 'sound/machines/defib_SafetyOn.ogg' SEND_SOUND(carrier, sound('sound/machines/defib_SafetyOn'))
if(PROXIMITY_ON_SCREEN) if(PROXIMITY_ON_SCREEN)
to_chat(carrier, "<font size='3'><span class='danger'>[icon2html(thing = src, target = carrier)] Alert: AI or camera focused at current location!</span></font>") to_chat(carrier, "<font size='3'><span class='danger'>[icon2html(thing = src, target = carrier)] Alert: AI or camera focused at current location!</span></font>")
carrier <<'sound/machines/defib_ready.ogg' SEND_SOUND(carrier, sound('sound/machines/defib_ready'))
if(PROXIMITY_TRACKING) if(PROXIMITY_TRACKING)
to_chat(carrier, "<font size='3'><span class='danger'>[icon2html(thing = src, target = carrier)] Danger: AI is actively tracking you!</span></font>") to_chat(carrier, "<font size='3'><span class='danger'>[icon2html(thing = src, target = carrier)] Danger: AI is actively tracking you!</span></font>")
carrier << 'sound/machines/defib_success.ogg' SEND_SOUND(carrier, sound('sound/machines/defib_success'))
if(PROXIMITY_TRACKING_FAIL) if(PROXIMITY_TRACKING_FAIL)
to_chat(carrier, "<font size='3'><span class='danger'>[icon2html(thing = src, target = carrier)] Danger: AI is attempting to actively track you, but you are outside of the camera network!</span></font>") to_chat(carrier, "<font size='3'><span class='danger'>[icon2html(thing = src, target = carrier)] Danger: AI is attempting to actively track you, but you are outside of the camera network!</span></font>")
carrier <<'sound/machines/defib_ready.ogg' SEND_SOUND(carrier, sound('sound/machines/defib_ready'))
#undef PROXIMITY_OFF_CAMERANET #undef PROXIMITY_OFF_CAMERANET

View File

@@ -36,7 +36,7 @@
return return
to_chat(src, "<span class='notice'>[icon2html(thing = origin_atom, target = src)] Receiving communicator request from [origin_atom]. To answer, use the <b>Call Communicator</b> \ to_chat(src, "<span class='notice'>[icon2html(thing = origin_atom, target = src)] Receiving communicator request from [origin_atom]. To answer, use the <b>Call Communicator</b> \
verb, and select that name to answer the call.</span>") verb, and select that name to answer the call.</span>")
src << 'sound/machines/defib_SafetyOn.ogg' SEND_SOUND(src, sound('sound/machines/defib_SafetyOn'))
comm.voice_invites |= src comm.voice_invites |= src
if(message == "ping") if(message == "ping")
if(client && client.prefs.communicator_visibility) if(client && client.prefs.communicator_visibility)
@@ -45,7 +45,7 @@
exonet.send_message(origin_address, "64 bytes received from [exonet.address] ecmp_seq=1 ttl=51 time=[random] ms") exonet.send_message(origin_address, "64 bytes received from [exonet.address] ecmp_seq=1 ttl=51 time=[random] ms")
if(message == "text") if(message == "text")
to_chat(src, "<span class='notice'>[icon2html(thing = origin_atom, target = src)] Received text message from [origin_atom]: <b>\"[text]\"</b></span>") to_chat(src, "<span class='notice'>[icon2html(thing = origin_atom, target = src)] Received text message from [origin_atom]: <b>\"[text]\"</b></span>")
src << 'sound/machines/defib_safetyOff.ogg' SEND_SOUND(src, sound('sound/machines/defib_safetyOff'))
exonet_messages.Add("<b>From [origin_atom]:</b><br>[text]") exonet_messages.Add("<b>From [origin_atom]:</b><br>[text]")
return return

View File

@@ -1074,7 +1074,7 @@ var/list/admin_verbs_event_manager = list(
for (var/mob/T as mob in mob_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 along.</span></center><br>") to_chat(T, "<br><center><span class='notice'><b><font size=4>Man up.<br> Deal with it.</font></b><br>Move along.</span></center><br>")
T << 'sound/voice/ManUp1.ogg' SEND_SOUND(T, sound('sound/voice/ManUp1'))
log_admin("[key_name(usr)] told everyone to man up and deal with it.") log_admin("[key_name(usr)] told everyone to man up and deal with it.")
message_admins("<font color='blue'>[key_name_admin(usr)] told everyone to man up and deal with it.</font>", 1) message_admins("<font color='blue'>[key_name_admin(usr)] told everyone to man up and deal with it.</font>", 1)

View File

@@ -255,7 +255,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
for(var/client/X in admins) for(var/client/X in admins)
if(X.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping)) if(X.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
X << 'sound/effects/adminhelp.ogg' SEND_SOUND(X, sound('sound/effects/adminhelp'))
window_flash(X) window_flash(X)
to_chat(X, chat_msg) to_chat(X, chat_msg)
@@ -342,7 +342,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
if(initiator) if(initiator)
if(initiator.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping)) if(initiator.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
initiator << 'sound/effects/adminhelp.ogg' SEND_SOUND(initiator, sound('sound/effects/adminhelp'))
to_chat(initiator, "<font color='red' size='4'><b>- AdminHelp Rejected! -</b></font>") to_chat(initiator, "<font color='red' size='4'><b>- AdminHelp Rejected! -</b></font>")
to_chat(initiator, "<font color='red'><b>Your admin help was rejected.</b></font>") to_chat(initiator, "<font color='red'><b>Your admin help was rejected.</b></font>")

View File

@@ -164,7 +164,7 @@
//play the recieving admin the adminhelp sound (if they have them enabled) //play the recieving admin the adminhelp sound (if they have them enabled)
if(recipient.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping)) if(recipient.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
recipient << 'sound/effects/adminhelp.ogg' SEND_SOUND(recipient, sound('sound/effects/adminhelp'))
else else
if(holder) //sender is an admin but recipient is not. Do BIG RED TEXT if(holder) //sender is an admin but recipient is not. Do BIG RED TEXT
@@ -179,7 +179,7 @@
admin_ticket_log(recipient, "<font color='blue'>PM From [key_name_admin(src)]: [keywordparsedmsg]</font>") admin_ticket_log(recipient, "<font color='blue'>PM From [key_name_admin(src)]: [keywordparsedmsg]</font>")
//always play non-admin recipients the adminhelp sound //always play non-admin recipients the adminhelp sound
recipient << 'sound/effects/adminhelp.ogg' SEND_SOUND(recipient, sound('sound/effects/adminhelp'))
//AdminPM popup for ApocStation and anybody else who wants to use it. Set it with POPUP_ADMIN_PM in config_legacy.txt ~Carn //AdminPM popup for ApocStation and anybody else who wants to use it. Set it with POPUP_ADMIN_PM in config_legacy.txt ~Carn
if(config_legacy.popup_admin_pm) if(config_legacy.popup_admin_pm)
@@ -264,7 +264,7 @@
window_flash(C) window_flash(C)
//always play non-admin recipients the adminhelp sound //always play non-admin recipients the adminhelp sound
C << 'sound/effects/adminhelp.ogg' SEND_SOUND(C, sound('sound/effects/adminhelp'))
C.ircreplyamount = IRCREPLYCOUNT C.ircreplyamount = IRCREPLYCOUNT

View File

@@ -23,7 +23,7 @@
if((R_ADMIN|R_MOD) & C.holder.rights) if((R_ADMIN|R_MOD) & C.holder.rights)
if(C.is_preference_enabled(/datum/client_preference/admin/show_chat_prayers)) if(C.is_preference_enabled(/datum/client_preference/admin/show_chat_prayers))
C << msg C << msg
C << 'sound/effects/ding.ogg' SEND_SOUND(C, sound('sound/effects/ding'))
to_chat(usr, "Your prayers have been received by the gods.") to_chat(usr, "Your prayers have been received by the gods.")
feedback_add_details("admin_verb","PR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! feedback_add_details("admin_verb","PR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -34,11 +34,11 @@
for(var/client/C in admins) for(var/client/C in admins)
if((R_ADMIN|R_MOD) & C.holder.rights) if((R_ADMIN|R_MOD) & C.holder.rights)
C << msg C << msg
C << 'sound/machines/signal.ogg' SEND_SOUND(C, sound('sound/machines/signal'))
/proc/Syndicate_announce(var/msg, var/mob/Sender) /proc/Syndicate_announce(var/msg, var/mob/Sender)
msg = "<font color='blue'><b><font color=crimson>ILLEGAL:</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>) ([admin_jump_link(Sender, null)]) (<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]</font>" msg = "<font color='blue'><b><font color=crimson>ILLEGAL:</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>) ([admin_jump_link(Sender, null)]) (<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]</font>"
for(var/client/C in admins) for(var/client/C in admins)
if((R_ADMIN|R_MOD) & C.holder.rights) if((R_ADMIN|R_MOD) & C.holder.rights)
C << msg C << msg
C << 'sound/machines/signal.ogg' SEND_SOUND(C, sound('sound/machines/signal'))

View File

@@ -126,7 +126,7 @@ obj/machinery/gateway/centerstation/process(delta_time)
if(!awaygate) return if(!awaygate) return
use_power(5000) use_power(5000)
M << 'sound/effects/phasein.ogg' SEND_SOUND(M, sound('sound/effects/phasein'))
playsound(src, 'sound/effects/phasein.ogg', 100, 1) playsound(src, 'sound/effects/phasein.ogg', 100, 1)
if(awaygate.calibrated) if(awaygate.calibrated)
M.forceMove(get_step(awaygate.loc, SOUTH)) M.forceMove(get_step(awaygate.loc, SOUTH))
@@ -243,7 +243,7 @@ obj/machinery/gateway/centerstation/process(delta_time)
return return
M.forceMove(get_step(stationgate.loc, SOUTH)) M.forceMove(get_step(stationgate.loc, SOUTH))
M.setDir(SOUTH) M.setDir(SOUTH)
M << 'sound/effects/phasein.ogg' SEND_SOUND(M, sound('sound/effects/phasein'))
playsound(src, 'sound/effects/phasein.ogg', 100, 1) playsound(src, 'sound/effects/phasein.ogg', 100, 1)

View File

@@ -515,7 +515,7 @@
for(var/mob/M in player_list) // For everyone else. for(var/mob/M in player_list) // For everyone else.
if(M.z == T.z && get_dist(M, T) > world.view && !M.ear_deaf && !istype(M.loc,/turf/space)) if(M.z == T.z && get_dist(M, T) > world.view && !M.ear_deaf && !istype(M.loc,/turf/space))
M << 'sound/effects/explosionfar.ogg' SEND_SOUND(M, sound('sound/effects/explosionfar'))
exploding = FALSE exploding = FALSE

View File

@@ -19,11 +19,11 @@
if(A.z in zLevels) if(A.z in zLevels)
A.gravitychange(gravity_is_on, A) A.gravitychange(gravity_is_on, A)
if(prob(50)) if(prob(50))
A << 'sound/effects/creak1.ogg' SEND_SOUND(A, sound('sound/effects/creak1'))
else if (prob(33)) else if (prob(33))
A << 'sound/effects/creak2.ogg' SEND_SOUND(A, sound('sound/effects/creak2'))
else else
A << 'sound/effects/creak3.ogg' SEND_SOUND(A, sound('sound/effects/creak3'))
/datum/event/gravity/end() /datum/event/gravity/end()

View File

@@ -69,7 +69,7 @@
to_chat(L, "<span class='danger'>The ground lurches beneath you!</span>") to_chat(L, "<span class='danger'>The ground lurches beneath you!</span>")
shake_camera(L, 6, 1) shake_camera(L, 6, 1)
if(!L.ear_deaf) if(!L.ear_deaf)
L << 'sound/effects/explosionfar.ogg' SEND_SOUND(L, sound('sound/effects/explosionfar'))
qdel(src) qdel(src)
/obj/structure/meteorite /obj/structure/meteorite
@@ -111,4 +111,4 @@
for(var/obj/O in src) for(var/obj/O in src)
O.forceMove(get_turf(src)) O.forceMove(get_turf(src))
qdel(src) qdel(src)
return return

View File

@@ -112,27 +112,27 @@ mob/living/carbon/proc/handle_hallucinations()
//Strange audio //Strange audio
//to_chat(src, "Strange Audio") //to_chat(src, "Strange Audio")
switch(rand(1,12)) switch(rand(1,12))
if(1) src << 'sound/machines/airlock.ogg' if(1) SEND_SOUND(src, sound('sound/machines/airlock'))
if(2) if(2)
if(prob(50))src << 'sound/effects/Explosion1.ogg' if(prob(50))SEND_SOUND(src, sound('sound/effects/Explosion1'))
else src << 'sound/effects/Explosion2.ogg' else SEND_SOUND(src, sound('sound/effects/Explosion2'))
if(3) src << 'sound/effects/explosionfar.ogg' if(3) SEND_SOUND(src, sound('sound/effects/explosionfar'))
if(4) src << 'sound/effects/Glassbr1.ogg' if(4) SEND_SOUND(src, sound('sound/effects/Glassbr1'))
if(5) src << 'sound/effects/Glassbr2.ogg' if(5) SEND_SOUND(src, sound('sound/effects/Glassbr2'))
if(6) src << 'sound/effects/Glassbr3.ogg' if(6) SEND_SOUND(src, sound('sound/effects/Glassbr3'))
if(7) src << 'sound/machines/twobeep.ogg' if(7) SEND_SOUND(src, sound('sound/machines/twobeep'))
if(8) src << 'sound/machines/windowdoor.ogg' if(8) SEND_SOUND(src, sound('sound/machines/windowdoor'))
if(9) if(9)
//To make it more realistic, I added two gunshots (enough to kill) //To make it more realistic, I added two gunshots (enough to kill)
src << 'sound/weapons/Gunshot1.ogg' SEND_SOUND(src, sound('sound/weapons/Gunshot1'))
spawn(rand(10,30)) spawn(rand(10,30))
src << 'sound/weapons/Gunshot2.ogg' SEND_SOUND(src, sound('sound/weapons/Gunshot2'))
if(10) src << 'sound/weapons/smash.ogg' if(10) SEND_SOUND(src, sound('sound/weapons/smash'))
if(11) if(11)
//Same as above, but with tasers. //Same as above, but with tasers.
src << 'sound/weapons/Taser.ogg' SEND_SOUND(src, sound('sound/weapons/Taser'))
spawn(rand(10,30)) spawn(rand(10,30))
src << 'sound/weapons/Taser.ogg' SEND_SOUND(src, sound('sound/weapons/Taser'))
//Rare audio //Rare audio
if(12) if(12)
//These sounds are (mostly) taken from Hidden: Source //These sounds are (mostly) taken from Hidden: Source

View File

@@ -246,27 +246,27 @@
//Strange audio //Strange audio
//to_chat(src, "Strange Audio") //to_chat(src, "Strange Audio")
switch(rand(1,12)) switch(rand(1,12))
if(1) src << 'sound/machines/airlock.ogg' if(1) SEND_SOUND(src, sound('sound/machines/airlock'))
if(2) if(2)
if(prob(50))src << 'sound/effects/Explosion1.ogg' if(prob(50))SEND_SOUND(src, sound('sound/effects/Explosion1'))
else src << 'sound/effects/Explosion2.ogg' else SEND_SOUND(src, sound('sound/effects/Explosion2'))
if(3) src << 'sound/effects/explosionfar.ogg' if(3) SEND_SOUND(src, sound('sound/effects/explosionfar'))
if(4) src << 'sound/effects/Glassbr1.ogg' if(4) SEND_SOUND(src, sound('sound/effects/Glassbr1'))
if(5) src << 'sound/effects/Glassbr2.ogg' if(5) SEND_SOUND(src, sound('sound/effects/Glassbr2'))
if(6) src << 'sound/effects/Glassbr3.ogg' if(6) SEND_SOUND(src, sound('sound/effects/Glassbr3'))
if(7) src << 'sound/machines/twobeep.ogg' if(7) SEND_SOUND(src, sound('sound/machines/twobeep'))
if(8) src << 'sound/machines/windowdoor.ogg' if(8) SEND_SOUND(src, sound('sound/machines/windowdoor'))
if(9) if(9)
//To make it more realistic, I added two gunshots (enough to kill) //To make it more realistic, I added two gunshots (enough to kill)
src << 'sound/weapons/Gunshot1.ogg' SEND_SOUND(src, sound('sound/weapons/Gunshot1'))
spawn(rand(10,30)) spawn(rand(10,30))
src << 'sound/weapons/Gunshot2.ogg' SEND_SOUND(src, sound('sound/weapons/Gunshot2'))
if(10) src << 'sound/weapons/smash.ogg' if(10) SEND_SOUND(src, sound('sound/weapons/smash'))
if(11) if(11)
//Same as above, but with tasers. //Same as above, but with tasers.
src << 'sound/weapons/Taser.ogg' SEND_SOUND(src, sound('sound/weapons/Taser'))
spawn(rand(10,30)) spawn(rand(10,30))
src << 'sound/weapons/Taser.ogg' SEND_SOUND(src, sound('sound/weapons/Taser'))
//Rare audio //Rare audio
if(12) if(12)
//These sounds are (mostly) taken from Hidden: Source //These sounds are (mostly) taken from Hidden: Source
@@ -373,7 +373,7 @@
if(stat || paralysis || stunned || weakened || lying || restrained() || buckled) if(stat || paralysis || stunned || weakened || lying || restrained() || buckled)
to_chat(src, "You cannot bite in your current state.") to_chat(src, "You cannot bite in your current state.")
return return
last_special = world.time + 600 last_special = world.time + 600
src.visible_message("<font color='red'><b>[src] leans in close to [B]...</b></font>") src.visible_message("<font color='red'><b>[src] leans in close to [B]...</b></font>")
@@ -397,7 +397,7 @@
H.drip(1) H.drip(1)
sleep(50) sleep(50)
H.drip(1) H.drip(1)
if(!B.bitten) // first time biting them if(!B.bitten) // first time biting them
src.nutrition += 300 src.nutrition += 300
B.nutrition -= 150 B.nutrition -= 150
@@ -410,7 +410,7 @@
B.apply_damage(15, BRUTE, BP_TORSO) // if they have nothing to give, this just harms them B.apply_damage(15, BRUTE, BP_TORSO) // if they have nothing to give, this just harms them
B.bitten = 1 //debuff tracking for balance B.bitten = 1 //debuff tracking for balance
else if(!istype(B,/mob/living/carbon) && src.isSynthetic() || istype(B,/mob/living/carbon) && B.isSynthetic() && src.isSynthetic()) // for synths to feed on robots and other synths else if(!istype(B,/mob/living/carbon) && src.isSynthetic() || istype(B,/mob/living/carbon) && B.isSynthetic() && src.isSynthetic()) // for synths to feed on robots and other synths
if(do_after(src, 50, B)) if(do_after(src, 50, B))
if(!Adjacent(B)) return if(!Adjacent(B)) return
src.visible_message("<font color='red'><b>[src] suddenly lunges at [B]!</b></font>") src.visible_message("<font color='red'><b>[src] suddenly lunges at [B]!</b></font>")
if(B.nutrition > 100) if(B.nutrition > 100)
@@ -419,7 +419,7 @@
if(B.nutrition < 100) if(B.nutrition < 100)
B.apply_damage(15, BRUTE, BP_TORSO) B.apply_damage(15, BRUTE, BP_TORSO)
else if(istype(B,/mob/living/silicon) && !istype(src,/mob/living/silicon)) else if(istype(B,/mob/living/silicon) && !istype(src,/mob/living/silicon))
if(do_after(src, 50, B)) if(do_after(src, 50, B))
to_chat(src, "You don't sense any viable blood...") to_chat(src, "You don't sense any viable blood...")

View File

@@ -49,7 +49,7 @@
if(prob(speak_chance)) if(prob(speak_chance))
for(var/mob/M in view()) for(var/mob/M in view())
M << 'sound/effects/mouse_squeak.ogg' SEND_SOUND(M, sound('sound/effects/mouse_squeak'))
if(!resting && prob(0.5)) if(!resting && prob(0.5))
lay_down() lay_down()
@@ -97,7 +97,7 @@
if(!stat) if(!stat)
var/mob/M = AM var/mob/M = AM
M.visible_message("<font color='blue'>[icon2html(thing = src, target = world)] Squeek!</font>") M.visible_message("<font color='blue'>[icon2html(thing = src, target = world)] Squeek!</font>")
M << 'sound/effects/mouse_squeak.ogg' SEND_SOUND(M, sound('sound/effects/mouse_squeak'))
..() ..()
/mob/living/simple_mob/mouse/death() /mob/living/simple_mob/mouse/death()

View File

@@ -69,7 +69,7 @@
return //do not send ghosts, zshadows, ai eyes, etc return //do not send ghosts, zshadows, ai eyes, etc
var/obj/effect/landmark/dest = pick(eventdestinations) var/obj/effect/landmark/dest = pick(eventdestinations)
if(dest) if(dest)
M << 'sound/effects/phasein.ogg' SEND_SOUND(M, sound('sound/effects/phasein'))
playsound(src, 'sound/effects/phasein.ogg', 100, 1) playsound(src, 'sound/effects/phasein.ogg', 100, 1)
M.forceMove(dest.loc) M.forceMove(dest.loc)
return return

View File

@@ -207,7 +207,7 @@ var/list/adminfaxes = list() //cache for faxes that have been sent to admins
for(var/client/C in admins) for(var/client/C in admins)
if(check_rights((R_ADMIN|R_MOD),0,C)) if(check_rights((R_ADMIN|R_MOD),0,C))
C << msg C << msg
C << 'sound/machines/printer.ogg' SEND_SOUND(C, sound('sound/machines/printer'))
// VoreStation Edit Start // VoreStation Edit Start
var/faxid = export_fax(sent) var/faxid = export_fax(sent)

View File

@@ -219,7 +219,7 @@
global_announcer.autosay("DANGER: SUPERMATTER CRYSTAL DEGRADATION IN PROGRESS! INTEGRITY AT [integrity]%", "Supermatter Monitor") global_announcer.autosay("DANGER: SUPERMATTER CRYSTAL DEGRADATION IN PROGRESS! INTEGRITY AT [integrity]%", "Supermatter Monitor")
for(var/mob/M in player_list) for(var/mob/M in player_list)
if(!istype(M,/mob/new_player) && !isdeaf(M)) if(!istype(M,/mob/new_player) && !isdeaf(M))
M << 'sound/ambience/engine_alert2.ogg' SEND_SOUND(M, sound('sound/ambience/engine_alert2'))
else if(safe_warned && public_alert) else if(safe_warned && public_alert)
global_announcer.autosay(alert_msg, "Supermatter Monitor") global_announcer.autosay(alert_msg, "Supermatter Monitor")
public_alert = 0 public_alert = 0

View File

@@ -552,7 +552,7 @@
if(istype(mob, /mob/living/carbon/human)) if(istype(mob, /mob/living/carbon/human))
var/mob/living/carbon/human/H = mob var/mob/living/carbon/human/H = mob
to_chat(H, "<span class='notice'>You hear an awful ringing in your ears.</span>") to_chat(H, "<span class='notice'>You hear an awful ringing in your ears.</span>")
H << 'sound/weapons/flash.ogg' SEND_SOUND(H, sound('sound/weapons/flash'))
/datum/disease2/effect/vomiting /datum/disease2/effect/vomiting
name = "Vomiting" name = "Vomiting"

View File

@@ -160,7 +160,7 @@
L.drop_from_inventory(I, loc) L.drop_from_inventory(I, loc)
L.Paralyse(10) L.Paralyse(10)
L.forceMove(get_turf(pick(teleport_to))) L.forceMove(get_turf(pick(teleport_to)))
L << 'sound/effects/bamf.ogg' SEND_SOUND(L, sound('sound/effects/bamf'))
to_chat(L,"<span class='warning'>You're starting to come to. You feel like you've been out for a few minutes, at least...</span>") to_chat(L,"<span class='warning'>You're starting to come to. You feel like you've been out for a few minutes, at least...</span>")
/area/tether_away/alienship /area/tether_away/alienship