Shuttle walls (#7219)
@@ -32,6 +32,8 @@
|
||||
- Impassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- Impassable
|
||||
- type: Occluder
|
||||
sizeX: 32
|
||||
sizeY: 32
|
||||
|
||||
@@ -462,6 +462,97 @@
|
||||
key: walls
|
||||
base: silver
|
||||
|
||||
- type: entity
|
||||
id: WallShuttleDiagonal
|
||||
name: shuttle wall
|
||||
suffix: diagonal
|
||||
description: Keeps the air in and the greytide out.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wall
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Clickable
|
||||
- type: Tag
|
||||
tags:
|
||||
- Wall
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
drawdepth: Walls
|
||||
# TODO: Icon smoothing support
|
||||
sprite: Structures/Walls/shuttle_diagonal.rsi
|
||||
state: state0
|
||||
- type: Icon
|
||||
sprite: Structures/Walls/shuttle_diagonal.rsi
|
||||
state: state0
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Pullable
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PolygonShape
|
||||
vertices:
|
||||
- "-0.5,-0.5"
|
||||
- "0.5,0.5"
|
||||
- "0.5,-0.5"
|
||||
layer:
|
||||
- Opaque
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- Impassable
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 300
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
destroySound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
|
||||
- type: entity
|
||||
parent: WallBase
|
||||
id: WallShuttle
|
||||
name: shuttle wall
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
- Wall
|
||||
- RCDDeconstructWhitelist
|
||||
- type: Sprite
|
||||
sprite: Structures/Walls/shuttle.rsi
|
||||
- type: Icon
|
||||
sprite: Structures/Walls/shuttle.rsi
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 500
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
destroySound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
- type: IconSmooth
|
||||
key: walls
|
||||
base: state
|
||||
|
||||
- type: entity
|
||||
parent: WallBase
|
||||
id: WallSolid
|
||||
|
||||
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/full.png
Normal file
|
After Width: | Height: | Size: 302 B |
46
Resources/Textures/Structures/Walls/shuttle.rsi/meta.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/tgstation/tgstation/blob/9ddb8cf084e292571d4e9c79745db25befbd82fe/icons/turf/walls/shuttle_wall.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "state0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "state1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "state2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "state3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "state4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "state5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "state6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "state7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state0.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state1.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state2.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state3.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state4.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state5.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state6.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
Resources/Textures/Structures/Walls/shuttle.rsi/state7.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/tgstation/tgstation/blob/9ddb8cf084e292571d4e9c79745db25befbd82fe/icons/turf/walls/shuttle_wall.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "state0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 350 B |