- type: entity
  parent: ParticleAcceleratorBase
  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
      layers:
        - state: boxc
          map: [ "enum.ParticleAcceleratorVisualLayers.Base" ]
        - state: unlitp
          map: [ "enum.ParticleAcceleratorVisualLayers.Unlit" ]
          shader: unshaded
          visible: false
    - type: Appearance
      visuals:
        - type: ParticleAcceleratorPartVisualizer
          baseState: unlit
    - type: ApcPowerReceiver
    - type: ExtensionCableReceiver
    - type: ParticleAcceleratorControlBox
    - type: Construction
      graph: ParticleAcceleratorControlBox
      node: completed
    - type: ActivatableUI
      key: enum.ParticleAcceleratorControlBoxUiKey.Key
    - type: ActivatableUIRequiresPower
    - type: UserInterface
      interfaces:
        - key: enum.ParticleAcceleratorControlBoxUiKey.Key
          type: ParticleAcceleratorBoundUserInterface
        - key: enum.WiresUiKey.Key
          type: WiresBoundUserInterface
    - type: Wires
      BoardName: "Mk2 Particle Accelerator"
      LayoutId: ParticleAccelerator

# Unfinished

- type: entity
  parent: ParticleAcceleratorBase
  id: ParticleAcceleratorControlBoxUnfinished
  name: PA control computer
  suffix: Unfinished
  description: This controls the density of the particles. It looks unfinished.
  components:
    - type: Physics
      bodyType: Dynamic
    - type: Sprite
      sprite: Structures/Power/Generation/PA/control_box.rsi
      state: box
    - type: Construction
      graph: ParticleAcceleratorControlBox
      node: start
      defaultTarget: completed
