]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Update shutter sounds (#34774)
authorthemias <89101928+themias@users.noreply.github.com>
Fri, 31 Jan 2025 17:41:51 +0000 (12:41 -0500)
committerGitHub <noreply@github.com>
Fri, 31 Jan 2025 17:41:51 +0000 (18:41 +0100)
Resources/Audio/Machines/attributions.yml
Resources/Audio/Machines/shutter.ogg [new file with mode: 0644]
Resources/Locale/en-US/shutter/shutter.ftl [new file with mode: 0644]
Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door.yml
Resources/Prototypes/Entities/Structures/Doors/Shutter/shutters.yml

index e5756369be210989d8ea7d96231276adc0b54b43..12a46ae1eb63766f34228bd6e9b6fa78ad7b2e0b 100644 (file)
   license: "CC0-1.0"
   copyright: "by AftrLite (Github). Uses audio from hypospray.ogg and hiss.ogg (Found in Resources/Audio/Items)"
   source: "https://github.com/space-wizards/space-station-14/pull/33097"
+
+- files: ["shutter.ogg"]
+  license: "CC-BY-3.0"
+  copyright: "Created by Tomlija, converted to OGG and modified by themias."
+  source: "https://freesound.org/people/Tomlija/sounds/99565/"
\ No newline at end of file
diff --git a/Resources/Audio/Machines/shutter.ogg b/Resources/Audio/Machines/shutter.ogg
new file mode 100644 (file)
index 0000000..f3430aa
Binary files /dev/null and b/Resources/Audio/Machines/shutter.ogg differ
diff --git a/Resources/Locale/en-US/shutter/shutter.ftl b/Resources/Locale/en-US/shutter/shutter.ftl
new file mode 100644 (file)
index 0000000..3ddcf6d
--- /dev/null
@@ -0,0 +1 @@
+shutter-rattle = *rattle rattle*
\ No newline at end of file
index ef25bea8c8faff8e0dbd7724d34906418e185ffc..d61f6dd21c908147df48124942627a37b56bef7e 100644 (file)
     crushDamage:
       types:
         Blunt: 25 # yowch
+    openSound:
+      path: /Audio/Machines/blastdoor.ogg
+    closeSound:
+      path: /Audio/Machines/blastdoor.ogg
   - type: Occluder
   - type: Appearance
   - type: RadiationBlocker
     - board
   - type: StaticPrice
     price: 500
+  - type: InteractionPopup
+    interactSuccessString: comp-window-knock
+    messagePerceivedByOthers: comp-window-knock
+    interactSuccessSound:
+      path: /Audio/Effects/glass_knock.ogg
 
 - type: entity
   id: BlastDoorOpen
index 22e893708a81ffb6ee43c2bb299bbdbd2d0e9ad3..41e85e6c3fa1a4c35b888686fe5b6a2a0389475c 100644 (file)
@@ -52,9 +52,9 @@
       types:
         Blunt: 5 # getting shutters closed on you probably doesn't hurt that much
     openSound:
-      path: /Audio/Machines/blastdoor.ogg
+      path: /Audio/Machines/shutter.ogg
     closeSound:
-      path: /Audio/Machines/blastdoor.ogg
+      path: /Audio/Machines/shutter.ogg
   - type: Weldable
     time: 3
   - type: Appearance
     lastSignals:
       DoorStatus: false
   - type: InteractionPopup
-    interactSuccessString: comp-window-knock
-    messagePerceivedByOthers: comp-window-knock
+    interactSuccessString: shutter-rattle
+    messagePerceivedByOthers: shutter-rattle
     interactSuccessSound:
-      path: /Audio/Effects/glass_knock.ogg
+      collection: FenceRattle
   - type: BlockWeather
 
 - type: entity