- type: entity
  name: forensic scanner
  parent: [BaseItem, RecyclableItemDeviceSmall] # Frontier: added RecyclableItemDeviceSmall, removed BaseSecurityContraband
  id: ForensicScanner
  description: A handheld device that can scan objects for fingerprints and fibers.
  components:
  - type: Sprite
    sprite: _NF/Objects/Devices/forensic_scanner.rsi # Frontier: use _NF variant
    state: forensicnew # Frontier
  - type: Item
    size: Small
    storedRotation: 90
  - type: Clothing
    sprite: _NF/Objects/Devices/forensic_scanner.rsi # Frontier: add _NF
    quickEquip: false
    slots:
    - Belt
  - type: ActivatableUI
    key: enum.ForensicScannerUiKey.Key
    inHandsOnly: true
    requireActiveHand: false
  - type: UserInterface
    interfaces:
      enum.ForensicScannerUiKey.Key:
        type: ForensicScannerBoundUserInterface
  - type: ForensicScanner
  - type: GuideHelp
    guides:
    - Forensics
  - type: StealTarget
    stealGroup: ForensicScanner
  - type: Appearance # Frontier
  - type: ItemSlots # Frontier
    slots: # Frontier
      forensics_cartridge: # Frontier
        name: forensic-scanner-slot-component-slot-name-cartridge # Frontier
        insertSound: /Audio/Machines/id_insert.ogg # Frontier
        ejectSound: /Audio/Machines/id_swipe.ogg # Frontier
        whitelist: # Frontier
          components: # Frontier
            - ForensicsCartridge # Frontier
  - type: ItemMapper # Frontier
    sprite: _NF/Objects/Devices/forensic_scanner.rsi # Frontier
    mapLayers: # Frontier
      forensiccartridge: # Frontier
        whitelist: # Frontier
          components: # Frontier
            - ForensicsCartridge # Frontier
  - type: ContainerContainer # Frontier
    containers: # Frontier
      storagebase: !type:Container # Frontier
        ents: [] # Frontier
      forensics_cartridge: !type:ContainerSlot {} # Frontier

- type: entity
  name: forensic scanner report
  parent: Paper
  id: ForensicReportPaper
  description: Circumstantial evidence, at best.
  components:
  - type: Sprite
    sprite: Objects/Misc/bureaucracy.rsi
    layers:
    - state: paper_receipt_horizontal
    - state: paper_receipt_horizontal_words
      map: ["enum.PaperVisualLayers.Writing"]
      visible: false
    - state: paper_stamp-generic
      map: ["enum.PaperVisualLayers.Stamp"]
      visible: false
  - type: PaperVisuals
    backgroundImagePath: "/Textures/Interface/Paper/paper_background_perforated.svg.96dpi.png"
    headerImagePath: "/Textures/Interface/Paper/paper_heading_forensic_scanner.svg.96dpi.png"
    headerMargin: 0.0, 0.0, 0.0, 4.0
    backgroundImageTile: true
    backgroundPatchMargin: 6.0, 0.0, 6.0, 0.0
    contentMargin: 12.0, 0.0, 6.0, 0.0
    maxWritableArea: 368.0, 256.0
  - type: GuideHelp
    guides:
    - Forensics

- type: entity
  parent: ForensicReportPaper
  id: PaperAccessLogs
  name: access logs
  description: A printout from the detective's trusty LogProbe.
  components:
  - type: PaperVisuals
    headerImagePath: null
    headerMargin: 0.0, 0.0, 0.0, 0.0
