Skip to content

Commit

Permalink
Merge pull request #386 from githubuser4141/Shuttersounds
Browse files Browse the repository at this point in the history
Changes poddoor and shutter sounds
  • Loading branch information
dwasint authored Sep 27, 2023
2 parents 1a35432 + 01bf607 commit 9f839f1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/game/machinery/doors/poddoor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
var/datum/crafting_recipe/recipe_type = /datum/crafting_recipe/blast_doors
var/deconstruction = BLASTDOOR_FINISHED // deconstruction step
var/id = 1
var/open_sound = 'monkestation/sound/machines/poddoors/blastdoor.ogg'
var/close_sound = 'monkestation/sound/machines/poddoors/blastdoor.ogg'

/datum/armor/door_poddoor
melee = 50
Expand Down Expand Up @@ -132,10 +134,10 @@
switch(animation)
if("opening")
flick("opening", src)
playsound(src, 'sound/machines/blastdoor.ogg', 30, TRUE)
playsound(src, open_sound, 30, TRUE)
if("closing")
flick("closing", src)
playsound(src, 'sound/machines/blastdoor.ogg', 30, TRUE)
playsound(src, close_sound, 30, TRUE)

/obj/machinery/door/poddoor/update_icon_state()
. = ..()
Expand Down
2 changes: 2 additions & 0 deletions code/game/machinery/doors/shutters.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
armor_type = /datum/armor/poddoor_shutters
max_integrity = 200
recipe_type = /datum/crafting_recipe/shutters
open_sound = 'monkestation/sound/machines/poddoors/shutters_open.ogg'
close_sound = 'monkestation/sound/machines/poddoors/shutters_close.ogg'

/obj/machinery/door/poddoor/shutters/preopen
icon_state = "open"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 9f839f1

Please sign in to comment.