Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
done... maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Jun 26, 2023
1 parent ed8b5d3 commit d7c422b
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/game/machinery/doors/poddoor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
damage_deflection = 70
var/id_tag = 1.0
var/protected = 1
var/blast_door_sound = 'sound/machines/blastdoor.ogg'

/obj/machinery/door/poddoor/preopen
icon_state = "open"
Expand Down
13 changes: 13 additions & 0 deletions code/game/machinery/doors/shutters.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
damage_deflection = 20
dir = EAST

/obj/machinery/door/poddoor/shutters
var/door_open_sound = 'sound/machines/shutters_open.ogg'
var/door_close_sound = 'sound/machines/shutters_close.ogg'

/obj/machinery/door/poddoor/shutters/do_animate(animation)
switch(animation)
if("opening")
flick("opening", src)
playsound(src, door_open_sound, 30, TRUE)
if("closing")
flick("closing", src)
playsound(src, door_close_sound, 30, TRUE)

/obj/machinery/door/poddoor/shutters/invincible
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF

Expand Down
Binary file modified icons/obj/cigarettes.dmi
Binary file not shown.
Binary file modified icons/obj/doors/blastdoor.dmi
Binary file not shown.
Binary file modified icons/obj/doors/shutters.dmi
Binary file not shown.
Binary file modified icons/obj/food/containers.dmi
Binary file not shown.
Binary file modified icons/obj/machines/biogenerator.dmi
Binary file not shown.
Binary file modified sound/machines/blastdoor.ogg
Binary file not shown.
Binary file added sound/machines/shutters_close.ogg
Binary file not shown.
Binary file added sound/machines/shutters_open.ogg
Binary file not shown.

0 comments on commit d7c422b

Please sign in to comment.