See-Through Shuttle Wall (#9306)
This commit is contained in:
53
Resources/Prototypes/Entities/Structures/Windows/shuttle.yml
Normal file
53
Resources/Prototypes/Entities/Structures/Windows/shuttle.yml
Normal 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
|
||||
Reference in New Issue
Block a user