Fix servers ambience sound (#30091)

* Fix servers ambience

* I'm silly

* Clean up
This commit is contained in:
Winkarst
2024-07-21 10:22:02 +03:00
committed by GitHub
parent 354228c4b9
commit ee2e94a204
5 changed files with 22 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
using Content.Server.DeviceNetwork; using Content.Server.DeviceNetwork;
using Content.Server.DeviceNetwork.Components; using Content.Server.DeviceNetwork.Components;
using Content.Server.DeviceNetwork.Systems; using Content.Server.DeviceNetwork.Systems;
using Content.Server.Medical.SuitSensors; using Content.Server.Medical.SuitSensors;

View File

@@ -56,6 +56,7 @@
SheetSteel1: SheetSteel1:
min: 1 min: 1
max: 2 max: 2
- type: AmbientOnPowered
- type: AmbientSound - type: AmbientSound
volume: -9 volume: -9
range: 5 range: 5

View File

@@ -48,6 +48,7 @@
min: 1 min: 1
max: 2 max: 2
- type: Appearance - type: Appearance
- type: AmbientOnPowered
- type: AmbientSound - type: AmbientSound
volume: -9 volume: -9
range: 5 range: 5

View File

@@ -22,6 +22,12 @@
snapCardinals: true snapCardinals: true
layers: layers:
- state: server - state: server
- type: AmbientOnPowered
- type: AmbientSound
volume: -9
range: 5
sound:
path: /Audio/Ambience/Objects/server_fans.ogg
- type: entity - type: entity
parent: SurveillanceCameraRouterBase parent: SurveillanceCameraRouterBase
@@ -104,6 +110,7 @@
subnetFrequency: SurveillanceCameraGeneral subnetFrequency: SurveillanceCameraGeneral
- type: entity - type: entity
abstract: true
parent: [ BaseMachinePowered, ConstructibleMachine ] parent: [ BaseMachinePowered, ConstructibleMachine ]
id: SurveillanceCameraWirelessRouterBase id: SurveillanceCameraWirelessRouterBase
name: wireless camera router name: wireless camera router
@@ -126,6 +133,12 @@
sprite: Structures/Machines/server.rsi sprite: Structures/Machines/server.rsi
layers: layers:
- state: server - state: server
- type: AmbientOnPowered
- type: AmbientSound
volume: -9
range: 5
sound:
path: /Audio/Ambience/Objects/server_fans.ogg
- type: entity - type: entity
parent: SurveillanceCameraWirelessRouterBase parent: SurveillanceCameraWirelessRouterBase

View File

@@ -21,6 +21,12 @@
True: { visible: true } True: { visible: true }
False: { visible: false } False: { visible: false }
- type: Appearance - type: Appearance
- type: AmbientOnPowered
- type: AmbientSound
volume: -9
range: 5
sound:
path: /Audio/Ambience/Objects/server_fans.ogg
- type: WiresVisuals - type: WiresVisuals
- type: Physics - type: Physics
bodyType: Static bodyType: Static