Containers with access readers have properly restrictive access (#5927)

This commit is contained in:
Rane
2021-12-30 21:27:28 -05:00
committed by GitHub
parent abba1e1c2c
commit c5ce019764
3 changed files with 13 additions and 13 deletions

View File

@@ -109,7 +109,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Bar"]]
- type: entity - type: entity
parent: VendingMachine parent: VendingMachine
@@ -138,7 +138,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Bar"]]
- type: entity - type: entity
parent: VendingMachine parent: VendingMachine
@@ -469,7 +469,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Hydroponics"]]
- type: PointLight - type: PointLight
radius: 1.5 radius: 1.5
energy: 1.6 energy: 1.6
@@ -538,7 +538,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Hydroponics"]]
- type: PointLight - type: PointLight
radius: 1.5 radius: 1.5
energy: 1.6 energy: 1.6

View File

@@ -76,7 +76,7 @@
state_open: ce_open state_open: ce_open
state_closed: ce_door state_closed: ce_door
- type: AccessReader - type: AccessReader
access: [ [ "Engineering", "Command" ] ] access: [ [ "ChiefEngineer" ] ]
# Electrical supplies # Electrical supplies
- type: entity - type: entity
@@ -151,7 +151,7 @@
state_open: freezer_open state_open: freezer_open
state_closed: freezer_door state_closed: freezer_door
- type: AccessReader - type: AccessReader
access: [ [ "Service" ] ] access: [ [ "Kitchen" ] ]
# Botanist # Botanist
- type: entity - type: entity
@@ -166,7 +166,7 @@
state_open: hydro_open state_open: hydro_open
state_closed: hydro_door state_closed: hydro_door
- type: AccessReader - type: AccessReader
access: [ [ "Service" ] ] access: [ [ "Hydroponics" ] ]
# Medicine # Medicine
- type: entity - type: entity
@@ -227,7 +227,7 @@
state_open: cmo_open state_open: cmo_open
state_closed: cmo_door state_closed: cmo_door
- type: AccessReader - type: AccessReader
access: [ [ "Medical", "Command" ] ] access: [ [ "ChiefMedicalOfficer" ] ]
# Science # Science
- type: entity - type: entity
@@ -242,7 +242,7 @@
state_open: rd_open state_open: rd_open
state_closed: rd_door state_closed: rd_door
- type: AccessReader - type: AccessReader
access: [ [ "Research", "Command" ] ] access: [ [ "ResearchDirector" ] ]
- type: entity - type: entity
id: LockerScientist id: LockerScientist
@@ -271,7 +271,7 @@
state_open: hos_open state_open: hos_open
state_closed: hos_door state_closed: hos_door
- type: AccessReader - type: AccessReader
access: [["Security", "Command"]] access: [["HeadOfSecurity"]]
# Warden # Warden
- type: entity - type: entity
@@ -311,7 +311,7 @@
description: Usually cold and empty... like your heart. description: Usually cold and empty... like your heart.
components: components:
- type: AccessReader - type: AccessReader
access: [["Service"]] # TODO access [["Detective"]] access: [["Security"]] # TODO access [["Detective"]]
# Syndicate # Syndicate
- type: entity - type: entity

View File

@@ -495,7 +495,7 @@
parent: CrateBaseSecure parent: CrateBaseSecure
components: components:
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Hydroponics"]]
- type: Lock - type: Lock
- type: Sprite - type: Sprite
sprite: Structures/Storage/Crates/hydro_secure.rsi sprite: Structures/Storage/Crates/hydro_secure.rsi
@@ -524,7 +524,7 @@
parent: CrateBaseSecure parent: CrateBaseSecure
components: components:
- type: AccessReader - type: AccessReader
access: [["Security"]] access: [["Armory"]]
- type: Lock - type: Lock
- type: Sprite - type: Sprite
sprite: Structures/Storage/Crates/weapon.rsi sprite: Structures/Storage/Crates/weapon.rsi