Loudspeaker

This commit is contained in:
BIGZi0348
2024-12-29 16:00:55 +03:00
parent 7d103834d2
commit 1907ecc399
11 changed files with 153 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,3 @@
hopspeaker-next = СЛЕДУЮЩИЙ!
ent-HOPSpeaker = громкоговоритель
.desc = Особо экстравагантный способ продвинуть очередь.

View File

@@ -0,0 +1,58 @@
- type: entity
id: HOPSpeaker
name: loudspeaker
description: An especially extravagant way to move the queue.
placement:
mode: SnapgridCenter
snap:
- Wallmount
components:
- type: HopSpeaker
- type: PapersSpeech
- type: Speech
- type: Transform
anchored: true
- type: WallMount
arc: 360
- type: InteractionOutline
- type: Clickable
- type: Appearance
- type: Sprite
drawdepth: WallMountedItems
sprite: White/Structures/Wallmounts/speaker.rsi
state: speaker
noRot: true
- type: TriggerOnSignal
- type: DeviceNetwork
deviceNetId: Wireless
receiveFrequencyId: BasicDevice
- type: WirelessNetworkConnection
range: 200
- type: DeviceLinkSink
ports:
- Trigger
- type: ApcPowerReceiver
powerLoad: 500
needsPower: true
- type: Electrified
enabled: false
usesApcPower: true
- type: ExtensionCableReceiver
- type: Damageable
damageContainer: StructuralInorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
- !type:DoActsBehavior
acts: ["Destruction"]
- type: MeleeSound
soundGroups:
Brute:
path:
"/Audio/Weapons/smash.ogg"

View File

@@ -61,3 +61,7 @@
- type: font
id: Emoji
path: /Fonts/NotoEmoji.ttf
- type: font # WD
id: BureaucracyPixel
path: /Fonts/BureaucracyPixel/BureaucracyPixel.ttf

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Nickel",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "speaker"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B