Airlock assembly prototypes (#23821)
* adds prototypes for airlock assemblies for other doors * fix tests
@@ -1,44 +1,347 @@
|
|||||||
|
#Atmospherics
|
||||||
- type: entity
|
- type: entity
|
||||||
id: AirlockAssembly
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyAtmospherics
|
||||||
name: airlock assembly
|
name: airlock assembly
|
||||||
description: It opens, it closes, and maybe crushes you.
|
suffix: Atmospherics
|
||||||
components:
|
components:
|
||||||
- type: Clickable
|
|
||||||
- type: InteractionOutline
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Doors/Airlocks/Standard/basic.rsi
|
sprite: Structures/Doors/Airlocks/Standard/atmospherics.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyAtmosphericsGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Atmospherics, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/atmospherics.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Cargo
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyCargo
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Cargo
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/cargo.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyCargoGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Cargo, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/cargo.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Command
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyCommand
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Command
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/command.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyCommandGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Command, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/command.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Engineering
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyEngineering
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Engineering
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/engineering.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyEngineeringGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Engineering, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/engineering.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#External
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyExternal
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: External
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/external.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyExternalGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: External, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/external.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Public (Glass Airlock)
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/glass.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Freezer
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyFreezer
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Freezer
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/freezer.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Maintenance
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyMaintenance
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Maintenance
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/maint.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyMaintenanceGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Maintenance, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/maint.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Medical
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyMedical
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Medical
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/medical.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyMedicalGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Medical, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/medical.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Science
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyScience
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Science
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/science.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyScienceGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Science, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/science.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Security
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblySecurity
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Security
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/security.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblySecurityGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Security, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/security.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Shuttle
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyShuttle
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Shuttle
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/shuttle.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyShuttleGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Shuttle, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/shuttle.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Virology
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyVirology
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Virology
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/virology.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyVirologyGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Virology, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/virology.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#CentralCommand
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyCentralCommand
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: CentralCommand
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/centcomm.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyCentralCommandGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: CentralCommand, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/centcomm.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Mining
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyMining
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Mining
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/mining.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyMiningGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Mining, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/mining.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#Syndicate
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblySyndicate
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Syndicate
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/syndicate.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblySyndicateGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: Syndicate, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/syndicate.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#ShuttleSyndicate
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyShuttleSyndicate
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: ShuttleSyndicate
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyShuttleSyndicateGlass
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: ShuttleSyndicate, Glass
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi
|
||||||
|
state: "assembly"
|
||||||
|
|
||||||
|
#High Security
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockAssembly
|
||||||
|
id: AirlockAssemblyHighSec
|
||||||
|
name: airlock assembly
|
||||||
|
suffix: HighSec
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/highsec/highsec.rsi
|
||||||
state: "assembly"
|
state: "assembly"
|
||||||
- type: Physics
|
|
||||||
- type: Fixtures
|
|
||||||
fixtures:
|
|
||||||
fix1:
|
|
||||||
shape:
|
|
||||||
!type:PhysShapeAabb
|
|
||||||
bounds: "-0.45,-0.45,0.45,0.45"
|
|
||||||
density: 110
|
|
||||||
mask:
|
|
||||||
- FullTileMask
|
|
||||||
layer:
|
|
||||||
- HumanoidBlockLayer
|
|
||||||
- type: Anchorable
|
|
||||||
delay: 2
|
|
||||||
- type: Pullable
|
|
||||||
- type: Transform
|
|
||||||
anchored: true
|
|
||||||
noRot: true
|
|
||||||
- type: Damageable
|
|
||||||
damageContainer: Inorganic
|
|
||||||
damageModifierSet: Metallic
|
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 300
|
|
||||||
behaviors:
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: ["Destruction"]
|
|
||||||
- type: Construction
|
|
||||||
graph: Airlock
|
|
||||||
node: assembly
|
|
||||||
placement:
|
|
||||||
mode: SnapgridCenter
|
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
#Base
|
||||||
|
- type: entity
|
||||||
|
id: AirlockAssembly
|
||||||
|
name: airlock assembly
|
||||||
|
description: It opens, it closes, and maybe crushes you.
|
||||||
|
components:
|
||||||
|
- type: Clickable
|
||||||
|
- type: InteractionOutline
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Airlocks/Standard/basic.rsi
|
||||||
|
state: "assembly"
|
||||||
|
- type: Physics
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
fix1:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeAabb
|
||||||
|
bounds: "-0.45,-0.45,0.45,0.45"
|
||||||
|
density: 110
|
||||||
|
mask:
|
||||||
|
- FullTileMask
|
||||||
|
layer:
|
||||||
|
- HumanoidBlockLayer
|
||||||
|
- type: Anchorable
|
||||||
|
delay: 2
|
||||||
|
- type: Pullable
|
||||||
|
- type: Transform
|
||||||
|
anchored: true
|
||||||
|
noRot: true
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Metallic
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 300
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
- type: Construction
|
||||||
|
graph: Airlock
|
||||||
|
node: assembly
|
||||||
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
|
Before Width: | Height: | Size: 1023 B After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
@@ -7,6 +7,9 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "bolted_unlit"
|
"name": "bolted_unlit"
|
||||||
},
|
},
|
||||||
|
|||||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -7,6 +7,9 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "bolted_unlit"
|
"name": "bolted_unlit"
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 935 B |
@@ -7,6 +7,9 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "bolted_unlit"
|
"name": "bolted_unlit"
|
||||||
},
|
},
|
||||||
|
|||||||
|
After Width: | Height: | Size: 991 B |
@@ -7,6 +7,9 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "bolted_unlit"
|
"name": "bolted_unlit"
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 952 B After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
@@ -7,6 +7,9 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "bolted_unlit"
|
"name": "bolted_unlit"
|
||||||
},
|
},
|
||||||
|
|||||||
|
After Width: | Height: | Size: 824 B |
@@ -7,6 +7,9 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "bolted_unlit"
|
"name": "bolted_unlit"
|
||||||
},
|
},
|
||||||
|
|||||||
|
After Width: | Height: | Size: 712 B |
@@ -7,6 +7,9 @@
|
|||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "bolted_unlit"
|
"name": "bolted_unlit"
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 945 B After Width: | Height: | Size: 548 B |