- type: entity
  parent: AirlockRCDResistant
  id: AirlockExternal
  suffix: External
  description: It opens, it closes, it might crush you, and there might be only space behind it.
  components:
  - type: Door
    crushDamage:
      types:
        Blunt: 15
    openSound:
      path: /Audio/Machines/airlock_ext_open.ogg
    closeSound:
      path: /Audio/Machines/airlock_ext_close.ogg
    denySound:
      path: /Audio/Machines/airlock_deny.ogg
  - type: Sprite
    sprite: _starcup/Structures/Doors/Airlocks/Standard/external.rsi # Starcup - airlock resprite
  - type: Wires
    layoutId: AirlockExternal
  - type: Paintable
    group: null
  # begin starcup
  - type: Fixtures
    fixtures:
      fix1:
        layer:
        - AirlockLayer
        - LowImpassable # starcup: added to block mice
  # end starcup

- type: entity
  parent: AirlockExternal
  id: AirlockExternalGlass
  suffix: Glass, External
  components:
  - type: Door
    occludes: false
  - type: Occluder
    enabled: false
  - type: Sprite
    sprite: _starcup/Structures/Doors/Airlocks/Glass/external.rsi # Starcup - airlock resprite
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.49,-0.49,0.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
        - LowImpassable # starcup: added to block mice
