# based on https://github.com/space-wizards/space-station-14/pull/34600
- type: entity
  id: PlantAnalyzer
  parent: BaseItem
  name: plant analyzer
  description: A scanner used to evaluate a plant's various areas of growth, genetic traits and chemicals.
  components:
  - type: Sprite
    sprite: _Reserve/Objects/Specific/Hydroponics/plant_analyzer.rsi
    layers:
    - state: icon
    - state: analyzer
      shader: unshaded
  - type: Item
    storedRotation: -90
  - type: Tag
    tags:
    - PlantAnalyzer
  - type: ActivatableUI
    key: enum.PlantAnalyzerUiKey.Key
  - type: UserInterface
    interfaces:
      enum.PlantAnalyzerUiKey.Key:
        type: PlantAnalyzerBoundUserInterface
  - type: ItemToggle
    onUse: false
  - type: PlantAnalyzer
  - type: GuideHelp
    guides:
    - Botany
    - Chemicals

- type: entity
  name: plant analyzer report
  parent: Paper
  id: PlantAnalyzerReportPaper
  description: A printout from a plant analyzer.
  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"
    backgroundImageTile: true
    backgroundPatchMargin: 6.0, 0.0, 6.0, 0.0
    contentMargin: 6.0, 6.0, 6.0, 6.0
    maxWritableArea: 375.0, 600.0

