mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Shuttle sounds calm down (#17563)
This commit is contained in:
@@ -203,27 +203,27 @@ datum/emergency_shuttle/proc/hyperspace_sounds(var/phase)
|
|||||||
if(M && M.client)
|
if(M && M.client)
|
||||||
var/turf/M_turf = get_turf(M)
|
var/turf/M_turf = get_turf(M)
|
||||||
if (M_turf.z == shuttle.dock_station.z)
|
if (M_turf.z == shuttle.dock_station.z)
|
||||||
M.playsound_local(shuttle.dock_station, 'sound/machines/hyperspace_end.ogg', 100 - (get_dist(shuttle.dock_station,M_turf)*2), 1, frequency, falloff = 5)
|
M.playsound_local(shuttle.dock_station, 'sound/machines/hyperspace_end.ogg', 75 - (get_dist(shuttle.dock_station,M_turf)*2), 1, frequency, falloff = 5)
|
||||||
if ("begin")
|
if ("begin")
|
||||||
for (var/mob/M in player_list)
|
for (var/mob/M in player_list)
|
||||||
if(M && M.client)
|
if(M && M.client)
|
||||||
var/turf/M_turf = get_turf(M)
|
var/turf/M_turf = get_turf(M)
|
||||||
if (M_turf.z == shuttle.dock_station.z)
|
if (M_turf.z == shuttle.dock_station.z)
|
||||||
M.playsound_local(shuttle.dock_station, 'sound/machines/hyperspace_begin.ogg', 100 - (get_dist(shuttle.dock_station,M_turf)*2), 1, frequency, falloff = 5)
|
M.playsound_local(shuttle.dock_station, 'sound/machines/hyperspace_begin.ogg', 75 - (get_dist(shuttle.dock_station,M_turf)*2), 1, frequency, falloff = 5)
|
||||||
if ("progression")
|
if ("progression")
|
||||||
for (var/mob/M in player_list)
|
for (var/mob/M in player_list)
|
||||||
if(M && M.client)
|
if(M && M.client)
|
||||||
var/turf/M_turf = get_turf(M)
|
var/turf/M_turf = get_turf(M)
|
||||||
if (M_turf.z == shuttle.linked_port.z)
|
if (M_turf.z == shuttle.linked_port.z)
|
||||||
M.playsound_local(shuttle.linked_port, 'sound/machines/hyperspace_progress.ogg', 100 - (get_dist(shuttle.linked_port,M_turf)*2), 1, frequency, falloff = 5)
|
M.playsound_local(shuttle.linked_port, 'sound/machines/hyperspace_progress.ogg', 75 - (get_dist(shuttle.linked_port,M_turf)*2), 1, frequency, falloff = 5)
|
||||||
if ("end")
|
if ("end")
|
||||||
for (var/mob/M in player_list)
|
for (var/mob/M in player_list)
|
||||||
if(M && M.client)
|
if(M && M.client)
|
||||||
var/turf/M_turf = get_turf(M)
|
var/turf/M_turf = get_turf(M)
|
||||||
if (M_turf.z == shuttle.linked_port.z)
|
if (M_turf.z == shuttle.linked_port.z)
|
||||||
M.playsound_local(shuttle.linked_port, 'sound/machines/hyperspace_end.ogg', 100 - (get_dist(shuttle.linked_port,M_turf)*2), 1, frequency, falloff = 5)
|
M.playsound_local(shuttle.linked_port, 'sound/machines/hyperspace_end.ogg', 75 - (get_dist(shuttle.linked_port,M_turf)*2), 1, frequency, falloff = 5)
|
||||||
if (M_turf.z == shuttle.dock_centcom.z)
|
if (M_turf.z == shuttle.dock_centcom.z)
|
||||||
M.playsound_local(shuttle.dock_centcom, 'sound/machines/hyperspace_end.ogg', 100 - (get_dist(shuttle.dock_centcom,M_turf)*2), 1, frequency, falloff = 5)
|
M.playsound_local(shuttle.dock_centcom, 'sound/machines/hyperspace_end.ogg', 75 - (get_dist(shuttle.dock_centcom,M_turf)*2), 1, frequency, falloff = 5)
|
||||||
|
|
||||||
datum/emergency_shuttle/proc/shuttle_phase(var/phase, var/casual = 1)
|
datum/emergency_shuttle/proc/shuttle_phase(var/phase, var/casual = 1)
|
||||||
switch (phase)
|
switch (phase)
|
||||||
|
|||||||
Reference in New Issue
Block a user