Skip to content

Commit

Permalink
Remove absence of emissive airlock sounds (#41)
Browse files Browse the repository at this point in the history
🆑
add: Добавил звуки для аирлоков
/🆑
  • Loading branch information
ImJustKisik committed Nov 2, 2024
1 parent 15848fe commit 48b7836
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/game/machinery/embedded_controller/airlock_program.dm
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
cycleDoors(target_state)
state = STATE_IDLE
target_state = TARGET_NONE
playsound(master, 'sound/machines/airlockdone.ogg', 50)


if(STATE_DEPRESSURIZE)
Expand All @@ -271,6 +272,7 @@
cycleDoors(target_state)
state = STATE_IDLE
target_state = TARGET_NONE
playsound(master, 'sound/machines/airlockdone.ogg', 50)


memory["processing"] = (state != target_state)
Expand All @@ -283,20 +285,20 @@
state = STATE_IDLE
target_state = TARGET_INOPEN
memory["purge"] = cycle_to_external_air
playsound(master, 'sound/machines/warning-buzzer.ogg', 50)
playsound(master, 'sound/machines/airlockin.ogg', 50)
shutAlarm()

/datum/computer/file/embedded_program/airlock/proc/begin_dock_cycle()
state = STATE_IDLE
target_state = TARGET_INOPEN
playsound(master, 'sound/machines/warning-buzzer.ogg', 50)
playsound(master, 'sound/machines/airlockin.ogg', 50)
shutAlarm()

/datum/computer/file/embedded_program/airlock/proc/begin_cycle_out()
state = STATE_IDLE
target_state = TARGET_OUTOPEN
memory["purge"] = cycle_to_external_air
playsound(master, 'sound/machines/warning-buzzer.ogg', 50)
playsound(master, 'sound/machines/airlockout.ogg', 50)
shutAlarm()

/datum/computer/file/embedded_program/airlock/proc/close_doors()
Expand Down
Binary file added sound/machines/airlockdone.ogg
Binary file not shown.
Binary file added sound/machines/airlockin.ogg
Binary file not shown.
Binary file added sound/machines/airlockout.ogg
Binary file not shown.

0 comments on commit 48b7836

Please sign in to comment.