Access fixes (#6215)

This commit is contained in:
Peptide90
2022-01-23 17:43:48 +00:00
committed by GitHub
parent d12261f951
commit 13d428095b
4 changed files with 31 additions and 2 deletions

View File

@@ -92,7 +92,7 @@
id: CrateServicePersonnel
name: personnel crate
description: Contains a box of blank ID cards and PDAs.
parent: CrateGenericSteel
parent: CrateCommandSecure
components:
- type: StorageFill
contents:

View File

@@ -32,7 +32,7 @@
state_open: qm_open
state_closed: qm_door
- type: AccessReader
access: [["Cargo"]] # TODO access [["Quartermaster"]]
access: [["Quartermaster"]]
# Command
- type: entity

View File

@@ -543,6 +543,35 @@
- type: StorageVisualizer
state_open: weaponcrate_open
state_closed: weaponcrate_door
- type: entity
id: CrateCommandSecure
name: command crate
parent: CrateBaseSecure
components:
- type: AccessReader
access: [["Command"]]
- type: Lock
- type: Sprite
sprite: Structures/Storage/Crates/secure.rsi
layers:
- state: securecrate
- state: securecrate_door
map: ["enum.StorageVisualLayers.Door"]
- state: welded
visible: false
map: ["enum.StorageVisualLayers.Welded"]
- state: locked
map: ["enum.StorageVisualLayers.Lock"]
shader: unshaded
- type: Icon
sprite: Structures/Storage/Crates/secure.rsi
state: securecrate_icon
- type: Appearance
visuals:
- type: StorageVisualizer
state_open: securecrate_open
state_closed: securecrate_door
- type: entity
id: CrateLivestock

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB