Add access restrictions to vending machines (#2471)

* Add vending machine access restrictions

* oops

* Handle null

* Flick deny upon access denied

Co-authored-by: zionnBE <zionn@tfwno.gf>
This commit is contained in:
zionnBE
2020-11-02 12:33:12 +01:00
committed by GitHub
parent 981fed8b27
commit 9f03fc8880
2 changed files with 34 additions and 1 deletions

View File

@@ -68,6 +68,8 @@
normalUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Bar"]]
- type: entity
parent: VendingMachine
@@ -227,6 +229,8 @@
ejectUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Kitchen"]]
- type: entity
parent: VendingMachine
@@ -277,6 +281,8 @@
denyUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Engineering"]]
- type: entity
parent: VendingMachine
@@ -352,6 +358,8 @@
denyUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Medical"]]
- type: entity
parent: VendingMachine
@@ -403,6 +411,8 @@
denyUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Hydroponics"]]
- type: entity
parent: VendingMachine
@@ -428,6 +438,8 @@
denyUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Research"]]
- type: entity
parent: VendingMachine
@@ -479,6 +491,8 @@
denyUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Security"]]
- type: entity
parent: VendingMachine
@@ -505,6 +519,8 @@
ejectUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Hydroponics"]]
- type: entity
parent: VendingMachine
@@ -749,6 +765,8 @@
denyUnshaded: true
broken: true
- type: WiresVisualizer
- type: AccessReader
access: [["Medical"]]
- type: entity
parent: VendingMachine