- type: entity
  parent: Clothing
  id: IDCardStandard
  name: identification card
  description: A card necessary to access various areas aboard the station
  abstract: true
  components:
  - type: Sprite
    sprite: Clothing/id_cards.rsi
  - type: Icon
    sprite: Clothing/id_cards.rsi
  - type: Clothing
    Slots:
    - idcard
    sprite: Clothing/id_cards.rsi
    HeldPrefix: default
  - type: Access
  - type: IdCard

#IDs with layers

- type: entity
  parent: IDCardStandard
  id: AssistantIDCard
  name: assistant ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idassistant
  - type: Icon
    state: default
  - type: PresetIdCard
    job: Assistant

- type: entity
  parent: IDCardStandard
  id: CaptainIDCard
  name: captain ID card
  components:
  - type: Sprite
    layers:
    - state: gold
    - state: assigned
    - state: idcaptain
  - type: Icon
    state: gold
  - type: Clothing
    HeldPrefix: gold
  - type: PresetIdCard
    job: Captain

- type: entity
  parent: IDCardStandard
  id: SecurityIDCard
  name: security ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idsecurityofficer
  - type: Icon
    state: idsecurityofficer
  - type: PresetIdCard
    job: SecurityOfficer

- type: entity
  parent: IDCardStandard
  id: EngineeringIDCard
  name: engineer ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idstationengineer
  - type: Icon
    state: idstationengineer
  - type: PresetIdCard
    job: StationEngineer

- type: entity
  parent: IDCardStandard
  id: MedicalIDCard
  name: medical ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idmedicaldoctor
  - type: Icon
    state: idmedicaldoctor
  - type: PresetIdCard
    job: MedicalDoctor

- type: entity
  parent: IDCardStandard
  id: CargoIDCard
  name: cargo ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idcargotechnician
  - type: Icon
    state: idcargotechnician
  - type: PresetIdCard
    job: CargoTechnician

- type: entity
  parent: IDCardStandard
  id: ResearchIDCard
  name: research ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idscientist
  - type: Icon
    state: idscientist
  - type: PresetIdCard
    job: Scientist

- type: entity
  parent: IDCardStandard
  id: ClownIDCard
  name: clown ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idclown
  - type: Icon
    state: idclown
  - type: PresetIdCard
    job: Clown

- type: entity
  parent: IDCardStandard
  id: JanitorIDCard
  name: janitor ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idjanitor
  - type: Icon
    state: idjanitor
  - type: PresetIdCard
    job: Janitor

- type: entity
  parent: IDCardStandard
  id: BartenderIDCard
  name: bartender ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idbartender
  - type: Icon
    state: idbartender
  - type: PresetIdCard
    job: Bartender

- type: entity
  parent: IDCardStandard
  id: ChefIDCard
  name: chef ID card
  components:
  - type: Sprite
    layers:
    - state: default
    - state: assigned
    - state: idcook
  - type: Icon
    state: idcook
  - type: PresetIdCard
    job: Chef

- type: entity
  parent: IDCardStandard
  id: HoPIDCard
  name: head of personnel ID card
  components:
  - type: Sprite
    layers:
    - state: silver
    - state: assigned
    - state: idheadofpersonnel
  - type: Icon
    state: idheadofpersonnel
  - type: Clothing
    HeldPrefix: silver
  - type: PresetIdCard
    job: HeadOfPersonnel

- type: entity
  parent: IDCardStandard
  id: CEIDCard
  name: chief engineer ID card
  components:
  - type: Sprite
    layers:
    - state: silver
    - state: assigned
    - state: idchiefengineer
  - type: Icon
    state: idchiefengineer
  - type: Clothing
    HeldPrefix: silver
  - type: PresetIdCard
    job: ChiefEngineer

- type: entity
  parent: IDCardStandard
  id: CMOIDCard
  name: chief medical officer ID card
  components:
  - type: Sprite
    layers:
    - state: silver
    - state: assigned
    - state: idchiefmedicalofficer
  - type: Icon
    state: idchiefmedicalofficer
  - type: Clothing
    HeldPrefix: silver
  - type: PresetIdCard
    job: ChiefMedicalOfficer

- type: entity
  parent: IDCardStandard
  id: RDIDCard
  name: research director ID card
  components:
  - type: Sprite
    layers:
    - state: silver
    - state: assigned
    - state: idresearchdirector
  - type: Icon
    state: idresearchdirector
  - type: Clothing
    HeldPrefix: silver
  - type: PresetIdCard
    job: ResearchDirector

- type: entity
  parent: IDCardStandard
  id: HoSIDCard
  name: head of security ID card
  components:
  - type: Sprite
    layers:
    - state: silver
    - state: assigned
    - state: idheadofsecurity
  - type: Icon
    state: idheadofsecurity
  - type: Clothing
    HeldPrefix: silver
  - type: PresetIdCard
    job: HeadOfSecurity

- type: entity
  parent: IDCardStandard
  id: CentcomIDCard
  name: command officer ID card
  components:
  - type: Sprite
    layers:
    - state: gold
    - state: assigned
    - state: idcentcom
  - type: Icon
    state: idcentcom
  - type: Clothing
    HeldPrefix: gold
  - type: IdCard
    jobTitle: Central Commander
  - type: Access
    tags: ["Maintenance", "Cargo", "Engineering", "Medical", "Research", "Security", "Service", "Captain", "Command", "External", "HeadOfPersonnel", "Janitor", "Theatre"]
