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.Systems;
using Content.Server.Medical.SuitSensors;

View File

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

View File

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

View File

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

View File

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