From 777e89ab3edeac9386d243554ad365df13eadcdc Mon Sep 17 00:00:00 2001 From: qwerltaz <69696513+qwerltaz@users.noreply.github.com> Date: Sun, 3 Aug 2025 19:12:02 +0200 Subject: [PATCH] Make wallmount screen, telescreen, and signal timer destructible (#39340) * make wallmount screen destructible * louder * fix indent * fix indent --- .../WallmountMachines/Monitors/telescreens.yml | 11 +++++++++++ .../Wallmounts/WallmountMachines/screen.yml | 11 +++++++++++ .../Structures/Wallmounts/WallmountMachines/timer.yml | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/Monitors/telescreens.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/Monitors/telescreens.yml index fd2ba1d072..ed585aa185 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/Monitors/telescreens.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/Monitors/telescreens.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml index bb794e8ac0..94244d3d99 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/screen.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/timer.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/timer.yml index 895b84eb7b..a9003f7e79 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/timer.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/WallmountMachines/timer.yml @@ -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 -- 2.51.2