From f14701033b048cdd230433ee6cc85cb78e25c69b Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sun, 31 May 2020 21:01:23 +0200 Subject: [PATCH] Rename ID Card permission to HoP. So that the HoP office can have a proper access lock. --- Resources/Prototypes/AccessLevels/command.yml | 4 ++-- Resources/Prototypes/Entities/Buildings/computers.yml | 2 +- .../Entities/Items/Clothing/identification_cards.yml | 6 +++--- Resources/Prototypes/Jobs/Command/captain.yml | 2 +- Resources/Prototypes/Jobs/Command/head_of_personnel.yml | 3 ++- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Resources/Prototypes/AccessLevels/command.yml b/Resources/Prototypes/AccessLevels/command.yml index d8a5175ad3..3ade22c893 100644 --- a/Resources/Prototypes/AccessLevels/command.yml +++ b/Resources/Prototypes/AccessLevels/command.yml @@ -5,5 +5,5 @@ id: Captain - type: accessLevel - id: IdCard - name: ID modification + id: HeadOfPersonnel + name: Head of Personnel diff --git a/Resources/Prototypes/Entities/Buildings/computers.yml b/Resources/Prototypes/Entities/Buildings/computers.yml index e4184c9406..f94fb89d21 100644 --- a/Resources/Prototypes/Entities/Buildings/computers.yml +++ b/Resources/Prototypes/Entities/Buildings/computers.yml @@ -158,7 +158,7 @@ name: ID Card Computer components: - type: AccessReader - necessary: ["IdCard"] + necessary: ["HeadOfPersonnel"] - type: IdCardConsole - type: UserInterface interfaces: diff --git a/Resources/Prototypes/Entities/Items/Clothing/identification_cards.yml b/Resources/Prototypes/Entities/Items/Clothing/identification_cards.yml index d39fb0f952..a3ca06fd2c 100644 --- a/Resources/Prototypes/Entities/Items/Clothing/identification_cards.yml +++ b/Resources/Prototypes/Entities/Items/Clothing/identification_cards.yml @@ -51,7 +51,7 @@ - type: IdCard jobTitle: Captain - type: Access - tags: ["Maintenance", "Cargo", "Engineering", "Medical", "Research", "Security", "Service", "Captain", "Command", "External", IdCard] + tags: ["Maintenance", "Cargo", "Engineering", "Medical", "Research", "Security", "Service", "Captain", "Command", "External", "HeadOfPersonnel"] - type: entity parent: IDCardStandard @@ -223,7 +223,7 @@ - type: IdCard jobTitle: Head of Personnel - type: Access - tags: ["Maintenance", "Cargo", "Security", "Service","Command", IdCard] + tags: ["Maintenance", "Cargo", "Security", "Service", "Command", "HeadOfPersonnel", "Janitor"] - type: entity parent: IDCardStandard @@ -318,4 +318,4 @@ - type: IdCard jobTitle: Central Commander - type: Access - tags: ["Maintenance", "Cargo", "Engineering", "Medical", "Research", "Security", "Service", "Captain", "Command", "External", IdCard] + tags: ["Maintenance", "Cargo", "Engineering", "Medical", "Research", "Security", "Service", "Captain", "Command", "External", "HeadOfPersonnel"] diff --git a/Resources/Prototypes/Jobs/Command/captain.yml b/Resources/Prototypes/Jobs/Command/captain.yml index 6127f0879c..30036b409a 100644 --- a/Resources/Prototypes/Jobs/Command/captain.yml +++ b/Resources/Prototypes/Jobs/Command/captain.yml @@ -11,7 +11,7 @@ # All of em. # Could probably do with some kind of wildcard or whatever to automate this. - Captain - - IdCard + - HeadOfPersonnel - Command - Security - Engineering diff --git a/Resources/Prototypes/Jobs/Command/head_of_personnel.yml b/Resources/Prototypes/Jobs/Command/head_of_personnel.yml index 15b4379af7..2ea9e50926 100644 --- a/Resources/Prototypes/Jobs/Command/head_of_personnel.yml +++ b/Resources/Prototypes/Jobs/Command/head_of_personnel.yml @@ -10,11 +10,12 @@ icon: "HeadOfPersonnel" access: - Command - - IdCard + - HeadOfPersonnel - Security # HoPcurity strikes again - Service - Cargo - Maintenance + - Janitor # I mean they'll give themselves the rest of the access levels *anyways*. - type: startingGear