mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Fixes Some Sounds Having Reverb (#15602)
* Fixes Some Sounds Having Reverb * typeless
This commit is contained in:
@@ -570,7 +570,7 @@ GLOBAL_LIST_INIT(do_after_once_tracker, list())
|
||||
log_admin("[key_name(usr)] attempted to use a mouse macro: [verbused] [params]")
|
||||
message_admins("[key_name_admin(usr)] attempted to use a mouse macro: [verbused] [html_encode(params)]")
|
||||
if(client.next_mouse_macro_warning < world.time) // Warn occasionally
|
||||
usr << 'sound/misc/sadtrombone.ogg'
|
||||
SEND_SOUND(usr, sound('sound/misc/sadtrombone.ogg'))
|
||||
client.next_mouse_macro_warning = world.time + 600
|
||||
/mob/verb/ClickSubstitute(params as command_text)
|
||||
set hidden = 1
|
||||
|
||||
@@ -76,7 +76,7 @@ SUBSYSTEM_DEF(afk)
|
||||
|
||||
/datum/controller/subsystem/afk/proc/warn(mob/living/carbon/human/H, text)
|
||||
to_chat(H, text)
|
||||
SEND_SOUND(H, 'sound/effects/adminhelp.ogg')
|
||||
SEND_SOUND(H, sound('sound/effects/adminhelp.ogg'))
|
||||
if(H.client)
|
||||
window_flash(H.client)
|
||||
|
||||
|
||||
@@ -59,11 +59,12 @@ SUBSYSTEM_DEF(ghost_spawns)
|
||||
|
||||
var/category = "[P.hash]_notify_action"
|
||||
|
||||
var/notice_sound = sound('sound/misc/notice2.ogg')
|
||||
for(var/mob/dead/observer/M in (ignore_respawnability ? GLOB.player_list : GLOB.respawnable_list))
|
||||
if(!is_eligible(M, role, antag_age_check, role, min_hours, check_antaghud))
|
||||
continue
|
||||
|
||||
SEND_SOUND(M, 'sound/misc/notice2.ogg')
|
||||
SEND_SOUND(M, notice_sound)
|
||||
if(flash_window)
|
||||
window_flash(M.client)
|
||||
|
||||
@@ -245,7 +246,7 @@ SUBSYSTEM_DEF(ghost_spawns)
|
||||
if(time_left() <= 0)
|
||||
if(!silent)
|
||||
to_chat(M, "<span class='danger'>Sorry, you were too late for the consideration!</span>")
|
||||
SEND_SOUND(M, 'sound/machines/buzz-sigh.ogg')
|
||||
SEND_SOUND(M, sound('sound/machines/buzz-sigh.ogg'))
|
||||
return
|
||||
|
||||
signed_up += M
|
||||
|
||||
@@ -142,8 +142,7 @@ SUBSYSTEM_DEF(tickets)
|
||||
|
||||
//Inform the user that they have opened a ticket
|
||||
to_chat(C, "<span class='[span_class]'>You have opened [ticket_name] number #[(getTicketCounter() - 1)]! Please be patient and we will help you soon!</span>")
|
||||
var/ticket_open_sound = sound('sound/effects/adminticketopen.ogg')
|
||||
SEND_SOUND(C, ticket_open_sound)
|
||||
SEND_SOUND(C, sound('sound/effects/adminticketopen.ogg'))
|
||||
|
||||
message_staff(url_title, NONE, TRUE)
|
||||
|
||||
@@ -245,8 +244,7 @@ SUBSYSTEM_DEF(tickets)
|
||||
if("Mentorhelp")
|
||||
convert_ticket(T)
|
||||
else
|
||||
var/msg_sound = sound('sound/effects/adminhelp.ogg')
|
||||
SEND_SOUND(returnClient(N), msg_sound)
|
||||
SEND_SOUND(returnClient(N), sound('sound/effects/adminhelp.ogg'))
|
||||
to_chat_safe(returnClient(N), "<span class='[span_class]'>[key_name_hidden(C)] is autoresponding with: <span/> <span class='adminticketalt'>[response_phrases[message_key]]</span>")//for this we want the full value of whatever key this is to tell the player so we do response_phrases[message_key]
|
||||
message_staff("[C] has auto responded to [ticket_owner]\'s adminhelp with:<span class='adminticketalt'> [message_key] </span>") //we want to use the short named keys for this instead of the full sentence which is why we just do message_key
|
||||
T.lastStaffResponse = "Autoresponse: [message_key]"
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
if(3)
|
||||
if(prob(10))
|
||||
to_chat(affected_mob, "<span class='danger'>Your thoughts are interrupted by a loud <b>HONK!</b></span>")
|
||||
affected_mob << 'sound/items/airhorn.ogg'
|
||||
SEND_SOUND(affected_mob, sound('sound/items/airhorn.ogg'))
|
||||
if(4)
|
||||
if(prob(5))
|
||||
affected_mob.say( pick( list("HONK!", "Honk!", "Honk.", "Honk?", "Honk!!", "Honk?!", "Honk...") ) )
|
||||
|
||||
+3
-3
@@ -912,7 +912,7 @@
|
||||
special_role = SPECIAL_ROLE_WIZARD
|
||||
//ticker.mode.learn_basic_spells(current)
|
||||
SSticker.mode.update_wiz_icons_added(src)
|
||||
SEND_SOUND(current, 'sound/ambience/antag/ragesmages.ogg')
|
||||
SEND_SOUND(current, sound('sound/ambience/antag/ragesmages.ogg'))
|
||||
to_chat(current, "<span class='danger'>You are a Space Wizard!</span>")
|
||||
current.faction = list("wizard")
|
||||
log_admin("[key_name(usr)] has wizarded [key_name(current)]")
|
||||
@@ -958,7 +958,7 @@
|
||||
SSticker.mode.grant_changeling_powers(current)
|
||||
SSticker.mode.update_change_icons_added(src)
|
||||
special_role = SPECIAL_ROLE_CHANGELING
|
||||
SEND_SOUND(current, 'sound/ambience/antag/ling_aler.ogg')
|
||||
SEND_SOUND(current, sound('sound/ambience/antag/ling_aler.ogg'))
|
||||
to_chat(current, "<B><font color='red'>Your powers have awoken. A flash of memory returns to us... we are a changeling!</font></B>")
|
||||
log_admin("[key_name(usr)] has changelinged [key_name(current)]")
|
||||
message_admins("[key_name_admin(usr)] has changelinged [key_name_admin(current)]")
|
||||
@@ -1003,7 +1003,7 @@
|
||||
slaved.masters += src
|
||||
som = slaved //we MIGT want to mindslave someone
|
||||
special_role = SPECIAL_ROLE_VAMPIRE
|
||||
SEND_SOUND(current, 'sound/ambience/antag/vampalert.ogg')
|
||||
SEND_SOUND(current, sound('sound/ambience/antag/vampalert.ogg'))
|
||||
to_chat(current, "<B><font color='red'>Your powers have awoken. Your lust for blood grows... You are a Vampire!</font></B>")
|
||||
log_admin("[key_name(usr)] has vampired [key_name(current)]")
|
||||
message_admins("[key_name_admin(usr)] has vampired [key_name_admin(current)]")
|
||||
|
||||
@@ -103,7 +103,7 @@ GLOBAL_LIST_EMPTY(blob_nodes)
|
||||
to_chat(blob.current, "<b>Find a good location to spawn the core and then take control and overwhelm the station!</b>")
|
||||
to_chat(blob.current, "<b>When you have found a location, wait until you spawn; this will happen automatically and you cannot speed up the process.</b>")
|
||||
to_chat(blob.current, "<b>If you go outside of the station level, or in space, then you will die; make sure your location has lots of ground to cover.</b>")
|
||||
SEND_SOUND(blob.current, 'sound/magic/mutate.ogg')
|
||||
SEND_SOUND(blob.current, sound('sound/magic/mutate.ogg'))
|
||||
return
|
||||
|
||||
/datum/game_mode/blob/proc/show_message(var/message)
|
||||
|
||||
@@ -131,7 +131,7 @@ GLOBAL_LIST_INIT(possible_changeling_IDs, list("Alpha","Beta","Gamma","Delta","E
|
||||
return
|
||||
|
||||
/datum/game_mode/proc/greet_changeling(datum/mind/changeling, you_are=1)
|
||||
SEND_SOUND(changeling.current, 'sound/ambience/antag/ling_aler.ogg')
|
||||
SEND_SOUND(changeling.current, sound('sound/ambience/antag/ling_aler.ogg'))
|
||||
if(you_are)
|
||||
to_chat(changeling.current, "<span class='danger'>You are a changeling!</span>")
|
||||
to_chat(changeling.current, "<span class='danger'>Use say \":g message\" to communicate with your fellow changelings. Remember: you get all of their absorbed DNA if you absorb them.</span>")
|
||||
|
||||
@@ -81,7 +81,7 @@ GLOBAL_LIST_EMPTY(all_cults)
|
||||
cult_objs.setup()
|
||||
|
||||
for(var/datum/mind/cult_mind in cult)
|
||||
SEND_SOUND(cult_mind.current, 'sound/ambience/antag/bloodcult.ogg')
|
||||
SEND_SOUND(cult_mind.current, sound('sound/ambience/antag/bloodcult.ogg'))
|
||||
to_chat(cult_mind.current, CULT_GREETING)
|
||||
equip_cultist(cult_mind.current)
|
||||
cult_mind.current.faction |= "cult"
|
||||
@@ -187,7 +187,7 @@ GLOBAL_LIST_EMPTY(all_cults)
|
||||
singlemutcheck(cult_mind.current, GLOB.clumsyblock, MUTCHK_FORCED)
|
||||
var/datum/action/innate/toggle_clumsy/A = new
|
||||
A.Grant(cult_mind.current)
|
||||
SEND_SOUND(cult_mind.current, 'sound/ambience/antag/bloodcult.ogg')
|
||||
SEND_SOUND(cult_mind.current, sound('sound/ambience/antag/bloodcult.ogg'))
|
||||
cult_mind.current.create_attack_log("<span class='danger'>Has been converted to the cult!</span>")
|
||||
cult_mind.current.create_log(CONVERSION_LOG, "converted to the cult")
|
||||
|
||||
@@ -220,7 +220,7 @@ GLOBAL_LIST_EMPTY(all_cults)
|
||||
for(var/datum/mind/M in cult)
|
||||
if(!M.current || !ishuman(M.current))
|
||||
continue
|
||||
SEND_SOUND(M.current, 'sound/hallucinations/i_see_you2.ogg')
|
||||
SEND_SOUND(M.current, sound('sound/hallucinations/i_see_you2.ogg'))
|
||||
to_chat(M.current, "<span class='cultlarge'>The veil weakens as your cult grows, your eyes begin to glow...</span>")
|
||||
addtimer(CALLBACK(src, .proc/rise, M.current), 20 SECONDS)
|
||||
|
||||
@@ -229,7 +229,7 @@ GLOBAL_LIST_EMPTY(all_cults)
|
||||
for(var/datum/mind/M in cult)
|
||||
if(!M.current || !ishuman(M.current))
|
||||
continue
|
||||
SEND_SOUND(M.current, 'sound/hallucinations/im_here1.ogg')
|
||||
SEND_SOUND(M.current, sound('sound/hallucinations/im_here1.ogg'))
|
||||
to_chat(M.current, "<span class='cultlarge'>Your cult is ascendant and the red harvest approaches - you cannot hide your true nature for much longer!")
|
||||
addtimer(CALLBACK(src, .proc/ascend, M.current), 20 SECONDS)
|
||||
GLOB.command_announcement.Announce("Picking up extradimensional activity related to the Cult of [SSticker.cultdat ? SSticker.cultdat.entity_name : "Nar'Sie"] from your station. Data suggests that about [ascend_percent * 100]% of the station has been converted. Security staff are authorized to use lethal force freely against cultists. Non-security staff should be prepared to defend themselves and their work areas from hostile cultists. Self defense permits non-security staff to use lethal force as a last resort, but non-security staff should be defending their work areas, not hunting down cultists. Dead crewmembers must be revived and deconverted once the situation is under control.", "Central Command Higher Dimensional Affairs", 'sound/AI/commandreport.ogg')
|
||||
|
||||
@@ -603,7 +603,7 @@ structure_check() searches for nearby cultist structures required for the invoca
|
||||
fail_invoke()
|
||||
return
|
||||
|
||||
SEND_SOUND(mob_to_revive, 'sound/ambience/antag/bloodcult.ogg')
|
||||
SEND_SOUND(mob_to_revive, sound('sound/ambience/antag/bloodcult.ogg'))
|
||||
to_chat(mob_to_revive, "<span class='cultlarge'>\"PASNAR SAVRAE YAM'TOTH. Arise.\"</span>")
|
||||
mob_to_revive.visible_message("<span class='warning'>[mob_to_revive] draws in a huge breath, red light shining from [mob_to_revive.p_their()] eyes.</span>", \
|
||||
"<span class='cultlarge'>You awaken suddenly from the void. You're alive!</span>")
|
||||
@@ -1001,7 +1001,7 @@ structure_check() searches for nearby cultist structures required for the invoca
|
||||
used = TRUE
|
||||
color = rgb(255, 0, 0)
|
||||
..()
|
||||
SEND_SOUND(world, 'sound/effects/dimensional_rend.ogg')
|
||||
SEND_SOUND(world, sound('sound/effects/dimensional_rend.ogg'))
|
||||
to_chat(world, "<span class='cultitalic'><b>The veil... <span class='big'>is...</span> <span class='reallybig'>TORN!!!--</span></b></span>")
|
||||
icon_state = "rune_large_distorted"
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
@@ -298,7 +298,7 @@ GLOBAL_LIST_INIT(lawlorify, list (
|
||||
if(!D)
|
||||
return
|
||||
to_chat(world, "<font size=5><span class='danger'>SLOTH, WRATH, GLUTTONY, ACEDIA, ENVY, GREED, PRIDE! FIRES OF HELL AWAKEN!!</span></font>")
|
||||
world << 'sound/hallucinations/veryfar_noise.ogg'
|
||||
SEND_SOUND(world, sound('sound/hallucinations/veryfar_noise.ogg'))
|
||||
sleep(50)
|
||||
if(!SSticker.mode.devil_ascended)
|
||||
SSshuttle.emergency.request(null, 0.3)
|
||||
|
||||
@@ -318,8 +318,9 @@
|
||||
announced = max(0, announced-1)
|
||||
|
||||
/obj/machinery/doomsday_device/proc/detonate(z_level = 1)
|
||||
for(var/mob/M in GLOB.player_list)
|
||||
M << 'sound/machines/alarm.ogg'
|
||||
var/doomsday_alarm = sound('sound/machines/alarm.ogg')
|
||||
for(var/explodee in GLOB.player_list)
|
||||
SEND_SOUND(explodee, doomsday_alarm)
|
||||
sleep(100)
|
||||
for(var/mob/living/L in GLOB.mob_list)
|
||||
var/turf/T = get_turf(L)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
player_mind.special_role = SPECIAL_ROLE_MORPH
|
||||
SSticker.mode.traitors |= player_mind
|
||||
to_chat(S, S.playstyle_string)
|
||||
S << 'sound/magic/mutate.ogg'
|
||||
SEND_SOUND(S, sound('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.")
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
|
||||
/mob/living/simple_animal/revenant/proc/giveObjectivesandGoals()
|
||||
mind.wipe_memory()
|
||||
SEND_SOUND(src, 'sound/effects/ghost.ogg')
|
||||
SEND_SOUND(src, sound('sound/effects/ghost.ogg'))
|
||||
to_chat(src, "<br>")
|
||||
to_chat(src, "<span class='deadsay'><font size=3><b>You are a revenant.</b></font></span>")
|
||||
to_chat(src, "<b>Your formerly mundane spirit has been infused with alien energies and empowered into a revenant.</b>")
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
if(mind)
|
||||
to_chat(src, src.playstyle_string)
|
||||
to_chat(src, "<B><span class ='notice'>You are not currently in the same plane of existence as the station. Use the blood crawl action at a blood pool to manifest.</span></B>")
|
||||
src << 'sound/misc/demon_dies.ogg'
|
||||
SEND_SOUND(src, sound('sound/misc/demon_dies.ogg'))
|
||||
if(!(vialspawned))
|
||||
var/datum/objective/slaughter/objective = new
|
||||
var/datum/objective/demonFluff/fluffObjective = new
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
|
||||
|
||||
/datum/game_mode/proc/greet_syndicate(var/datum/mind/syndicate, var/you_are=1)
|
||||
SEND_SOUND(syndicate.current, 'sound/ambience/antag/ops.ogg')
|
||||
SEND_SOUND(syndicate.current, sound('sound/ambience/antag/ops.ogg'))
|
||||
if(you_are)
|
||||
to_chat(syndicate.current, "<span class='notice'>You are a [syndicate_name()] agent!</span>")
|
||||
var/obj_count = 1
|
||||
|
||||
@@ -60,7 +60,7 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective)
|
||||
/datum/objective/proc/on_target_cryo()
|
||||
if(owner?.current)
|
||||
to_chat(owner.current, "<BR><span class='userdanger'>You get the feeling your target is no longer within reach. Time for Plan [pick("A","B","C","D","X","Y","Z")]. Objectives updated!</span>")
|
||||
SEND_SOUND(owner.current, 'sound/ambience/alarm4.ogg')
|
||||
SEND_SOUND(owner.current, sound('sound/ambience/alarm4.ogg'))
|
||||
target = null
|
||||
INVOKE_ASYNC(src, .proc/post_target_cryo)
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ Made by Xhuis
|
||||
var/shadow_nag_messages = list("You can barely hold yourself in this lesser form!", "The urge to become something greater is overwhelming!", "You feel a burning passion to hatch free of this shell and assume godhood!")
|
||||
H.take_overall_damage(0, 3)
|
||||
to_chat(H, "<span class='userdanger'>[pick(shadow_nag_messages)]</span>")
|
||||
H << 'sound/weapons/sear.ogg'
|
||||
SEND_SOUND(H, sound('sound/weapons/sear.ogg'))
|
||||
|
||||
if(shadows_alive)
|
||||
return ..()
|
||||
|
||||
@@ -462,7 +462,7 @@
|
||||
else if(issilicon(target))
|
||||
var/mob/living/silicon/S = target
|
||||
to_chat(S, "<span class='warning'><b>ERROR $!(@ ERROR )#^! SENSORY OVERLOAD \[$(!@#</b></span>")
|
||||
S << 'sound/misc/interference.ogg'
|
||||
SEND_SOUND(S, sound('sound/misc/interference.ogg'))
|
||||
playsound(S, 'sound/machines/warning-buzzer.ogg', 50, 1)
|
||||
do_sparks(5, 1, S)
|
||||
S.Weaken(6)
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
/datum/game_mode/proc/greet_vampire(var/datum/mind/vampire, var/you_are=1)
|
||||
var/dat
|
||||
if(you_are)
|
||||
SEND_SOUND(vampire.current, 'sound/ambience/antag/vampalert.ogg')
|
||||
SEND_SOUND(vampire.current, sound('sound/ambience/antag/vampalert.ogg'))
|
||||
dat = "<span class='danger'>You are a Vampire!</span><br>"
|
||||
dat += {"To bite someone, target the head and use harm intent with an empty hand. Drink blood to gain new powers.
|
||||
You are weak to holy things and starlight. Don't go into space and avoid the Chaplain, the chapel and especially Holy Water."}
|
||||
|
||||
@@ -826,7 +826,7 @@ GLOBAL_LIST_EMPTY(multiverse)
|
||||
GiveHint(target)
|
||||
else if(istype(I,/obj/item/bikehorn))
|
||||
to_chat(target, "<span class='userdanger'>HONK</span>")
|
||||
target << 'sound/items/airhorn.ogg'
|
||||
SEND_SOUND(target, sound('sound/items/airhorn.ogg'))
|
||||
target.AdjustEarDamage(0, 3)
|
||||
GiveHint(target)
|
||||
cooldown = world.time +cooldown_time
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
player_mob = ghost
|
||||
var/client/player_client = player_mob.client
|
||||
to_chat(player_mob, "<span class='warning'>[user] is trying to capture your soul into [src]! Click the button in the top right of the game window to respond.</span>")
|
||||
player_client << 'sound/misc/notice2.ogg'
|
||||
SEND_SOUND(player_client, sound('sound/misc/notice2.ogg'))
|
||||
window_flash(player_client)
|
||||
|
||||
var/obj/screen/alert/notify_soulstone/A = player_mob.throw_alert("\ref[src]_soulstone_thingy", /obj/screen/alert/notify_soulstone)
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
if(!istype(victim) || !victim.client)
|
||||
return
|
||||
to_chat(victim, "<span class='reallybig redtext'>RIP AND TEAR</span>")
|
||||
victim << 'sound/misc/e1m1.ogg'
|
||||
SEND_SOUND(victim, sound('sound/misc/e1m1.ogg'))
|
||||
var/old_color = victim.client.color
|
||||
var/red_splash = list(1,0,0,0.8,0.2,0, 0.8,0,0.2,0.1,0,0)
|
||||
var/pure_red = list(0,0,0,0,0,0,0,0,0,1,0,0)
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
if(heavy_range > light_range)
|
||||
light_range = heavy_range
|
||||
|
||||
var/emp_sound = sound('sound/effects/empulse.ogg')
|
||||
for(var/mob/M in range(heavy_range, epicenter))
|
||||
M << 'sound/effects/empulse.ogg'
|
||||
SEND_SOUND(M, emp_sound)
|
||||
for(var/atom/T in range(light_range, epicenter))
|
||||
if(cause == "cult" && iscultist(T))
|
||||
continue
|
||||
|
||||
@@ -1525,7 +1525,7 @@
|
||||
|
||||
/obj/item/toy/russian_revolver/trick_revolver/post_shot(user)
|
||||
to_chat(user, "<span class='danger'>[src] did look pretty dodgey!</span>")
|
||||
SEND_SOUND(user, 'sound/misc/sadtrombone.ogg') //HONK
|
||||
SEND_SOUND(user, sound('sound/misc/sadtrombone.ogg')) //HONK
|
||||
/*
|
||||
* Rubber Chainsaw
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
break
|
||||
force += 4
|
||||
throwforce += 4
|
||||
SEND_SOUND(user, 'sound/goonstation/effects/screech.ogg')
|
||||
SEND_SOUND(user, sound('sound/goonstation/effects/screech.ogg'))
|
||||
shake_camera(user, 20, 1)
|
||||
var/acount = 0
|
||||
var/amax = rand(10, 15)
|
||||
|
||||
@@ -34,7 +34,7 @@ GLOBAL_VAR_INIT(nologevent, 0)
|
||||
to_chat(C, msg)
|
||||
if(important)
|
||||
if(C.prefs?.sound & SOUND_ADMINHELP)
|
||||
SEND_SOUND(C, 'sound/effects/adminhelp.ogg')
|
||||
SEND_SOUND(C, sound('sound/effects/adminhelp.ogg'))
|
||||
window_flash(C)
|
||||
|
||||
/**
|
||||
@@ -51,7 +51,7 @@ GLOBAL_VAR_INIT(nologevent, 0)
|
||||
to_chat(C, msg)
|
||||
if(important)
|
||||
if(C.prefs?.sound & SOUND_MENTORHELP)
|
||||
SEND_SOUND(C, 'sound/effects/adminhelp.ogg')
|
||||
SEND_SOUND(C, sound('sound/effects/adminhelp.ogg'))
|
||||
window_flash(C)
|
||||
|
||||
/proc/admin_ban_mobsearch(var/mob/M, var/ckey_to_find, var/mob/admin_to_notify)
|
||||
|
||||
@@ -987,7 +987,7 @@ GLOBAL_LIST_INIT(admin_verbs_ticket, list(
|
||||
|
||||
to_chat(T, "<span class='notice'><b><font size=3>Man up and deal with it.</font></b></span>")
|
||||
to_chat(T, "<span class='notice'>Move on.</span>")
|
||||
T << 'sound/voice/manup1.ogg'
|
||||
SEND_SOUND(T, sound('sound/voice/manup1.ogg'))
|
||||
|
||||
log_admin("[key_name(usr)] told [key_name(T)] to man up and deal with it.")
|
||||
message_admins("[key_name_admin(usr)] told [key_name(T)] to man up and deal with it.")
|
||||
@@ -1003,9 +1003,10 @@ GLOBAL_LIST_INIT(admin_verbs_ticket, list(
|
||||
var/confirm = alert("Are you sure you want to send the global message?", "Confirm Man Up Global", "Yes", "No")
|
||||
|
||||
if(confirm == "Yes")
|
||||
for(var/mob/T as mob in GLOB.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>")
|
||||
T << 'sound/voice/manup1.ogg'
|
||||
var/manned_up_sound = sound('sound/voice/manup1.ogg')
|
||||
for(var/sissy in GLOB.player_list)
|
||||
to_chat(sissy, "<br><center><span class='notice'><b><font size=4>Man up.<br> Deal with it.</font></b><br>Move on.</span></center><br>")
|
||||
SEND_SOUND(sissy, manned_up_sound)
|
||||
|
||||
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.")
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
if(!isclient(C))
|
||||
return
|
||||
|
||||
C << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(C, sound('sound/effects/adminhelp.ogg'))
|
||||
|
||||
to_chat(C, "<font color='red' size='4'><b>- AdminHelp Rejected! -</b></font>")
|
||||
to_chat(C, "<font color='red'><b>Your admin help was rejected.</b></font>")
|
||||
@@ -2326,7 +2326,7 @@
|
||||
message_admins("[key_name_admin(usr)] sent [H.job] [H] to cryo.")
|
||||
if(href_list["cryoafk"]) // Warn them if they are send to storage and are AFK
|
||||
to_chat(H, "<span class='danger'>The admins have moved you to cryo storage for being AFK. Please eject yourself (right click, eject) out of the cryostorage if you want to avoid being despawned.</span>")
|
||||
SEND_SOUND(H, 'sound/effects/adminhelp.ogg')
|
||||
SEND_SOUND(H, sound('sound/effects/adminhelp.ogg'))
|
||||
if(H.client)
|
||||
window_flash(H.client)
|
||||
else if(href_list["FaxReplyTemplate"])
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
//play the recieving admin the adminhelp sound (if they have them enabled)
|
||||
//non-admins always hear the sound, as they cannot toggle it
|
||||
if((!C.holder) || (C.prefs.sound & SOUND_ADMINHELP))
|
||||
C << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(C, sound('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
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
if(R_ADMIN & C.holder.rights)
|
||||
// Lets see if this admin was pinged in the asay message
|
||||
if(findtext(msg, "@[C.ckey]") || findtext(msg, "@[C.key]")) // Check ckey and key, so you can type @AffectedArc07 or @affectedarc07
|
||||
SEND_SOUND(C, 'sound/misc/ping.ogg')
|
||||
SEND_SOUND(C, sound('sound/misc/ping.ogg'))
|
||||
msg = replacetext(msg, "@[C.ckey]", "<font color='red'>@[C.ckey]</font>")
|
||||
msg = replacetext(msg, "@[C.key]", "<font color='red'>@[C.key]</font>") // Same applies here. key and ckey.
|
||||
|
||||
|
||||
@@ -102,52 +102,3 @@ GLOBAL_LIST_EMPTY(sounds_cache)
|
||||
if(!I.on && !ignore_power)
|
||||
continue
|
||||
playsound(I, melody, cvol)
|
||||
|
||||
/*
|
||||
/client/proc/cuban_pete()
|
||||
set category = "Event"
|
||||
set name = "Cuban Pete Time"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has declared Cuban Pete Time!", 1)
|
||||
for(var/mob/M in world)
|
||||
if(M.client)
|
||||
if(M.client.midis)
|
||||
M << 'cubanpetetime.ogg'
|
||||
|
||||
for(var/mob/living/carbon/human/CP in world)
|
||||
if(CP.real_name=="Cuban Pete" && CP.key!="Rosham")
|
||||
C << "Your body can't contain the rhumba beat"
|
||||
CP.gib()
|
||||
|
||||
|
||||
/client/proc/bananaphone()
|
||||
set category = "Event"
|
||||
set name = "Banana Phone"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has activated Banana Phone!", 1)
|
||||
for(var/mob/M in world)
|
||||
if(M.client)
|
||||
if(M.client.midis)
|
||||
M << 'bananaphone.ogg'
|
||||
|
||||
|
||||
client/proc/space_asshole()
|
||||
set category = "Event"
|
||||
set name = "Space Asshole"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has played the Space Asshole Hymn.", 1)
|
||||
for(var/mob/M in world)
|
||||
if(M.client)
|
||||
if(M.client.midis)
|
||||
M << 'sound/music/space_asshole.ogg'
|
||||
|
||||
|
||||
client/proc/honk_theme()
|
||||
set category = "Event"
|
||||
set name = "Honk"
|
||||
|
||||
message_admins("[key_name_admin(usr)] has creeped everyone out with Blackest Honks.", 1)
|
||||
for(var/mob/M in world)
|
||||
if(M.client)
|
||||
if(M.client.midis)
|
||||
M << 'honk_theme.ogg'*/
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
if(check_rights(R_EVENT,0,X.mob))
|
||||
to_chat(X, msg)
|
||||
if(X.prefs.sound & SOUND_PRAYERNOTIFY)
|
||||
SEND_SOUND(X, 'sound/items/PDA/ambicha4-short.ogg')
|
||||
SEND_SOUND(X, sound('sound/items/PDA/ambicha4-short.ogg'))
|
||||
to_chat(usr, "Your prayers have been received by the gods.")
|
||||
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Pray") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -48,7 +48,7 @@
|
||||
if(R_EVENT & X.holder.rights)
|
||||
to_chat(X, msg)
|
||||
if(X.prefs.sound & SOUND_ADMINHELP)
|
||||
X << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
|
||||
|
||||
/proc/Syndicate_announce(var/text , var/mob/Sender)
|
||||
var/msg = sanitize(copytext(text, 1, MAX_MESSAGE_LEN))
|
||||
@@ -57,7 +57,7 @@
|
||||
if(check_rights(R_EVENT,0,X.mob))
|
||||
to_chat(X, msg)
|
||||
if(X.prefs.sound & SOUND_ADMINHELP)
|
||||
X << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
|
||||
|
||||
/proc/HONK_announce(var/text , var/mob/Sender)
|
||||
var/msg = sanitize(copytext(text, 1, MAX_MESSAGE_LEN))
|
||||
@@ -66,7 +66,7 @@
|
||||
if(R_EVENT & X.holder.rights)
|
||||
to_chat(X, msg)
|
||||
if(X.prefs.sound & SOUND_ADMINHELP)
|
||||
X << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
|
||||
|
||||
/proc/ERT_Announce(var/text , var/mob/Sender, var/repeat_warning)
|
||||
var/msg = sanitize(copytext(text, 1, MAX_MESSAGE_LEN))
|
||||
@@ -77,7 +77,7 @@
|
||||
if(check_rights(R_EVENT,0,X.mob))
|
||||
to_chat(X, msg)
|
||||
if(X.prefs.sound & SOUND_ADMINHELP)
|
||||
X << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
|
||||
|
||||
/proc/Nuke_request(text , mob/Sender)
|
||||
var/nuke_code = get_nuke_code()
|
||||
@@ -88,4 +88,4 @@
|
||||
to_chat(X, msg)
|
||||
to_chat(X, "<span class='adminnotice'><b>The nuke code is [nuke_code].</b></span>")
|
||||
if(X.prefs.sound & SOUND_ADMINHELP)
|
||||
X << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
|
||||
|
||||
@@ -285,4 +285,4 @@
|
||||
M.mind.objectives += KillDaCrew
|
||||
to_chat(M, "<B>Objective #[1]</B>: [KillDaWiz.explanation_text]")
|
||||
to_chat(M, "<B>Objective #[2]</B>: [KillDaCrew.explanation_text]")
|
||||
M << 'sound/magic/mutate.ogg'
|
||||
SEND_SOUND(M, sound('sound/magic/mutate.ogg'))
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
H.take_overall_damage(0, LIGHT_DAMAGE_TAKEN)
|
||||
if(H.stat != DEAD)
|
||||
to_chat(H, "<span class='userdanger'>The light burns you!</span>")//Message spam to say "GET THE FUCK OUT"
|
||||
H << 'sound/weapons/sear.ogg'
|
||||
SEND_SOUND(H, sound('sound/weapons/sear.ogg'))
|
||||
else if(light_amount < LIGHT_HEAL_THRESHOLD)
|
||||
H.clear_alert("lightexposure")
|
||||
var/obj/item/organ/internal/eyes/E = H.get_int_organ(/obj/item/organ/internal/eyes)
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
return TRUE
|
||||
A.visible_message("<span class='danger'>[src] points [hand_item] at [A]!</span>",
|
||||
"<span class='userdanger'>[src] points [hand_item] at you!</span>")
|
||||
A << 'sound/weapons/targeton.ogg'
|
||||
SEND_SOUND(A, sound('sound/weapons/targeton.ogg'))
|
||||
return TRUE
|
||||
visible_message("<b>[src]</b> points to [A]")
|
||||
return TRUE
|
||||
|
||||
@@ -153,12 +153,13 @@ GLOBAL_VAR_INIT(announcing_vox, 0) // Stores the time of the last announcement
|
||||
formatted_message += "<br><span class='alert'>[words_string]</span>"
|
||||
formatted_message += "<br><span class='alert'> -[src]</span>"
|
||||
|
||||
var/announce_sound = sound('sound/misc/notice2.ogg')
|
||||
for(var/player in GLOB.player_list)
|
||||
var/mob/M = player
|
||||
if(M.client && !(M.client.prefs.sound & SOUND_AI_VOICE))
|
||||
var/turf/T = get_turf(M)
|
||||
if(T && T.z == z && M.can_hear())
|
||||
SEND_SOUND(M, 'sound/misc/notice2.ogg')
|
||||
SEND_SOUND(M, announce_sound)
|
||||
to_chat(M, formatted_message)
|
||||
|
||||
/proc/play_vox_word(word, z_level, mob/only_listener)
|
||||
|
||||
@@ -346,11 +346,12 @@ GLOBAL_LIST_EMPTY(fax_blacklist)
|
||||
|
||||
/obj/machinery/photocopier/faxmachine/proc/message_admins(var/mob/sender, var/faxname, var/faxtype, var/obj/item/sent, font_colour="#9A04D1")
|
||||
var/msg = "<span class='boldnotice'><font color='[font_colour]'>[faxname]: </font> [key_name_admin(sender)] | REPLY: (<A HREF='?_src_=holder;[faxname == "SYNDICATE FAX" ? "SyndicateReply" : "CentcommReply"]=[sender.UID()]'>RADIO</A>) (<a href='?_src_=holder;AdminFaxCreate=\ref[sender];originfax=\ref[src];faxtype=[faxtype];replyto=\ref[sent]'>FAX</a>) ([ADMIN_SM(sender,"SM")]) | REJECT: (<A HREF='?_src_=holder;FaxReplyTemplate=[sender.UID()];originfax=\ref[src]'>TEMPLATE</A>) ([ADMIN_BSA(sender,"BSA")]) (<A HREF='?_src_=holder;EvilFax=[sender.UID()];originfax=\ref[src]'>EVILFAX</A>) </span>: Receiving '[sent.name]' via secure connection... <a href='?_src_=holder;AdminFaxView=\ref[sent]'>view message</a>"
|
||||
var/fax_sound = sound('sound/effects/adminhelp.ogg')
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(check_rights(R_EVENT, 0, C.mob))
|
||||
to_chat(C, msg)
|
||||
if(C.prefs.sound & SOUND_ADMINHELP)
|
||||
C << 'sound/effects/adminhelp.ogg'
|
||||
SEND_SOUND(C, fax_sound)
|
||||
|
||||
/obj/machinery/photocopier/faxmachine/proc/become_mimic()
|
||||
if(scan)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
icon_state = SSticker.cultdat?.entity_icon_state
|
||||
name = SSticker.cultdat?.entity_name
|
||||
to_chat(world, "<font size='15' color='red'><b> [uppertext(name)] HAS RISEN</b></font>")
|
||||
SEND_SOUND(world, pick('sound/hallucinations/im_here1.ogg', 'sound/hallucinations/im_here2.ogg'))
|
||||
SEND_SOUND(world, sound(pick('sound/hallucinations/im_here1.ogg', 'sound/hallucinations/im_here2.ogg')))
|
||||
|
||||
var/datum/game_mode/gamemode = SSticker.mode
|
||||
if(gamemode)
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
/obj/singularity/narsie/large/Destroy()
|
||||
to_chat(world, "<font size='15' color='red'><b> [uppertext(name)] HAS FALLEN</b></font>")
|
||||
SEND_SOUND(world, 'sound/hallucinations/wail.ogg')
|
||||
SEND_SOUND(world, sound('sound/hallucinations/wail.ogg'))
|
||||
var/datum/game_mode/gamemode = SSticker.mode
|
||||
if(gamemode)
|
||||
gamemode.cult_objs.narsie_death()
|
||||
|
||||
@@ -312,10 +312,12 @@
|
||||
L.rad_act(rads)
|
||||
|
||||
var/turf/T = get_turf(src)
|
||||
for(var/mob/M in GLOB.player_list)
|
||||
var/super_matter_charge_sound = sound('sound/magic/charge.ogg')
|
||||
for(var/player in GLOB.player_list)
|
||||
var/mob/M = player
|
||||
var/turf/mob_turf = get_turf(M)
|
||||
if(atoms_share_level(T, mob_turf))
|
||||
SEND_SOUND(M, 'sound/magic/charge.ogg')
|
||||
SEND_SOUND(M, super_matter_charge_sound)
|
||||
|
||||
if(atoms_share_level(M, src))
|
||||
to_chat(M, "<span class='boldannounce'>You feel reality distort for a moment...</span>")
|
||||
@@ -632,8 +634,8 @@
|
||||
investigate_log("Supermatter shard consumed by singularity.", "singulo")
|
||||
message_admins("Singularity has consumed a supermatter shard and can now become stage six.")
|
||||
visible_message("<span class='userdanger'>[src] is consumed by the singularity!</span>")
|
||||
var/supermatter_sound = 'sound/effects/supermatter.ogg'
|
||||
for(var/mob/M in GLOB.player_list)
|
||||
var/supermatter_sound = sound('sound/effects/supermatter.ogg')
|
||||
for(var/M in GLOB.player_list)
|
||||
if(atoms_share_level(M, src))
|
||||
SEND_SOUND(M, supermatter_sound) //everyone goan know bout this
|
||||
to_chat(M, "<span class='boldannounce'>A horrible screeching fills your ears, and a wave of dread washes over you...</span>")
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
else if(effect <= 7)
|
||||
M.emote("collapse")
|
||||
to_chat(M, "<span class='warning'>Your heart is pounding!</span>")
|
||||
M << 'sound/effects/singlebeat.ogg'
|
||||
SEND_SOUND(M, sound('sound/effects/singlebeat.ogg'))
|
||||
update_flags |= M.Paralyse(5, FALSE)
|
||||
M.Jitter(30)
|
||||
update_flags |= M.adjustToxLoss(6, FALSE)
|
||||
@@ -407,7 +407,7 @@
|
||||
/datum/reagent/bath_salts/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume)
|
||||
if(method == REAGENT_INGEST)
|
||||
to_chat(M, "<span class = 'danger'><font face='[pick("Curlz MT", "Comic Sans MS")]' size='[rand(4,6)]'>You feel FUCKED UP!!!!!!</font></span>")
|
||||
M << 'sound/effects/singlebeat.ogg'
|
||||
SEND_SOUND(M, sound('sound/effects/singlebeat.ogg'))
|
||||
M.emote("faint")
|
||||
M.apply_effect(5, IRRADIATE)
|
||||
M.adjustToxLoss(5)
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
return ..() | update_flags
|
||||
|
||||
/datum/reagent/consumable/drink/berry_banned2/on_mob_death(mob/living/M)
|
||||
M << sound('sound/effects/adminhelp.ogg',0,1,0,25)
|
||||
SEND_SOUND(M, sound('sound/effects/adminhelp.ogg', 0, 1, 0, 25))
|
||||
to_chat(M, "<span class='adminhelp'>PM from-<b>Administrator</b>: BWOINK!</span>")
|
||||
..()
|
||||
|
||||
|
||||
@@ -544,7 +544,7 @@
|
||||
update_flags |= M.Weaken(8, FALSE)
|
||||
else if(effect <= 7)
|
||||
to_chat(M, "<span class='warning'>Your heartbeat is pounding inside your head!</span>")
|
||||
M << 'sound/effects/singlebeat.ogg'
|
||||
SEND_SOUND(M, sound('sound/effects/singlebeat.ogg'))
|
||||
M.emote("collapse")
|
||||
update_flags |= M.adjustOxyLoss(8, FALSE)
|
||||
update_flags |= M.adjustToxLoss(3, FALSE)
|
||||
|
||||
@@ -249,8 +249,9 @@
|
||||
|
||||
if(time_left <= 50 && !sound_played) //4 seconds left - should sync up with the launch
|
||||
sound_played = 1
|
||||
var/hyperspace_sound = sound('sound/effects/hyperspace_begin.ogg')
|
||||
for(var/area/shuttle/escape/E in world)
|
||||
E << 'sound/effects/hyperspace_begin.ogg'
|
||||
SEND_SOUND(E, hyperspace_sound)
|
||||
|
||||
if(time_left <= 0 && !SSshuttle.emergencyNoEscape)
|
||||
//move each escape pod to its corresponding transit dock
|
||||
@@ -258,8 +259,9 @@
|
||||
if(is_station_level(M.z)) //Will not launch from the mine/planet
|
||||
M.enterTransit()
|
||||
//now move the actual emergency shuttle to its transit dock
|
||||
var/hyperspace_progress_sound = sound('sound/effects/hyperspace_progress.ogg')
|
||||
for(var/area/shuttle/escape/E in world)
|
||||
E << 'sound/effects/hyperspace_progress.ogg'
|
||||
SEND_SOUND(E, hyperspace_progress_sound)
|
||||
enterTransit()
|
||||
mode = SHUTTLE_ESCAPE
|
||||
timer = world.time
|
||||
@@ -274,8 +276,9 @@
|
||||
for(var/obj/docking_port/mobile/pod/M in SSshuttle.mobile)
|
||||
M.dock(SSshuttle.getDock("[M.id]_away"))
|
||||
|
||||
var/hyperspace_end_sound = sound('sound/effects/hyperspace_end.ogg')
|
||||
for(var/area/shuttle/escape/E in world)
|
||||
E << 'sound/effects/hyperspace_end.ogg'
|
||||
SEND_SOUND(E, hyperspace_end_sound)
|
||||
|
||||
// now move the actual emergency shuttle to centcomm
|
||||
// unless the shuttle is "hijacked"
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
crit_fail = FALSE
|
||||
if(owner)
|
||||
to_chat(owner, "<span class='notice'>Your translator implant beeps.</span>")
|
||||
SEND_SOUND(owner, 'sound/machines/twobeep.ogg')
|
||||
SEND_SOUND(owner, sound('sound/machines/twobeep.ogg'))
|
||||
|
||||
/obj/item/organ/internal/cyberimp/brain/speech_translator/ui_action_click()
|
||||
if(owner && crit_fail)
|
||||
|
||||
@@ -265,7 +265,7 @@
|
||||
owner.Stuttering(20)
|
||||
owner.AdjustEarDamage(0, 30)
|
||||
owner.Weaken(3)
|
||||
owner << 'sound/items/airhorn.ogg'
|
||||
SEND_SOUND(owner, sound('sound/items/airhorn.ogg'))
|
||||
if(prob(30))
|
||||
owner.Stun(10)
|
||||
owner.Paralyse(4)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
C.received_discord_pm = world.time
|
||||
C.last_discord_pm_time = 0
|
||||
|
||||
SEND_SOUND(C, 'sound/effects/adminhelp.ogg')
|
||||
SEND_SOUND(C, sound('sound/effects/adminhelp.ogg'))
|
||||
to_chat(C, message)
|
||||
|
||||
for(var/client/A in GLOB.admins)
|
||||
|
||||
Reference in New Issue
Block a user