mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Adds new shutter sound and nerfs blastdoor sound (#74945)
## About The Pull Request https://user-images.githubusercontent.com/66640614/233877626-31aedf44-524c-45bf-9700-d0caac3b2a87.mp4 <details> <summary>Comparison of the two sounds.</summary> https://user-images.githubusercontent.com/66640614/233873445-05feb33c-09da-4bfd-90f1-5947a0f2a599.mp4 ### **It having two different sound effects is just to show what they both sound like; in-game the shutters just have the new sound for opening and closing.** </details> Adds a rolling shutter sound for our shutters. Just a thematic improvement, and I like the clacks of the rolling shutters. Also turns down the blastdoor sound effect because  ## Why It's Good For The Game Just a thematic improvement, and I like the clacks of the rolling shutters. ## Changelog 🆑 Tattle sound: shutters have a unique sound effect /🆑 --------- Co-authored-by: tattle <article.disaster@gmail.com>
This commit is contained in:
@@ -60,10 +60,10 @@
|
||||
switch(animation)
|
||||
if("opening")
|
||||
flick("opening", src)
|
||||
playsound(src, 'sound/machines/blastdoor.ogg', 30, TRUE)
|
||||
playsound(src, 'sound/machines/blastdoor.ogg', 50, TRUE)
|
||||
if("closing")
|
||||
flick("closing", src)
|
||||
playsound(src, 'sound/machines/blastdoor.ogg', 30, TRUE)
|
||||
playsound(src, 'sound/machines/blastdoor.ogg', 50, TRUE)
|
||||
if("deny")
|
||||
//Deny animation would be nice to have.
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 30, TRUE)
|
||||
|
||||
@@ -14,9 +14,14 @@
|
||||
resistance_flags = FIRE_PROOF
|
||||
damage_deflection = 70
|
||||
can_open_with_hands = FALSE
|
||||
/// The recipe for this door
|
||||
var/datum/crafting_recipe/recipe_type = /datum/crafting_recipe/blast_doors
|
||||
var/deconstruction = BLASTDOOR_FINISHED // deconstruction step
|
||||
/// The current deconstruction step
|
||||
var/deconstruction = BLASTDOOR_FINISHED
|
||||
/// The door's ID (used for buttons, etc to control the door)
|
||||
var/id = 1
|
||||
/// The sound that plays when the door opens/closes
|
||||
var/animation_sound = 'sound/machines/blastdoor.ogg'
|
||||
|
||||
/datum/armor/door_poddoor
|
||||
melee = 50
|
||||
@@ -132,10 +137,10 @@
|
||||
switch(animation)
|
||||
if("opening")
|
||||
flick("opening", src)
|
||||
playsound(src, 'sound/machines/blastdoor.ogg', 30, TRUE)
|
||||
playsound(src, animation_sound, 50, TRUE)
|
||||
if("closing")
|
||||
flick("closing", src)
|
||||
playsound(src, 'sound/machines/blastdoor.ogg', 30, TRUE)
|
||||
playsound(src, animation_sound, 50, TRUE)
|
||||
|
||||
/obj/machinery/door/poddoor/update_icon_state()
|
||||
. = ..()
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
armor_type = /datum/armor/poddoor_shutters
|
||||
max_integrity = 100
|
||||
recipe_type = /datum/crafting_recipe/shutters
|
||||
animation_sound = 'sound/machines/shutter.ogg'
|
||||
|
||||
/obj/machinery/door/poddoor/shutters/preopen
|
||||
icon_state = "open"
|
||||
|
||||
Binary file not shown.
@@ -5,3 +5,6 @@ They have been licensed under CC-BY 3.0, which can be found at http://creativeco
|
||||
coffeemaker_brew.ogg originally made by Adriana Lopez (Acekat13X31), edited to reduce length and added fade
|
||||
(https://freesound.org/people/Acekat13X31/sounds/515685/)
|
||||
This is licensed under CC-BY 4.0, found at https://creativecommons.org/licenses/by/4.0/
|
||||
|
||||
shutter.ogg adapted from Joseph Sardin on BigSoundBank
|
||||
https://bigsoundbank.com/detail-2475-manual-roller-shutter-closing-out-2.html
|
||||
Binary file not shown.
Reference in New Issue
Block a user