See-Through Shuttle Wall (#9306)

This commit is contained in:
Ablankmann
2022-07-02 22:10:19 -04:00
committed by GitHub
parent 92765cd5b4
commit e6d9c5f622
11 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
- type: entity
id: ShuttleWindow
name: shuttle window
parent: Window
components:
- type: Sprite
drawdepth: WallTops
sprite: Structures/Windows/shuttle_window.rsi
- type: Icon
sprite: Structures/Windows/shuttle_window.rsi
- type: Damageable
damageContainer: Inorganic
damageModifierSet: RGlass
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 1000
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 500
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassReinforced:
min: 1
max: 2
PartRodMetal:
min: 1
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: IconSmooth
base: swindow
- type: Construction
graph: Window
node: shuttleWindow
- type: Appearance
visuals:
- type: DamageVisualizer
thresholds: [4, 8, 12]
damageDivisor: 36
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- type: StaticPrice
price: 75