More airlocks & Access (glass externals, docks etc) (#6677)

This commit is contained in:
Peptide90
2022-02-14 03:20:29 +00:00
committed by GitHub
parent ca8b2549d4
commit 60524f890f
19 changed files with 359 additions and 62 deletions

View File

@@ -79,7 +79,6 @@
- type: AccessReader
access: [["Kitchen"], ["Hydroponics"]]
- type: entity
parent: AirlockEngineering
id: AirlockEngineeringLocked
@@ -265,6 +264,14 @@
- type: AccessReader
access: [["Bar"]]
- type: entity
parent: AirlockExternalGlass
id: AirlockExternalGlassLocked
suffix: External, Locked
components:
- type: AccessReader
access: [["External"]]
- type: entity
parent: AirlockGlass
id: AirlockKitchenGlassLocked
@@ -353,6 +360,54 @@
- type: AccessReader
access: [["Command"]]
- type: entity
parent: AirlockCommandGlass
id: AirlockCaptainGlassLocked
suffix: Captain, Locked
components:
- type: AccessReader
access: [["Captain"]]
- type: entity
parent: AirlockCommandGlass
id: AirlockChiefMedicalOfficerGlassLocked
suffix: ChiefMedicalOfficer, Locked
components:
- type: AccessReader
access: [["ChiefMedicalOfficer"]]
- type: entity
parent: AirlockCommandGlass
id: AirlockChiefEngineerGlassLocked
suffix: ChiefEngineer, Locked
components:
- type: AccessReader
access: [["ChiefEngineer"]]
- type: entity
parent: AirlockCommandGlass
id: AirlockHeadOfSecurityGlassLocked
suffix: HeadOfSecurity, Locked
components:
- type: AccessReader
access: [["HeadOfSecurity"]]
- type: entity
parent: AirlockCommandGlass
id: AirlockResearchDirectorGlassLocked
suffix: ResearchDirector, Locked
components:
- type: AccessReader
access: [["ResearchDirector"]]
- type: entity
parent: AirlockCommandGlass
id: AirlockHeadOfPersonnelGlassLocked
suffix: HeadOfPersonnel, Locked
components:
- type: AccessReader
access: [["HeadOfPersonnel"]]
- type: entity
parent: AirlockSecurityGlass
id: AirlockSecurityGlassLocked
@@ -368,6 +423,14 @@
components:
- type: AccessReader
access: [["Brig"]]
- type: entity
parent: AirlockSecurityGlass
id: AirlockArmoryGlassLocked
suffix: Armory, Locked
components:
- type: AccessReader
access: [["Armory"]]
- type: entity
parent: AirlockEVALocked
@@ -534,7 +597,15 @@
- type: entity
parent: AirlockShuttle
id: AirlockExternalShuttleLocked
suffix: External, Locked
suffix: External, Docking, Locked
components:
- type: AccessReader
access: [["External"]]
- type: entity
parent: AirlockGlassShuttle
id: AirlockExternalGlassShuttleLocked
suffix: External, Docking, Locked
components:
- type: AccessReader
access: [["External"]]

View File

@@ -21,3 +21,13 @@
visuals:
- type: AirlockVisualizer
- type: WiresVisualizer
- type: entity
parent: AirlockExternal
id: AirlockExternalGlass
suffix: Glass, External
components:
- type: Occluder
enabled: false
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/external.rsi

View File

@@ -45,3 +45,33 @@
fixVacuum: true
airBlockedDirection:
- South
- type: entity
id: AirlockGlassShuttle
parent: AirlockShuttle
name: external airlock
suffix: Glass, Docking
description: Necessary for connecting two space craft together.
components:
- type: Docking
- type: Sprite
netsync: false
sprite: Structures/Doors/Airlocks/Glass/shuttle.rsi
layers:
- state: closed
map: ["enum.DoorVisualLayers.Base"]
- state: closed_unlit
shader: unshaded
map: ["enum.DoorVisualLayers.BaseUnlit"]
- state: welded
map: ["enum.DoorVisualLayers.BaseWelded"]
- state: bolted_unlit
shader: unshaded
map: ["enum.DoorVisualLayers.BaseBolted"]
- state: emergency_unlit
shader: unshaded
map: ["enum.DoorVisualLayers.BaseEmergencyAccess"]
- state: panel_open
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Occluder
enabled: false

View File

@@ -11,6 +11,7 @@
description: It's a sturdy window and a sliding door. Wow!
# TODO remove these with parameterized prototypes/whatever we end up doing
# Windoors (alphabetical)
- type: entity
parent: Windoor
id: WindoorBarLocked
@@ -18,6 +19,22 @@
components:
- type: AccessReader
access: [["Bar"]]
- type: entity
parent: Windoor
id: WindoorCargoLocked
suffix: Cargo, Locked
components:
- type: AccessReader
access: [["Cargo"]]
- type: entity
parent: Windoor
id: WindoorChapelLocked
suffix: Chapel, Locked
components:
- type: AccessReader
access: [["Chapel"]]
- type: entity
parent: Windoor
@@ -28,12 +45,54 @@
access: [["Hydroponics"]]
- type: entity
parent: WindoorSecure
id: WindoorMedicalLocked
suffix: Medical, Locked
parent: Windoor
id: WindoorJanitorLocked
suffix: Janitor, Locked
components:
- type: AccessReader
access: [["Medical"]]
access: [["Janitor"]]
- type: entity
parent: Windoor
id: WindoorKitchenLocked
suffix: Kitchen, Locked
components:
- type: AccessReader
access: [["Kitchen"]]
- type: entity
parent: Windoor
id: WindoorTheatreLocked
suffix: Theatre, Locked
components:
- type: AccessReader
access: [["Theatre"]]
# Secure
- type: entity
parent: WindoorSecurityLocked
id: WindoorArmoryLocked
suffix: Armory, Locked
components:
- type: AccessReader
access: [["Armory"]]
- type: entity
parent: WindoorSecurityLocked
id: WindoorBrigLocked
suffix: Brig, Locked
components:
- type: AccessReader
access: [["Brig"]]
- type: entity
parent: WindoorSecure
id: WindoorSecureChapelLocked
suffix: Chapel, Locked
components:
- type: AccessReader
access: [["Chapel"]]
- type: entity
parent: WindoorSecure
@@ -42,15 +101,7 @@
components:
- type: AccessReader
access: [["Chemistry"]]
- type: entity
parent: WindoorSecure
id: WindoorScienceLocked
suffix: Science, Locked
components:
- type: AccessReader
access: [["Research"]]
- type: entity
parent: WindoorSecure
id: WindoorCommandLocked
@@ -62,12 +113,44 @@
LayoutId: WindoorCommand
- type: entity
parent: Windoor
id: WindoorCargoLocked
suffix: Cargo, Locked
parent: WindoorSecure
id: WindoorEngineeringLocked
suffix: Engineering, Locked
components:
- type: AccessReader
access: [["Cargo"]]
access: [["Engineering"]]
- type: entity
parent: WindoorSecure
id: WindoorSecureJanitorLocked
suffix: Janitor, Locked
components:
- type: AccessReader
access: [["Janitor"]]
- type: entity
parent: WindoorSecure
id: WindoorSecureKitchenLocked
suffix: Kitchen, Locked
components:
- type: AccessReader
access: [["Kitchen"]]
- type: entity
parent: WindoorSecure
id: WindoorMedicalLocked
suffix: Medical, Locked
components:
- type: AccessReader
access: [["Medical"]]
- type: entity
parent: WindoorSecure
id: WindoorSecureSalvageLocked
suffix: Salvage, Locked
components:
- type: AccessReader
access: [["Salvage"]]
- type: entity
parent: WindoorSecure
@@ -79,50 +162,10 @@
- type: Wires
LayoutId: WindoorSecurity
- type: entity
parent: WindoorSecurityLocked
id: WindoorBrigLocked
suffix: Brig, Locked
components:
- type: AccessReader
access: [["Brig"]]
- type: entity
parent: WindoorSecurityLocked
id: WindoorArmoryLocked
suffix: Armory, Locked
components:
- type: AccessReader
access: [["Armory"]]
- type: entity
parent: WindoorSecure
id: WindoorEngineeringLocked
suffix: Engineering, Locked
id: WindoorScienceLocked
suffix: Science, Locked
components:
- type: AccessReader
access: [["Engineering"]]
- type: entity
parent: WindoorSecure
id: WindoorChapelLocked
suffix: Chapel, Locked
components:
- type: AccessReader
access: [["Chapel"]]
- type: entity
parent: WindoorSecure
id: WindoorJanitorLocked
suffix: Janitor, Locked
components:
- type: AccessReader
access: [["Janitor"]]
- type: entity
parent: WindoorSecure
id: WindoorKitchenLocked
suffix: Kitchen, Locked
components:
- type: AccessReader
access: [["Kitchen"]]
access: [["Research"]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -0,0 +1,143 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from CEV-Eris at commit https://github.com/discordia-space/CEV-Eris/commit/14517938186858388656a6aee14bf47af9e9649f - then modified by 20kdc & AJCM-git, glass by Peptide90",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "bolted_unlit"
},
{
"name": "closed"
},
{
"name": "closed_unlit"
},
{
"name": "closing",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "closing_unlit",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "deny_unlit",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "open"
},
{
"name": "opening",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "opening_unlit",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "panel_closing",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "panel_open"
},
{
"name": "panel_opening",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "welded"
},
{
"name": "emergency_unlit",
"delays": [
[
0.4,
0.4
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB