# Power Cell Slot

- type: entity
  parent: BaseItem
  id: AugmentPowerCellSlotCasing
  name: augment power cell slot casing
  description: Can be implanted into a body to provide power to other implants. This one is incomplete.
  components:
  - type: Sprite
    sprite: _Shitmed/Objects/Augments/power.rsi
    state: incomplete_cell
  - type: Construction
    graph: AugmentPowerCellSlot
    node: casing
    defaultTarget: augment
  - type: Tag
    tags: [ AugmentCellCasing ]

- type: entity
  parent: BaseItem
  id: AugmentPowerCellSlotCables
  name: augment power cell slot casing with cables
  description: Can be implanted into a body to provide power to other implants. This one is incomplete.
  components:
  - type: Sprite
    sprite: _Shitmed/Objects/Augments/power.rsi
    state: incomplete_cell_cables
  - type: Construction
    graph: AugmentPowerCellSlot
    node: cables

- type: entity
  parent: BaseAugment
  id: AugmentPowerCellSlot
  name: augment power cell slot
  description: Can be implanted into a body to provide power to other implants.
  components:
  - type: Sprite
    sprite: _Shitmed/Objects/Augments/power.rsi
    state: cell
  - type: Organ
    slotId: powerCell
    onAdd:
    - type: HasAugmentPowerCellSlot
  - type: AugmentPowerCellSlot
  - type: Construction
    graph: AugmentPowerCellSlot
    node: augment
  - type: ContainerContainer
    containers:
      cell_slot: !type:ContainerSlot { }
  - type: PowerCellSlot
    cellSlotId: cell_slot
  - type: PowerCellDraw
    drawRate: 0
    enabled: false
  - type: ItemSlots
    slots:
      cell_slot:
        name: power-cell-slot-component-slot-name-default
        whitelist:
          components:
          - PowerCell
        blacklist:
          tags:
          - PowerCage

# Power Cell Charger

- type: entity
  abstract: true
  parent: BaseAugment
  id: BaseAugmentRecharger
  components:
  - type: Sprite
    sprite: _Shitmed/Objects/Augments/power.rsi
    state: cell
  - type: Organ
    slotId: charger
  - type: AugmentCharger

- type: entity
  parent: BaseItem
  id: AugmentRechargerCasing
  name: augment recharger casing
  description: Can be implanted into a body to recharge an internal power cell. This one is incomplete.
  components:
  - type: Sprite
    sprite: _Shitmed/Objects/Augments/power.rsi
    state: incomplete_charger
  - type: Construction
    graph: AugmentRecharger
    node: casing
  - type: Tag
    tags: [ AugmentRechargerCasing ]

- type: entity
  parent: BaseItem
  id: AugmentRechargerCables
  name: augment recharger casing with cables
  description: Can be implanted into a body to recharge an internal power cell. This one is incomplete.
  components:
  - type: Sprite
    sprite: _Shitmed/Objects/Augments/power.rsi
    state: incomplete_charger_cables
  - type: Construction
    graph: AugmentRecharger
    node: cables

- type: entity
  parent: BaseAugmentRecharger
  id: AugmentRechargerAPC
  name: augment apc recharger
  description: Allows the implantee to recharge their power cell via APCs.
  components:
  - type: Sprite
    state: apc
  - type: Organ
    onAdd:
    - type: BatteryDrinker
  - type: Construction
    graph: AugmentRecharger
    node: apc

- type: entity
  parent: BaseAugmentRecharger
  id: AugmentRechargerStation
  name: augment station recharger
  description: Allows the implantee to recharge their power cell via cyborg recharging stations.
  components:
  - type: Sprite
    state: station
  - type: Organ
    onAdd:
    - type: AugmentStationRecharge
  - type: Construction
    graph: AugmentRecharger
    node: station
