diff --git a/Resources/Audio/Machines/windoor_open.ogg b/Resources/Audio/Machines/windoor_open.ogg new file mode 100644 index 0000000000..26f094b597 Binary files /dev/null and b/Resources/Audio/Machines/windoor_open.ogg differ diff --git a/Resources/Prototypes/Entities/Structures/Doors/windoor.yml b/Resources/Prototypes/Entities/Structures/Doors/windoor.yml index b12f799719..57511c229c 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/windoor.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/windoor.yml @@ -9,3 +9,39 @@ parent: BaseSecureWindoor name: secure windoor description: It's a sturdy window and a sliding door. Wow! + +# Bar windoor +- type: entity + parent: Windoor + id: WindoorBarLocked + suffix: Bar, Locked + components: + - type: AccessReader + access: [["Bar"]] + +# Chemistry windoor +- type: entity + parent: WindoorSecure + id: WindoorMedicalLocked + suffix: Medical, Locked + components: + - type: AccessReader + access: [["Medical"]] + +# HOP's office windoor +- type: entity + parent: WindoorSecure + id: WindoorCommandLocked + suffix: Command, Locked + components: + - type: AccessReader + access: [["Command"]] + +# Cargo windoor +- type: entity + parent: Windoor + id: WindoorCargoLocked + suffix: Cargo, Locked + components: + - type: AccessReader + access: [["Cargo"]] diff --git a/Resources/Prototypes/Entities/Structures/Windoors/base.yml b/Resources/Prototypes/Entities/Structures/Windoors/base.yml index 7a57094414..ccb3fe258c 100644 --- a/Resources/Prototypes/Entities/Structures/Windoors/base.yml +++ b/Resources/Prototypes/Entities/Structures/Windoors/base.yml @@ -6,15 +6,6 @@ mode: SnapgridCenter components: - type: InteractionOutline - - type: Airlock - - type: Door - - type: Wires - BoardName: "Windoor Control" - LayoutId: Airlock - - type: UserInterface - interfaces: - - key: enum.WiresUiKey.Key - type: WiresBoundUserInterface - type: Physics fixtures: - shape: @@ -61,11 +52,21 @@ max: 2 - !type:DoActsBehavior acts: [ "Destruction" ] + - type: AccessReader + - type: Airlock + - type: Door + - type: Wires + BoardName: "Windoor Control" + LayoutId: Airlock + - type: UserInterface + interfaces: + - key: enum.WiresUiKey.Key + type: WiresBoundUserInterface - type: Appearance visuals: - type: AirlockVisualizer - open_sound: /Audio/Machines/airlock_open.ogg - close_sound: /Audio/Machines/airlock_close.ogg + open_sound: /Audio/Machines/windoor_open.ogg + close_sound: /Audio/Machines/windoor_open.ogg deny_sound: /Audio/Machines/airlock_deny.ogg hasMaintenancePanel: false openCloseUnlit: false