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

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

View File

@@ -0,0 +1,46 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/0b906c6916ce3803473fa6caa65f5b8661118c46",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "full"
},
{
"name": "swindow0",
"directions": 4
},
{
"name": "swindow1",
"directions": 4
},
{
"name": "swindow2",
"directions": 4
},
{
"name": "swindow3",
"directions": 4
},
{
"name": "swindow4",
"directions": 4
},
{
"name": "swindow5",
"directions": 4
},
{
"name": "swindow6",
"directions": 4
},
{
"name": "swindow7",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B