Make wallmount screen, telescreen, and signal timer destructible (#39340)

* make wallmount screen destructible

* louder

* fix indent

* fix indent
This commit is contained in:
qwerltaz
2025-08-03 19:12:02 +02:00
committed by GitHub
parent 819e342a4f
commit 777e89ab3e
3 changed files with 33 additions and 0 deletions

View File

@@ -12,6 +12,17 @@
state: telescreen_frame
- map: ["computerLayerScreen"]
state: telescreen
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- type: Construction
graph: WallmountTelescreen
node: Telescreen

View File

@@ -14,6 +14,17 @@
sprite: Structures/Wallmounts/screen.rsi
state: screen
noRot: true
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- type: ApcPowerReceiver
powerLoad: 100
- type: ExtensionCableReceiver

View File

@@ -12,6 +12,17 @@
sprite: Structures/Wallmounts/switch.rsi
state: on
- type: Appearance
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- type: Rotatable
- type: SignalTimer
canEditLabel: false