# == Basic == #

- type: entity
  id: DoubleGlassAirlock
  parent: AirlockGlass
  name: double glass airlock
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: MeleeSound
    soundGroups:
      Brute:
        path:
          "/Audio/Effects/glass_hit.ogg"
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_glass_airlock.rsi
    snapCardinals: false
    offset: 0.5,0
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.49,-0.49,1.49,0.49" # don't want this colliding with walls or they won't close
        density: 100
        mask:
        - FullTileMask
        layer:     #removed opaque from the layer, allowing lasers to pass through glass airlocks
        - GlassAirlockLayer
  - type: Transform
    noRot: false
  # Fire start
  - type: Door
    crushDamage:
      types:
        Blunt: 15
    openSound:
      collection: AirlockLargeOpen
    closeSound:
      collection: AirlockLargeClose
    denySound:
      path: /Audio/_Scp/Objects/Machines/Airlocks/deny.ogg
  # Fire end

- type: entity
  id: TripleGlassAirlock
  parent: AirlockGlass
  name: triple glass airlock
  description: It opens, it closes, and maybe crushes you, but it bigger than normal door.
  components:
  - type: MeleeSound
    soundGroups:
      Brute:
        path:
          "/Audio/Effects/glass_hit.ogg"
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_glass.rsi
    snapCardinals: false
    offset: 0,0
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-1.49,-0.49,1.49,0.49" # don't want this colliding with walls or they won't close
        density: 100
        mask:
        - FullTileMask
        layer:     #removed opaque from the layer, allowing lasers to pass through glass airlocks
        - GlassAirlockLayer
  - type: Transform
    noRot: false
  # Fire start
  - type: Door
    crushDamage:
      types:
        Blunt: 15
    openSound:
      collection: AirlockLargeOpen
    closeSound:
      collection: AirlockLargeClose
    denySound:
      path: /Audio/_Scp/Objects/Machines/Airlocks/deny.ogg
  # Fire end


# == Double airlocks == #

- type: entity
  id: DoubleGlassAirlockBasic
  parent: [ DoubleGlassAirlock ]
  name: double basic glass airlock
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_basic.rsi

- type: entity
  id: DoubleGlassAirlockAtmospherics
  parent: [ DoubleGlassAirlockEngineering ]
  suffix: Atmospherics
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_atmospherics.rsi

- type: entity
  id: DoubleGlassAirlockCargo
  parent: [ DoubleGlassAirlock, AirlockCargoGlass ]
  suffix: Cargo
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_cargo.rsi

- type: entity
  id: DoubleGlassAirlockChemistry
  parent: [ DoubleGlassAirlock, AirlockChemistryGlass ]
  suffix: Chemistry
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_chemistry.rsi

- type: entity
  id: DoubleGlassAirlockCommand
  parent: [ DoubleGlassAirlock, AirlockCommandGlass ]
  suffix: Command
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_command.rsi

- type: entity
  id: DoubleGlassAirlockCentralCommand
  parent: [ DoubleGlassAirlock, AirlockCentralCommandGlass ]
  suffix: Central Command
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_centcomm.rsi

- type: entity
  id: DoubleGlassAirlockEngineering
  parent: [ DoubleGlassAirlock, AirlockEngineeringGlass ]
  suffix: Engineering
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_engineering.rsi

- type: entity
  id: DoubleGlassAirlockMaint
  parent: [ DoubleGlassAirlock, AirlockMaintGlass ]
  suffix: Maintenance
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_maint.rsi

- type: entity
  id: DoubleGlassAirlockMedical
  parent: [ DoubleGlassAirlock, AirlockMedicalGlass ]
  suffix: Medical
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_medical.rsi

- type: entity
  id: DoubleGlassAirlockScience
  parent: [ DoubleGlassAirlock, AirlockScienceGlass ]
  suffix: Science
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_science.rsi

- type: entity
  id: DoubleGlassAirlockSecurity
  parent: [ DoubleGlassAirlock, AirlockSecurityGlass ]
  suffix: Security
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_security.rsi

- type: entity
  id: DoubleGlassAirlockVirology
  parent: [ DoubleGlassAirlock, AirlockVirologyGlass ]
  suffix: Virology
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_virology.rsi

- type: entity
  id: DoubleGlassAirlockSalvage
  parent: [ DoubleGlassAirlock, AirlockMiningGlass ]
  suffix: Mining(Salvage)
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_salvage.rsi

# == Triple airlocks ==

- type: entity
  id: TripleGlassAirlockBasic
  parent: [ TripleGlassAirlock ]
  name: triple basic glass airlock
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_basic.rsi

- type: entity
  id: TripleGlassAirlockAtmospherics
  parent: [ TripleGlassAirlock, AirlockAtmosphericsGlass ]
  suffix: Atmospherics
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_atmospherics.rsi

- type: entity
  id: TripleGlassAirlockCargo
  parent: [ TripleGlassAirlock, AirlockCargoGlass ]
  suffix: Cargo
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_cargo.rsi

- type: entity
  id: TripleGlassAirlockCentralCommand
  parent: [ TripleGlassAirlock, AirlockCentralCommandGlass ]
  suffix: Central Command
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_centcomm.rsi

- type: entity
  id: TripleGlassAirlockChemistry
  parent: [ TripleGlassAirlock, AirlockChemistryGlass ]
  suffix: Chemistry
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_chemistry.rsi

- type: entity
  id: TripleGlassAirlockCommand
  parent: [ TripleGlassAirlock, AirlockCommandGlass ]
  suffix: Command
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_command.rsi

- type: entity
  id: TripleGlassAirlockEngineering
  parent: [ TripleGlassAirlock, AirlockEngineeringGlass ]
  suffix: Engineering
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_engineering.rsi

- type: entity
  id: TripleGlassAirlockMaint
  parent: [ TripleGlassAirlock, AirlockMaintGlass ]
  suffix: Maintenance
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_maint.rsi

- type: entity
  id: TripleGlassAirlockMedical
  parent: [ TripleGlassAirlock, AirlockMedicalGlass ]
  suffix: Medical
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_medical.rsi

- type: entity
  id: TripleGlassAirlockSalvage
  parent: [ TripleGlassAirlock, AirlockMiningGlass ]
  suffix: Mining(Salvage)
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_salvage.rsi

- type: entity
  id: TripleGlassAirlockScience
  parent: [ TripleGlassAirlock, AirlockScienceGlass ]
  suffix: Science
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_science.rsi

- type: entity
  id: TripleGlassAirlockSecurity
  parent: [ TripleGlassAirlock, AirlockSecurityGlass ]
  suffix: Security
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_security.rsi

- type: entity
  id: TripleGlassAirlockVirology
  parent: [ TripleGlassAirlockMedical ]
  suffix: Virology
  categories: [ HideSpawnMenu ] # Fire added
  components:
  - type: Sprite
    sprite: _Sunrise/Structures/Doors/Airlocks/Glass/triple_virology.rsi
