From ee5eeb97733ade8b988cb86236ede3aace5405c1 Mon Sep 17 00:00:00 2001 From: Velcroboy <107660393+ChilbroBaggins@users.noreply.github.com> Date: Sun, 25 Jun 2023 16:37:04 -0500 Subject: [PATCH] Adds no access freezer. (#17638) Co-authored-by: Jeff --- .../Entities/Structures/Doors/Airlocks/access.yml | 2 +- .../Structures/Storage/Closets/Lockers/lockers.yml | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml index 044e5b66fc..f4898bc798 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml @@ -98,7 +98,7 @@ - type: entity parent: AirlockFreezer id: AirlockFreezerLocked - suffix: Service, Locked + suffix: Kitchen, Locked components: - type: AccessReader access: [["Kitchen"]] diff --git a/Resources/Prototypes/Entities/Structures/Storage/Closets/Lockers/lockers.yml b/Resources/Prototypes/Entities/Structures/Storage/Closets/Lockers/lockers.yml index 0a9037499a..144ef91c89 100644 --- a/Resources/Prototypes/Entities/Structures/Storage/Closets/Lockers/lockers.yml +++ b/Resources/Prototypes/Entities/Structures/Storage/Closets/Lockers/lockers.yml @@ -145,21 +145,29 @@ # Freezer - type: entity - id: LockerFreezer + id: LockerFreezerBase parent: LockerBase name: freezer + suffix: No Access components: - type: Appearance - type: EntityStorageVisuals stateBaseClosed: freezer stateDoorOpen: freezer_open stateDoorClosed: freezer_door - - type: AccessReader - access: [ [ "Kitchen" ] ] - type: ExplosionResistance resistance: 0.90 - type: AntiRottingContainer +- type: entity + id: LockerFreezer + parent: LockerFreezerBase + name: freezer + suffix: Kitchen, Locked + components: + - type: AccessReader + access: [ [ "Kitchen" ] ] + # Botanist - type: entity id: LockerBotanist