- type: entity
  parent: ParticleAcceleratorFinishedPart
  id: ParticleAcceleratorControlBox
  name: PA control computer
  description: This controls the density of the particles.
  components:
  - type: Sprite
    sprite: Structures/Power/Generation/PA/control_box.rsi
  - type: ParticleAcceleratorControlBox
  - type: ApcPowerReceiver
    powerLoad: 250
  - type: ExtensionCableReceiver
  - type: Construction
    graph: ParticleAcceleratorControlBox
  - type: ActivatableUI
    key: enum.ParticleAcceleratorControlBoxUiKey.Key
  - type: ActivatableUIRequiresPower
  - type: UserInterface
    interfaces:
      enum.ParticleAcceleratorControlBoxUiKey.Key:
        type: ParticleAcceleratorBoundUserInterface
      enum.WiresUiKey.Key:
        type: WiresBoundUserInterface
  - type: WiresPanel
  - type: Wires
    boardName: wires-board-name-pa
    layoutId: ParticleAccelerator
  - type: AccessReader
    access: [["Engineering"]]
  - type: MultipartMachine
    parts:
      enum.AcceleratorParts.EndCap:
        component: ParticleAcceleratorEndCap
        offset: 1, -1
        rotation: -90
        ghostProto: ParticleAcceleratorEndCap
        graph: ParticleAcceleratorEndCap
        expectedNode: completed
      enum.AcceleratorParts.FuelChamber:
        component: ParticleAcceleratorFuelChamber
        offset: 0, -1
        rotation: -90
        ghostProto: ParticleAcceleratorFuelChamber
        graph: ParticleAcceleratorFuelChamber
        expectedNode: completed
      enum.AcceleratorParts.PowerBox:
        component: ParticleAcceleratorPowerBox
        offset: -1, -1
        rotation: -90
        ghostProto: ParticleAcceleratorPowerBox
        graph: ParticleAcceleratorPowerBox
        expectedNode: completed
      enum.AcceleratorParts.PortEmitter:
        component: ParticleAcceleratorEmitter
        offset: -2, -2
        rotation: -90
        ghostProto: ParticleAcceleratorEmitterPort
        graph: ParticleAcceleratorEmitterPort
        expectedNode: completed
      enum.AcceleratorParts.ForeEmitter:
        component: ParticleAcceleratorEmitter
        offset: -2, -1
        rotation: -90
        ghostProto: ParticleAcceleratorEmitterFore
        graph: ParticleAcceleratorEmitterFore
        expectedNode: completed
      enum.AcceleratorParts.StarboardEmitter:
        component: ParticleAcceleratorEmitter
        offset: -2, 0
        rotation: -90
        ghostProto: ParticleAcceleratorEmitterStarboard
        graph: ParticleAcceleratorEmitterStarboard
        expectedNode: completed

# Unfinished

- type: entity
  parent: ParticleAcceleratorUnfinishedBase
  id: ParticleAcceleratorControlBoxUnfinished
  name: PA control computer
  suffix: Unfinished
  description: This controls the density of the particles. It looks unfinished.
  components:
    - type: Sprite
      sprite: Structures/Power/Generation/PA/control_box.rsi
    - type: Construction
      graph: ParticleAcceleratorControlBox
