From: lzk <124214523+lzk228@users.noreply.github.com> Date: Wed, 1 Jan 2025 16:23:01 +0000 (+0100) Subject: Decrease hp for rusted walls (#34043) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=28284415eaaa9110ca2379c11c87a32ad1830f67;p=space-station-14.git Decrease hp for rusted walls (#34043) --- diff --git a/Resources/Prototypes/Entities/Structures/Walls/walls.yml b/Resources/Prototypes/Entities/Structures/Walls/walls.yml index 1e1bec0c18..79fe436872 100644 --- a/Resources/Prototypes/Entities/Structures/Walls/walls.yml +++ b/Resources/Prototypes/Entities/Structures/Walls/walls.yml @@ -640,7 +640,6 @@ - type: entity parent: WallReinforced id: WallReinforcedRust - name: reinforced wall suffix: rusted components: - type: Sprite @@ -654,6 +653,29 @@ - type: IconSmooth key: walls base: reinf_over + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 500 + behaviors: + - !type:DoActsBehavior + acts: ["Destruction"] + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - trigger: + !type:DamageTrigger + damage: 350 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - !type:ChangeConstructionNodeBehavior + node: girder + - !type:DoActsBehavior + acts: ["Destruction"] + - type: entity parent: WallShuttleDiagonal @@ -1047,7 +1069,6 @@ - type: entity parent: WallSolid id: WallSolidRust - name: solid wall suffix: rusted components: - type: Sprite @@ -1061,6 +1082,28 @@ - type: IconSmooth key: walls base: solid + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 300 + behaviors: + - !type:DoActsBehavior + acts: ["Destruction"] + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - trigger: + !type:DamageTrigger + damage: 150 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - !type:ChangeConstructionNodeBehavior + node: girder + - !type:DoActsBehavior + acts: ["Destruction"] - type: entity parent: BaseWall