See-Through Shuttle Wall (#9306)
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
|
||||||
|
After Width: | Height: | Size: 707 B |
@@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 881 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 881 B |
|
After Width: | Height: | Size: 912 B |
|
After Width: | Height: | Size: 857 B |
|
After Width: | Height: | Size: 912 B |
|
After Width: | Height: | Size: 412 B |