- type: entity
  abstract: true
  parent: BaseItem
  id: BasePDA
  name: PDA
  description: Personal Data Assistant.
  components:
  - type: Appearance
    visuals:
    - type: PDAVisualizer
      state: pda
  - type: Sprite
    sprite: Objects/Devices/pda.rsi
    netsync: false
  - type: Icon
    sprite: Objects/Devices/pda.rsi
    state: pda
  - type: Clothing
    quickEquip: false
    size: 10
    Slots:
    - idcard
    - Belt
  - type: UnpoweredFlashlight
    toggleAction:
      name: action-name-toggle-light
      description: action-description-toggle-light
      icon: Objects/Tools/flashlight.rsi/flashlight.png
      iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
      event: !type:ToggleActionEvent
  - type: PointLight
    enabled: false
    radius: 2.5
    softness: 5
    mask: /Textures/Effects/LightMasks/cone.png
    autoRot: true
  - type: Ringer
  - type: ActivatableUI
    key: enum.PDAUiKey.Key
  - type: UserInterface
    interfaces:
    - key: enum.PDAUiKey.Key
      type: PDABoundUserInterface
    - key: enum.UplinkUiKey.Key
      type: UplinkBoundUserInterface
    - key: enum.RingerUiKey.Key
      type: RingerBoundUserInterface
    - key: enum.InstrumentUiKey.Key
      type: InstrumentBoundUserInterface
    - key: enum.HealthAnalyzerUiKey.Key
      type: HealthAnalyzerBoundUserInterface
  - type: PDA
    penSlot:
      startingItem: Pen
      whitelist:
        tags:
        - Write
    idSlot:
      name: ID Card
      ejectSound: /Audio/Machines/id_swipe.ogg
      insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
      whitelist:
        components:
        - IdCard
  - type: Tag
    tags:
    - DoorBumpOpener
  - type: Input
    context: "human"

- type: entity
  parent: BasePDA
  id: AssistantPDA
  name: assistant PDA
  description: Why isn't it gray?
  components:
  - type: PDA
    id: AssistantIDCard

- type: entity
  parent: BasePDA
  id: ChefPDA
  name: chef PDA
  description: Covered in grease and flour.
  components:
  - type: PDA
    id: ChefIDCard
  - type: Appearance
    visuals:
    - type: PDAVisualizer
      state: pda-cook
  - type: Icon
    state: pda-cook

- type: entity
  parent: BasePDA
  id: BotanistPDA
  name: botanist PDA
  description: Has an earthy scent.
  components:
  - type: PDA
    id: BotanistIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-hydro
  - type: Icon
    state: pda-hydro

- type: entity
  parent: BasePDA
  id: ClownPDA
  name: clown PDA
  description: Looks can be deceiving.
  components:
  - type: PDA
    id: ClownIDCard
    penSlot:
      startingItem: CrayonOrange # no pink crayon?!?
      # Maybe this is a bad idea.
      # At least they can't just spam alt-click it.
      # You need to remove the ID & alternate between inserting and ejecting
      ejectSound: /Audio/Items/bikehorn.ogg
      whitelist:
        tags:
        - Write
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-clown
  - type: Icon
    state: pda-clown
  - type: Slippery
    paralyzeTime: 4
  - type: CollisionWake
    enabled: false
  - type: Physics
    bodyType: Dynamic
  - type: Fixtures
    fixtures:
    - shape:
        !type:PhysShapeAabb
        bounds: "-0.4,-0.3,0.4,0.3"
      id: "slips"
      hard: false
      layer:
      - SmallImpassable
    - shape:
        !type:PhysShapeAabb
        bounds: "-0.4,-0.3,0.4,0.3"
      mass: 2.5
      mask:
      - SmallImpassable

- type: entity
  parent: BasePDA
  id: MimePDA
  name: mime PDA
  description: Suprisingly not on mute.
  components:
  - type: PDA
    id: MimeIDCard
    idSlot:
      name: ID Card
      whitelist:
        components:
        - IdCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-mime
  - type: Icon
    state: pda-mime

- type: entity
  name: Chaplain PDA
  parent: BasePDA
  id: ChaplainPDA
  description: God's chosen PDA.
  components:
  - type: PDA
    id: ChaplainIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-chaplain
  - type: Icon
    state: pda-chaplain

- type: entity
  name: Quartermaster PDA
  parent: BasePDA
  id: QuartermasterPDA
  description: PDA for the guy that orders the guns.
  components:
  - type: PDA
    id: QuartermasterIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-qm
  - type: Icon
    state: pda-qm

- type: entity
  parent: BasePDA
  id: CargoPDA
  name: cargo PDA
  description: PDA for the guys that order the pizzas.
  components:
  - type: PDA
    id: CargoIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-cargo
  - type: Icon
    state: pda-cargo

