mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
Modifies some current sounds and adds some new ones. (#5489)
Pretty much title, swapped some sounds around and added a few new ones.
This commit is contained in:
@@ -166,6 +166,7 @@
|
||||
src.occupant = M
|
||||
update_use_power(2)
|
||||
src.icon_state = "body_scanner_1"
|
||||
playsound(src.loc, 'sound/machines/medbayscanner1.ogg', 50)
|
||||
for(var/obj/Obj in src)
|
||||
Obj.forceMove(src.loc)
|
||||
//Foreach goto(154)
|
||||
|
||||
@@ -349,6 +349,7 @@
|
||||
var/answer = alert(selected,"Do you want to return to life?","Cloning","Yes","No")
|
||||
if(answer != "No" && pod.growclone(C))
|
||||
temp = "Initiating cloning cycle..."
|
||||
playsound(src.loc, 'sound/machines/medbayscanner1.ogg', 100, 1)
|
||||
records.Remove(C)
|
||||
qdel(C)
|
||||
menu = 1
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
var/light_power_on = 1
|
||||
var/overlay_layer
|
||||
var/is_holographic = TRUE
|
||||
clicksound = "keyboard"
|
||||
|
||||
/obj/machinery/computer/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
//If we are idle, flash the warning lights and then put us into pre_start once we are done
|
||||
if(status == "idle")
|
||||
if(initial)
|
||||
playsound(loc, 'sound/machines/airalarm.ogg', 50, 1) //Plays a beep
|
||||
playsound(src.loc, 'sound/effects/crusher_alarm.ogg', 50, 1) //Plays a sound
|
||||
initial = 0
|
||||
//TODO: Flash the lights
|
||||
if(timediff > time_stage_pre)
|
||||
|
||||
@@ -38,12 +38,12 @@
|
||||
var/panel_visible_while_open = FALSE
|
||||
|
||||
var/open_sound_powered = 'sound/machines/airlock.ogg'
|
||||
var/close_sound_powered = 'sound/machines/AirlockClose.ogg'
|
||||
var/open_sound_unpowered = 'sound/machines/airlock_creaking.ogg'
|
||||
var/close_sound_unpowered = 'sound/machines/airlock_creaking.ogg'
|
||||
var/close_sound_powered = 'sound/machines/airlockclose.ogg'
|
||||
var/open_sound_unpowered = 'sound/machines/airlock_open_force.ogg'
|
||||
var/close_sound_unpowered = 'sound/machines/airlock_close_force.ogg'
|
||||
|
||||
var/bolts_dropping = 'sound/machines/BoltsDown.ogg'
|
||||
var/bolts_rising = 'sound/machines/BoltsUp.ogg'
|
||||
var/bolts_dropping = 'sound/machines/boltsdown.ogg'
|
||||
var/bolts_rising = 'sound/machines/boltsup.ogg'
|
||||
|
||||
hashatch = 1
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
aiControlDisabled = 1
|
||||
hackProof = 1
|
||||
electrified_until = -1
|
||||
open_sound_powered = 'sound/machines/airlock_creaking.ogg'
|
||||
open_sound_powered = 'sound/machines/airlock_open_force.ogg'
|
||||
|
||||
/obj/machinery/door/airlock/security
|
||||
name = "Airlock"
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
var/icon_state_opening = null
|
||||
var/icon_state_closed = null
|
||||
var/icon_state_closing = null
|
||||
var/open_sound = 'sound/machines/blastdooropen.ogg'
|
||||
var/close_sound = 'sound/machines/blastdoorclose.ogg'
|
||||
var/damage = BLAST_DOOR_CRUSH_DAMAGE
|
||||
closed_layer = 3.4 // Above airlocks when closed
|
||||
var/id = 1.0
|
||||
@@ -72,6 +74,7 @@
|
||||
// Description: Opens the door. No checks are done inside this proc.
|
||||
/obj/machinery/door/blast/proc/force_open()
|
||||
src.operating = 1
|
||||
playsound(src.loc, open_sound, 100, 1)
|
||||
flick(icon_state_opening, src)
|
||||
src.density = 0
|
||||
update_nearby_tiles()
|
||||
@@ -88,6 +91,7 @@
|
||||
if(density)
|
||||
return 0
|
||||
src.operating = 1
|
||||
playsound(src.loc, close_sound, 100, 1)
|
||||
src.layer = closed_layer
|
||||
flick(icon_state_closing, src)
|
||||
src.density = 1
|
||||
|
||||
@@ -128,6 +128,8 @@ Class Procs:
|
||||
var/printing = 0 // Is this machine currently printing anything?
|
||||
var/tmp/machinery_processing = FALSE // Are we process()ing in SSmachinery?
|
||||
var/has_special_power_checks = FALSE // If true, call auto_use_power instead of doing it all in SSmachinery.
|
||||
var/clicksound //played sound on usage
|
||||
var/clickvol = 40 //volume
|
||||
|
||||
/obj/machinery/Initialize(mapload, d = 0, populate_components = TRUE)
|
||||
. = ..()
|
||||
@@ -229,6 +231,8 @@ Class Procs:
|
||||
|
||||
/obj/machinery/CouldUseTopic(var/mob/user)
|
||||
..()
|
||||
if(istype (user, /mob/living/carbon))
|
||||
playsound(src, clicksound, clickvol)
|
||||
user.set_machine(src)
|
||||
|
||||
/obj/machinery/CouldNotUseTopic(var/mob/user)
|
||||
|
||||
@@ -147,6 +147,16 @@ var/list/switchsounds = list(
|
||||
'sound/machines/switch3.ogg',
|
||||
'sound/machines/switch4.ogg'
|
||||
)
|
||||
var/list/keyboardsounds = list(
|
||||
'sound/machines/keyboard/keypress1.ogg',
|
||||
'sound/machines/keyboard/keypress2.ogg',
|
||||
'sound/machines/keyboard/keypress3.ogg',
|
||||
'sound/machines/keyboard/keypress4.ogg',
|
||||
'sound/machines/keyboard/keystroke1.ogg',
|
||||
'sound/machines/keyboard/keystroke2.ogg',
|
||||
'sound/machines/keyboard/keystroke3.ogg',
|
||||
'sound/machines/keyboard/keystroke4.ogg'
|
||||
)
|
||||
|
||||
var/list/footstepfx = list("defaultstep","concretestep","grassstep","dirtstep","waterstep","sandstep", "gravelstep")
|
||||
|
||||
@@ -308,4 +318,5 @@ var/list/footstepfx = list("defaultstep","concretestep","grassstep","dirtstep","
|
||||
if ("gravelstep") soundin = pick(gravelfootsteps)
|
||||
if ("computerbeep") soundin = pick(computerbeeps)
|
||||
if ("switch") soundin = pick(switchsounds)
|
||||
if ("keyboard") soundin = pick(keyboardsounds)
|
||||
return soundin
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
message = "Crushing"
|
||||
airlock_close()
|
||||
crush_start()
|
||||
|
||||
|
||||
if(href_list["abort"])
|
||||
message = "Aborting"
|
||||
crush_stop()
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
caliber = "10mm"
|
||||
origin_tech = list(TECH_COMBAT = 5, TECH_MATERIAL = 2, TECH_ILLEGAL = 8)
|
||||
slot_flags = SLOT_BELT|SLOT_BACK
|
||||
fire_sound = 'sound/weapons/Gunshot_light.ogg'
|
||||
fire_sound = 'sound/weapons/gunshot_pistol.ogg'
|
||||
load_method = MAGAZINE
|
||||
magazine_type = /obj/item/ammo_magazine/a10mm
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/a10mm)
|
||||
@@ -74,7 +74,7 @@
|
||||
origin_tech = list(TECH_COMBAT = 5, TECH_MATERIAL = 2)
|
||||
slot_flags = SLOT_BELT
|
||||
ammo_type = "/obj/item/ammo_casing/c9mmr"
|
||||
fire_sound = 'sound/weapons/Gunshot_light.ogg'
|
||||
fire_sound = 'sound/weapons/gunshot_pistol.ogg'
|
||||
load_method = MAGAZINE
|
||||
magazine_type = /obj/item/ammo_magazine/mc9mmt/rubber
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/mc9mmt)
|
||||
@@ -165,7 +165,7 @@
|
||||
caliber = "a556"
|
||||
origin_tech = list(TECH_COMBAT = 8, TECH_MATERIAL = 3)
|
||||
ammo_type = "/obj/item/ammo_casing/a556"
|
||||
fire_sound = 'sound/weapons/Gunshot.ogg'
|
||||
fire_sound = 'sound/weapons/rifleshot.ogg'
|
||||
slot_flags = SLOT_BACK
|
||||
load_method = MAGAZINE
|
||||
magazine_type = /obj/item/ammo_magazine/a556
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
caliber = "10mm"
|
||||
accuracy = 1
|
||||
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 2)
|
||||
fire_sound = 'sound/weapons/Gunshot_light.ogg'
|
||||
fire_sound = 'sound/weapons/gunshot_pistol.ogg'
|
||||
load_method = MAGAZINE
|
||||
sel_mode = 1
|
||||
|
||||
@@ -292,7 +292,7 @@
|
||||
ammo_type = /obj/item/ammo_casing/c10mm
|
||||
max_shells = 5
|
||||
origin_tech = list(TECH_COMBAT = 1, TECH_MATERIAL = 1)
|
||||
fire_sound = 'sound/weapons/Gunshot_light.ogg'
|
||||
fire_sound = 'sound/weapons/gunshot_pistol.ogg'
|
||||
load_method = SINGLE_CASING|SPEEDLOADER
|
||||
|
||||
/obj/item/weapon/gun/projectile/leyon/load_ammo(var/obj/item/A, mob/user)
|
||||
|
||||
@@ -159,6 +159,10 @@
|
||||
if((damage > emergency_point) && !public_alert)
|
||||
radio.autosay("WARNING: SUPERMATTER CRYSTAL DELAMINATION IMMINENT!", "Supermatter Monitor")
|
||||
public_alert = 1
|
||||
for(var/mob/M in player_list)
|
||||
var/turf/T = get_turf(M)
|
||||
if(T && !istype(M, /mob/abstract/new_player) && !isdeaf(M))
|
||||
sound_to(M, 'sound/effects/nuclearsiren.ogg')
|
||||
else if(safe_warned && public_alert)
|
||||
radio.autosay(alert_msg, "Supermatter Monitor")
|
||||
public_alert = 0
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: MattAtlas
|
||||
delete-after: True
|
||||
changes:
|
||||
- rscadd: "Added some new sounds and modified some current ones."
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user