From 720c3213b8b14ae1b697361cb6d846094991cd42 Mon Sep 17 00:00:00 2001 From: Kayzel <43700376+KayzelW@users.noreply.github.com> Date: Wed, 27 Nov 2024 23:35:10 +0300 Subject: [PATCH] DoorElectronics fix --- .../objects/devices/electronics/door_access.ftl | 3 +++ .../Objects/Devices/Electronics/door_access.yml | 16 ++++++++++++---- .../Structures/Doors/Airlocks/access.yml | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Resources/Locale/ru-RU/ss14-ru/prototypes/backmen/entities/objects/devices/electronics/door_access.ftl b/Resources/Locale/ru-RU/ss14-ru/prototypes/backmen/entities/objects/devices/electronics/door_access.ftl index d7cec3248fd..ab6908ae9d6 100644 --- a/Resources/Locale/ru-RU/ss14-ru/prototypes/backmen/entities/objects/devices/electronics/door_access.ftl +++ b/Resources/Locale/ru-RU/ss14-ru/prototypes/backmen/entities/objects/devices/electronics/door_access.ftl @@ -7,6 +7,9 @@ ent-DoorElectronicsCCSecurity = { ent-DoorElectronics } ent-DoorElectronicsCentCom = { ent-DoorElectronics } .suffix = ЦентКом, Закрыт .desc = { ent-DoorElectronics.desc } +ent-DoorElectronicsCCArmory = { ent-DoorElectronics } + .suffix = ЦентКом, Оружейная, Закрыт + .desc = { ent-DoorElectronics.desc } ent-DoorElectronicsCCOfficer = { ent-DoorElectronics } .suffix = ЦентКом, Офицер, Закрыт .desc = { ent-DoorElectronics.desc } diff --git a/Resources/Prototypes/_Backmen/Entities/Objects/Devices/Electronics/door_access.yml b/Resources/Prototypes/_Backmen/Entities/Objects/Devices/Electronics/door_access.yml index 997e42bd4a4..b077f815dbc 100644 --- a/Resources/Prototypes/_Backmen/Entities/Objects/Devices/Electronics/door_access.yml +++ b/Resources/Prototypes/_Backmen/Entities/Objects/Devices/Electronics/door_access.yml @@ -4,7 +4,7 @@ suffix: CentCom, Cargo, Locked components: - type: AccessReader - access: [["CCCargo"]] + access: [["CentralCommand", "CCCargo"]] - type: entity parent: DoorElectronics @@ -12,7 +12,15 @@ suffix: CentCom, Security, Locked components: - type: AccessReader - access: [["CCSecurity"]] + access: [["CentralCommand", "CCSecurity"]] + +- type: entity + parent: DoorElectronics + id: DoorElectronicsCCArmory + suffix: CentCom, Security, Locked + components: + - type: AccessReader + access: [["CentralCommand", "CCSecurity", "CCOfficer"]] - type: entity parent: DoorElectronics @@ -28,7 +36,7 @@ suffix: CentCom, Officer Locked components: - type: AccessReader - access: [["CCOfficer"]] + access: [["CentralCommand", "CCOfficer"]] - type: entity parent: DoorElectronics @@ -36,7 +44,7 @@ suffix: CentCom, Admiral Locked components: - type: AccessReader - access: [["CCAdmiral"]] + access: [["CentralCommand", "CCAdmiral"]] #ERT diff --git a/Resources/Prototypes/_Backmen/Entities/Structures/Doors/Airlocks/access.yml b/Resources/Prototypes/_Backmen/Entities/Structures/Doors/Airlocks/access.yml index d14ab16c672..2988104be78 100644 --- a/Resources/Prototypes/_Backmen/Entities/Structures/Doors/Airlocks/access.yml +++ b/Resources/Prototypes/_Backmen/Entities/Structures/Doors/Airlocks/access.yml @@ -31,7 +31,7 @@ access: [ [ "CentralCommand", "CCOfficer", "CCSecurity"] ] - type: ContainerFill containers: - board: [ DoorElectronicsCCSecurity ] + board: [ DoorElectronicsCCArmory ] - type: PaintableAirlock group: Glass department: null