High Security Door (#8148)
* Add files via upload * Update layouts.yml * Add files via upload * Update highsec.yml * Update highsec.yml * Update highsec.yml * Update meta.json * Update meta.json * Add files via upload * Delete panel_closed.png * Update meta.json * Update meta.json * Update meta.json * Update layouts.yml
@@ -0,0 +1,89 @@
|
|||||||
|
- type: entity
|
||||||
|
id: HighSecDoor
|
||||||
|
parent: BaseStructure
|
||||||
|
name: high security door
|
||||||
|
description: Keeps the bad out and keeps the good in.
|
||||||
|
components:
|
||||||
|
- type: InteractionOutline
|
||||||
|
- type: Sprite
|
||||||
|
netsync: false
|
||||||
|
sprite: Structures/Doors/Airlocks/highsec/highsec.rsi
|
||||||
|
layers:
|
||||||
|
- state: closed
|
||||||
|
map: ["enum.DoorVisualLayers.Base"]
|
||||||
|
- state: closed_unlit
|
||||||
|
shader: unshaded
|
||||||
|
map: ["enum.DoorVisualLayers.BaseUnlit"]
|
||||||
|
- state: welded
|
||||||
|
map: ["enum.WeldableLayers.BaseWelded"]
|
||||||
|
- state: bolted_unlit
|
||||||
|
shader: unshaded
|
||||||
|
map: ["enum.DoorVisualLayers.BaseBolted"]
|
||||||
|
- state: emergency_unlit
|
||||||
|
map: ["enum.DoorVisualLayers.BaseEmergencyAccess"]
|
||||||
|
shader: unshaded
|
||||||
|
- state: panel_open
|
||||||
|
map: ["enum.WiresVisualLayers.MaintenancePanel"]
|
||||||
|
- type: Physics
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
- shape:
|
||||||
|
!type:PhysShapeAabb
|
||||||
|
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
|
||||||
|
mass: 100
|
||||||
|
mask:
|
||||||
|
- FullTileMask
|
||||||
|
layer:
|
||||||
|
- WallLayer
|
||||||
|
- type: Door
|
||||||
|
board: DoorElectronics
|
||||||
|
crushDamage:
|
||||||
|
types:
|
||||||
|
Blunt: 50
|
||||||
|
openSound:
|
||||||
|
path: /Audio/Machines/airlock_open.ogg
|
||||||
|
closeSound:
|
||||||
|
path: /Audio/Machines/airlock_close.ogg
|
||||||
|
denySound:
|
||||||
|
path: /Audio/Machines/airlock_deny.ogg
|
||||||
|
- type: Weldable
|
||||||
|
fuel: 10
|
||||||
|
time: 10
|
||||||
|
- type: Airlock
|
||||||
|
- type: Appearance
|
||||||
|
visuals:
|
||||||
|
- type: AirlockVisualizer
|
||||||
|
- type: WiresVisualizer
|
||||||
|
- type: ApcPowerReceiver
|
||||||
|
powerLoad: 20
|
||||||
|
- type: ExtensionCableReceiver
|
||||||
|
- type: Electrified
|
||||||
|
enabled: false
|
||||||
|
usesApcPower: true
|
||||||
|
- type: Wires
|
||||||
|
BoardName: "HighSec Control"
|
||||||
|
LayoutId: HighSec
|
||||||
|
alwaysRandomize: true
|
||||||
|
- type: UserInterface
|
||||||
|
interfaces:
|
||||||
|
- key: enum.WiresUiKey.Key
|
||||||
|
type: WiresBoundUserInterface
|
||||||
|
- type: Airtight
|
||||||
|
fixVacuum: true
|
||||||
|
- type: Occluder
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Metallic
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 1500
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
- type: IconSmooth
|
||||||
|
key: walls
|
||||||
|
mode: NoSprite
|
||||||
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
@@ -21,6 +21,17 @@
|
|||||||
parent: Airlock
|
parent: Airlock
|
||||||
id: AirlockArmory
|
id: AirlockArmory
|
||||||
|
|
||||||
|
- type: wireLayout
|
||||||
|
id: HighSec
|
||||||
|
wires:
|
||||||
|
- !type:PowerWireAction
|
||||||
|
pulseTimeout: 10
|
||||||
|
- !type:DoorBoltWireAction
|
||||||
|
- !type:DoorBoltLightWireAction
|
||||||
|
- !type:DoorTimingWireAction
|
||||||
|
- !type:DoorSafetyWireAction
|
||||||
|
dummyWires: 5
|
||||||
|
|
||||||
- type: wireLayout
|
- type: wireLayout
|
||||||
id: Vending
|
id: Vending
|
||||||
wires:
|
wires:
|
||||||
|
|||||||
|
After Width: | Height: | Size: 961 B |
|
After Width: | Height: | Size: 303 B |
|
After Width: | Height: | Size: 831 B |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 681 B |
|
After Width: | Height: | Size: 437 B |
|
After Width: | Height: | Size: 298 B |
@@ -0,0 +1,190 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from tg station at commit https://github.com/tgstation/tgstation/commit/6f450d93a6bfcc94e9c43ef7938e85bda49f7b6f",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bolted_unlit"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closed"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closed_unlit"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closing",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closing_unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "deny_unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "opening",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "opening_unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel_closing",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel_open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel_opening",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.07,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sparks",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sparks_broken",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sparks_damaged",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
1.7
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sparks_open",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "welded"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "emergency_unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.4,
|
||||||
|
0.4
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 735 B |
|
After Width: | Height: | Size: 445 B |
|
After Width: | Height: | Size: 315 B |
|
After Width: | Height: | Size: 470 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 452 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 419 B |
|
After Width: | Height: | Size: 376 B |