mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Fix remaining issues and sound shit
This commit is contained in:
@@ -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, "<span class='notice'>Choice registered: Yes.</span>")
|
||||
if((world.time-time_passed)>poll_time)//If more than 30 game seconds passed.
|
||||
to_chat(G, "<span class='danger'>Sorry, you were too late for the consideration!</span>")
|
||||
to_chat(G, 'sound/machines/buzz-sigh.ogg')
|
||||
G << 'sound/machines/buzz-sigh.ogg'
|
||||
return
|
||||
candidates += G
|
||||
if("No")
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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, "<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>")
|
||||
|
||||
@@ -57,7 +57,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. Ctrl+Click a blood pool to manifest.</span></B>")
|
||||
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
|
||||
|
||||
@@ -320,8 +320,7 @@ Made by Xhuis
|
||||
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"
|
||||
|
||||
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)
|
||||
|
||||
@@ -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, "<span class='warning'><b>ERROR $!(@ ERROR )#^! SENSORY OVERLOAD \[$(!@#</b></span>")
|
||||
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)
|
||||
|
||||
@@ -156,7 +156,7 @@ var/list/possibleShadowlingNames = list("U'ruan", "Y`shej", "Nex", "Hel-uae", "N
|
||||
M.Weaken(10)
|
||||
to_chat(M, "<span class='userdanger'>An immense pressure slams you onto the ground!</span>")
|
||||
to_chat(world, "<font size=5><span class='shadowling'><b>\"VYSHA NERADA YEKHEZET U'RUU!!\"</font></span>")
|
||||
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)
|
||||
|
||||
@@ -782,7 +782,7 @@ var/global/list/multiverse = list()
|
||||
GiveHint(target)
|
||||
else if(istype(I,/obj/item/weapon/bikehorn))
|
||||
to_chat(target, "<span class='userdanger'>HONK</span>")
|
||||
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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
+2
-2
@@ -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()
|
||||
|
||||
@@ -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, "<span class='danger'>Failed to establish database connection.</span>")
|
||||
@@ -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.")
|
||||
|
||||
@@ -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, "<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("[key_name_admin(usr)] told everyone to man up and deal with it.")
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
if(!C)
|
||||
return
|
||||
|
||||
to_chat(C, 'sound/effects/adminhelp.ogg')
|
||||
C << '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>")
|
||||
|
||||
@@ -112,13 +112,13 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
|
||||
msg = "<span class='mentorhelp'>[selected_type]: </span><span class='boldnotice'>[key_name(src, 1, 1, selected_type)] (<A HREF='?_src_=holder;adminmoreinfo=[ref_mob]'>?</A>) (<A HREF='?_src_=holder;adminplayeropts=[ref_mob]'>PP</A>) (<A HREF='?_src_=vars;Vars=[ref_mob]'>VV</A>) (<A HREF='?_src_=holder;subtlemessage=[ref_mob]'>SM</A>) ([admin_jump_link(mob, "holder")]) (<A HREF='?_src_=holder;check_antagonist=1'>CA</A>) (<A HREF='?_src_=holder;rejectadminhelp=[ref_client]'>REJT</A>) [ai_found ? " (<A HREF='?_src_=holder;adminchecklaws=[ref_mob]'>CL</A>)" : ""]:</span> <span class='mentorhelp'>[msg]</span>"
|
||||
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 = "<span class='adminhelp'>[selected_type]: </span><span class='boldnotice'>[key_name(src, 1, 1, selected_type)] (<A HREF='?_src_=holder;adminmoreinfo=[ref_mob]'>?</A>) (<A HREF='?_src_=holder;adminplayeropts=[ref_mob]'>PP</A>) (<A HREF='?_src_=vars;Vars=[ref_mob]'>VV</A>) (<A HREF='?_src_=holder;subtlemessage=[ref_mob]'>SM</A>) ([admin_jump_link(mob, "holder")]) (<A HREF='?_src_=holder;check_antagonist=1'>CA</A>) (<A HREF='?_src_=holder;rejectadminhelp=[ref_client]'>REJT</A>) [ai_found ? " (<A HREF='?_src_=holder;adminchecklaws=[ref_mob]'>CL</A>)" : ""]:</span> <span class='adminhelp'>[msg]</span>"
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'*/
|
||||
|
||||
@@ -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("<span class='danger'>[my_target] flails around wildly.</span>", \
|
||||
"<span class='danger'>[my_target] has attacked [src]!</span>")
|
||||
|
||||
@@ -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("<span class='danger'>[src.name] has attacked [my_target] with [weapon_name]!</span>", 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("<span class='userdanger'>[src.name] has punched [my_target]!</span>", 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, "<span class='warning'>You feel a tiny prick!</span>")
|
||||
if(14)
|
||||
to_chat(src, "<h1 class='alert'>Priority Announcement</h1>")
|
||||
to_chat(src, "<br><br><span class='alert'>The Emergency Shuttle has docked with the station. You have 3 minutes to board the Emergency Shuttle.</span><br><br>")
|
||||
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")
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -224,8 +224,7 @@
|
||||
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>")
|
||||
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, "<span class='boldannounce'>A horrible screeching fills your ears, and a wave of dread washes over you...</span>")
|
||||
qdel(src)
|
||||
return(gain)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user