]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
small ambient sound update (#15480)
authorKit0vras <123590995+Kit0vras@users.noreply.github.com>
Sat, 22 Apr 2023 10:40:57 +0000 (13:40 +0300)
committerGitHub <noreply@github.com>
Sat, 22 Apr 2023 10:40:57 +0000 (20:40 +1000)
Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml
Resources/Prototypes/Entities/Structures/Lighting/ground_lighting.yml
Resources/Prototypes/Entities/Structures/Power/substation.yml

index 6d5c0388116c8d82c53dc594be2fb452c2203f51..aecaff15264f357866e899d8fca178dda6e14ff5 100644 (file)
     damage:
       types:
         Heat: 5
+  - type: AmbientOnPowered
+  - type: AmbientSound
+    volume: -15
+    range: 2
+    sound:
+      path: /Audio/Ambience/Objects/light_hum.ogg
 
 #LED lights
 - type: entity
index 7e6d1b96dc20ad893f8871af45ebe68763d6e1ca..6a7312f351a38bd6f4052137362db15b418b6031 100644 (file)
@@ -42,7 +42,6 @@
         sound:
           path: /Audio/Effects/metalbreak.ogg
 
-
 - type: entity
   parent: BaseLightStructure
   id: LightPostSmall
@@ -66,7 +65,6 @@
     softness: 1
     offset: "0, -0.5"
 
-
 - type: entity
   id: PoweredLightPostSmallEmpty
   name: post light
         Heat: 20
   - type: StaticPrice
     price: 25
+  - type: AmbientOnPowered
+  - type: AmbientSound
+    volume: -15
+    range: 3
+    sound:
+      path: /Audio/Ambience/Objects/light_hum.ogg
index 03dca532bc1cfe18989b765f57565979a6889623..dfe34757ebb5ae8f429e7d34aee1aab0d302f44f 100644 (file)
   - type: Machine
     board: SubstationMachineCircuitboard
   - type: StationInfiniteBatteryTarget
+  - type: AmbientOnPowered
+  - type: AmbientSound
+    volume: -5
+    range: 3
+    sound:
+      path: /Audio/Ambience/Objects/buzzing.ogg
 
 # Compact Wall Substation Base
 - type: entity
   components:
   - type: AmbientOnPowered
   - type: AmbientSound
-    volume: -15
+    volume: -5
     range: 2
     sound:
-      path: /Audio/Ambience/Objects/hdd_buzz.ogg
+      path: /Audio/Ambience/Objects/buzzing.ogg
   - type: PointLight
     netsync: false
     radius: 1.5