Fix shuttle walls rusting when initialized on station grid (#31162)

* Initial commit

* Also reinforced
This commit is contained in:
SlamBamActionman
2024-08-19 15:43:31 +02:00
committed by GitHub
parent 6c3dad4330
commit 84e5565918

View File

@@ -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