- type: entity
  parent: BasePDA
  id: SalvagePDA
  name: salvage PDA
  description: Smells like ash.
  components:
  - type: PDA
    id: SalvageIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-miner
  - type: Icon
    state: pda-miner

- type: entity
  parent: BasePDA
  id: BartenderPDA
  name: bartender PDA
  description: Smells like beer.
  components:
  - type: PDA
    id: BartenderIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-bartender
  - type: Icon
    state: pda-bartender

- type: entity
  parent: BasePDA
  id: LibrarianPDA
  name: librarian PDA
  description: Smells like books.
  components:
  - type: PDA
    id: LibrarianIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-library
  - type: Icon
    state: pda-library

- type: entity
  parent: BasePDA
  id: LawyerPDA
  name: lawyer PDA
  description: For lawyers to poach dubious clients.
  components:
  - type: PDA
    id: LawyerIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-lawyer
  - type: Icon
    state: pda-lawyer

- type: entity
  parent: BasePDA
  id: JanitorPDA
  name: janitor PDA
  description: Smells like bleach.
  components:
  - type: PDA
    id: JanitorIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-janitor
  - type: Icon
    state: pda-janitor

- type: entity
  parent: BasePDA
  id: CaptainPDA
  name: captain PDA
  description: Surprisingly no different from your PDA.
  components:
  - type: PDA
    id: CaptainIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-captain
  - type: Icon
    state: pda-captain


- type: entity
  parent: BasePDA
  id: HoPPDA
  name: head of personnel PDA
  description: Looks like it's been chewed on.
  components:
  - type: PDA
    id: HoPIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-hop
  - type: Icon
    state: pda-hop


- type: entity
  parent: BasePDA
  id: CEPDA
  name: chief engineer PDA
  description: Looks like it's barely been used.
  components:
  - type: PDA
    id: CEIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-ce
  - type: Icon
    state: pda-ce


- type: entity
  parent: BasePDA
  id: EngineerPDA
  name: engineer PDA
  description: Rugged and well-worn.
  components:
  - type: PDA
    id: EngineeringIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-engineer
  - type: Icon
    state: pda-engineer

- type: entity
  parent: BasePDA
  id: CMOPDA
  name: chief medical officer PDA
  description: Extraordinarily shiny and sterile. Has a built-in health analyzer.
  components:
  - type: PDA
    id: CMOIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-cmo
  - type: Icon
    state: pda-cmo
  - type: HealthAnalyzer
    scanDelay: 1

- type: entity
  parent: BasePDA
  id: MedicalPDA
  name: medical PDA
  description: Shiny and sterile. Has a built-in health analyzer.
  components:
  - type: PDA
    id: MedicalIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-medical
  - type: Icon
    state: pda-medical
  - type: HealthAnalyzer
    scanDelay: 1.2

- type: entity
  parent: BasePDA
  id: ChemistryPDA
  name: chemistry PDA
  description: It has a few discolored blotches here and there.
  components:
  - type: PDA
    id: ChemistIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-chemistry
  - type: Icon
    state: pda-chemistry

- type: entity
  parent: BasePDA
  id: RnDPDA
  name: research director PDA
  description: It appears surprisingly ordinary.
  components:
  - type: PDA
    id: RDIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-rd
  - type: Icon
    state: pda-rd

- type: entity
  parent: BasePDA
  id: SciencePDA
  name: science PDA
  description: It's covered with an unknown gooey substance.
  components:
  - type: PDA
    id: ResearchIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-science
  - type: Icon
    state: pda-science

- type: entity
  parent: BasePDA
  id: HoSPDA
  name: head of security PDA
  description: Whosoever bears this PDA is the law.
  components:
  - type: PDA
    id: HoSIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-hos
  - type: Icon
    state: pda-hos

- type: entity
  parent: BasePDA
  id: WardenPDA
  name: warden PDA
  description: The OS appears to have been jailbroken.
  components:
  - type: PDA
    id: WardenIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-warden
  - type: Icon
    state: pda-warden

- type: entity
  parent: BasePDA
  id: SecurityPDA
  name: security PDA
  description: Red to hide the stains of assistant blood.
  components:
  - type: PDA
    id: SecurityIDCard
  - type: Appearance
    visuals:
      - type: PDAVisualizer
        state: pda-security
  - type: Icon
    state: pda-security

- type: entity
  parent: AssistantPDA
  id: CentcomPDA
  name: centcom PDA
  description: Colored the numbing grey of bureaucracy.
  components:
  - type: PDA
    id: CentcomIDCardSyndie

- type: entity
  parent: BasePDA
  id: MusicianPDA
  name: musician PDA
  description: It fills you with inspiration.
  components:
  - type: PDA
    id: MusicianIDCard
  - type: Appearance
    visuals:
    - type: PDAVisualizer
      state: pda-musician
  - type: Instrument
    allowPercussion: false
    handheld: true
    bank: 1
    program: 2
