From: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:43:31 +0000 (+0200) Subject: Fix shuttle walls rusting when initialized on station grid (#31162) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=84e55659184600b13a15f47dcf359065f106da92;p=space-station-14.git Fix shuttle walls rusting when initialized on station grid (#31162) * Initial commit * Also reinforced --- diff --git a/Resources/Prototypes/Entities/Structures/Walls/walls.yml b/Resources/Prototypes/Entities/Structures/Walls/walls.yml index 03593305eb..51cdaa4576 100644 --- a/Resources/Prototypes/Entities/Structures/Walls/walls.yml +++ b/Resources/Prototypes/Entities/Structures/Walls/walls.yml @@ -801,11 +801,40 @@ node: diagonalshuttleWall - type: entity - parent: WallReinforced + parent: BaseWall id: WallShuttle name: shuttle wall suffix: Reinforced, Exterior components: + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: StructuralMetallicStrong + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 600 + behaviors: + - !type:DoActsBehavior + acts: ["Destruction"] + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - trigger: + !type:DamageTrigger + damage: 400 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - !type:ChangeConstructionNodeBehavior + node: girder + - !type:DoActsBehavior + acts: ["Destruction"] + - type: StaticPrice + price: 150 + - type: RadiationBlocker + resistance: 5 - type: Sprite sprite: Structures/Walls/shuttle.rsi - type: Icon @@ -833,11 +862,40 @@ reflectProb: 1 - type: entity - parent: WallSolid + parent: BaseWall id: WallShuttleInterior name: shuttle wall suffix: Interior components: + - type: Tag + tags: + - Wall + - type: RCDDeconstructable + cost: 6 + delay: 8 + fx: EffectRCDDeconstruct8 + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 400 + behaviors: + - !type:DoActsBehavior + acts: ["Destruction"] + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - trigger: + !type:DamageTrigger + damage: 200 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - !type:ChangeConstructionNodeBehavior + node: girder + - !type:DoActsBehavior + acts: ["Destruction"] - type: Sprite sprite: Structures/Walls/shuttleinterior.rsi - type: Icon