the lights sound is louder now (#667)

This commit is contained in:
ThereDrD
2024-08-26 07:49:27 +03:00
committed by GitHub
parent ee498d3718
commit 8dbce47912
3 changed files with 16 additions and 32 deletions

View File

@@ -3,6 +3,17 @@
#Empty - on map init, light spawns without bulb #Empty - on map init, light spawns without bulb
#Blue/Sodium/etc. - the color of the light #Blue/Sodium/etc. - the color of the light
- type: entity # WD
id: LightAmbientSound
abstract: true
components:
- type: AmbientOnPowered
- type: AmbientSound
volume: -11
range: 3
sound:
path: /Audio/Ambience/Objects/light_hum.ogg
#Basic lights #Basic lights
- type: entity - type: entity
id: AlwaysPoweredWallLight id: AlwaysPoweredWallLight
@@ -124,7 +135,7 @@
id: Poweredlight id: Poweredlight
description: "A light fixture. Draws power and produces light when equipped with a light tube." description: "A light fixture. Draws power and produces light when equipped with a light tube."
suffix: "" suffix: ""
parent: PoweredlightEmpty parent: [PoweredlightEmpty, LightAmbientSound] # WD
components: components:
- type: Sprite - type: Sprite
state: base state: base
@@ -135,12 +146,6 @@
damage: damage:
types: types:
Heat: 2 Heat: 2
- type: AmbientOnPowered
- type: AmbientSound
volume: -15
range: 2
sound:
path: /Audio/Ambience/Objects/light_hum.ogg
#LED lights #LED lights
- type: entity - type: entity
@@ -230,13 +235,8 @@
description: "An always powered light." description: "An always powered light."
id: SmallLight id: SmallLight
suffix: Always Powered suffix: Always Powered
parent: AlwaysPoweredWallLight parent: [AlwaysPoweredWallLight, LightAmbientSound] # WD
components: components:
- type: AmbientSound
volume: -15
range: 2
sound:
path: /Audio/Ambience/Objects/light_hum.ogg
- type: Sprite - type: Sprite
sprite: Structures/Wallmounts/Lighting/light_small.rsi sprite: Structures/Wallmounts/Lighting/light_small.rsi
state: base state: base

View File

@@ -111,7 +111,7 @@
name: post light name: post light
description: "A light fixture. Draws power and produces light when equipped with a light tube." description: "A light fixture. Draws power and produces light when equipped with a light tube."
suffix: "" suffix: ""
parent: PoweredLightPostSmallEmpty parent: [PoweredLightPostSmallEmpty, LightAmbientSound] # WD
components: components:
- type: Sprite - type: Sprite
state: base state: base
@@ -124,19 +124,13 @@
Heat: 2 Heat: 2
- type: StaticPrice - type: StaticPrice
price: 25 price: 25
- type: AmbientOnPowered
- type: AmbientSound
volume: -15
range: 3
sound:
path: /Audio/Ambience/Objects/light_hum.ogg
- type: entity - type: entity
id: PoweredLEDLightPostSmall id: PoweredLEDLightPostSmall
name: post light name: post light
description: "A light fixture. Draws power and produces light when equipped with a light tube." description: "A light fixture. Draws power and produces light when equipped with a light tube."
suffix: LED suffix: LED
parent: PoweredLightPostSmallEmpty parent: [PoweredLightPostSmallEmpty, LightAmbientSound] # WD
components: components:
- type: Sprite - type: Sprite
state: base state: base
@@ -153,9 +147,3 @@
Heat: 1 Heat: 1
- type: StaticPrice - type: StaticPrice
price: 25 price: 25
- type: AmbientOnPowered
- type: AmbientSound
volume: -15
range: 3
sound:
path: /Audio/Ambience/Objects/light_hum.ogg

View File

@@ -1,14 +1,10 @@
- type: entity - type: entity
id: AlwaysPoweredStrobeLight id: AlwaysPoweredStrobeLight
parent: LightAmbientSound # WD
name: strobe name: strobe
description: "UH?! Sorry, all I can hear is WEE-OOO-WEE-OOO!" description: "UH?! Sorry, all I can hear is WEE-OOO-WEE-OOO!"
suffix: Always powered suffix: Always powered
components: components:
- type: AmbientSound
volume: -15
range: 2
sound:
path: /Audio/Ambience/Objects/light_hum.ogg
- type: MeleeSound - type: MeleeSound
soundGroups: soundGroups:
Brute: Brute: