IDs and access (#319)

* something about access

* Fixed deny animation
This commit is contained in:
DamianX
2019-09-01 22:57:22 +02:00
committed by Pieter-Jan Briers
parent 0329150109
commit f3b460c8b4
13 changed files with 205 additions and 4 deletions

Binary file not shown.

View File

@@ -34,6 +34,7 @@
- type: AirlockVisualizer2D
open_sound: /Audio/machines/airlock_open.ogg
close_sound: /Audio/machines/airlock_close.ogg
deny_sound: /Audio/machines/airlock_deny.ogg
placement:
mode: SnapgridCenter

View File

@@ -14,6 +14,7 @@
- type: AirlockVisualizer2D
open_sound: /Audio/machines/airlock_ext_open.ogg
close_sound: /Audio/machines/airlock_ext_close.ogg
deny_sound: /Audio/machines/airlock_deny.ogg
- type: entity
parent: airlock
@@ -25,3 +26,12 @@
- type: Icon
sprite: Buildings/airlock_engineering.rsi
- type: entity
parent: airlock_engineering
id: airlock_engineering_locked
name: Locked Engineering Airlock
components:
- type: AccessReader
required: ["engineering"]

View File

@@ -5,9 +5,16 @@
description: A card necessary to access various areas aboard the station
components:
- type: Sprite
texture: Clothing/idcard_standard.png
sprite: Clothing/id_cards.rsi
state: assistant
- type: Icon
texture: Clothing/idcard_standard.png
sprite: Clothing/id_cards.rsi
state: assistant
- type: Clothing
Slots:
- idcard
- type: IdCard
fullName: John Doe
jobTitle: Assistant
- type: Access
tags: ["civilian", "maintenance", "engineering"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

View File

@@ -0,0 +1 @@
{"version": 1, "size": {"x": 32, "y": 32}, "states": [{"name": "assistant", "directions": 1, "delays": [[1.0]]}]}