- type: entity
  id: DebugGenerator
  parent: BaseGenerator
  suffix: DEBUG
  categories: [ Debug ] # Sunrise added
  components:
  - type: PowerSupplier
    supplyRate: 300000
    supplyRampRate: 50000
    supplyRampTolerance: 500
  - type: Tag
    tags:
      - Debug

- type: entity
  id: DebugConsumer
  name: consumer
  suffix: DEBUG
  categories: [ Debug ] # Sunrise added
  placement:
    mode: SnapgridCenter
  components:
  - type: Tag
    tags:
      - Debug
  - type: Clickable
  - type: InteractionOutline
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.5,-0.5,0.5,0.5"
        layer: [MobMask, Opaque]
  - type: Transform
    anchored: true
  - type: Sprite
    sprite: Structures/Power/power.rsi
    state: wiredmachine
  - type: NodeContainer
    nodes:
      input:
        !type:CableDeviceNode
        nodeGroupID: HVPower
  - type: PowerConsumer
    drawRate: 50
  - type: Damageable
    damageContainer: Inorganic
    damageModifierSet: Metallic
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 100
      behaviors:
      - !type:DoActsBehavior
        acts: ["Breakage"]
  - type: Anchorable

- type: entity
  id: DebugBatteryStorage
  name: battery storage
  suffix: DEBUG
  categories: [ Debug ] # Sunrise added
  placement:
    mode: SnapgridCenter
  components:
  - type: Tag
    tags:
      - Debug
  - type: Clickable
  - type: InteractionOutline
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.5,-0.5,0.5,0.5"
        layer: [MobMask, Opaque]
  - type: Transform
    anchored: true
  - type: Sprite
    sprite: Structures/Power/power.rsi
    state: provider
  - type: Battery
  - type: NodeContainer
    nodes:
      input:
        !type:CableDeviceNode
        nodeGroupID: HVPower
  - type: Anchorable

- type: entity
  id: DebugBatteryDischarger
  name: battery discharger
  suffix: DEBUG
  categories: [ Debug ] # Sunrise added
  placement:
    mode: SnapgridCenter
  components:
  - type: Tag
    tags:
      - Debug
  - type: Clickable
  - type: PowerNetworkBattery
  - type: InteractionOutline
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.5,-0.5,0.5,0.5"
        layer: [MobMask, Opaque]
  - type: Transform
    anchored: true
  - type: Sprite
    sprite: Structures/Power/power.rsi
    state: provider
  - type: Battery
  - type: NodeContainer
    nodes:
      input:
        !type:CableDeviceNode
        nodeGroupID: HVPower
  - type: BatteryDischarger
  - type: Anchorable

- type: entity
  parent: BaseSMES
  id: DebugSMES
  suffix: DEBUG, Empty
  components:
  - type: Tag
    tags:
    - Debug

- type: entity
  parent: BaseSMES
  id: DebugSMESRecharging
  suffix: DEBUG, AutoRecharge
  categories: [ Debug ] # Sunrise added
  components:
  - type: BatterySelfRecharger
    autoRechargeRate: 50000
    autoRecharge: True
  - type: Tag
    tags:
    - Debug

- type: entity
  parent: BaseSubstation
  id: DebugSubstation
  suffix: DEBUG, Empty
  components:
  - type: Tag
    tags:
    - Debug

- type: entity
  parent: BaseSubstation
  id: DebugSubstationRecharging
  suffix: DEBUG, AutoRecharge
  components:
  - type: BatterySelfRecharger
    autoRechargeRate: 50000
    autoRecharge: True
  - type: Tag
    tags:
    - Debug

- type: entity
  parent: BaseSubstationWall
  id: DebugSubstationWall
  suffix: DEBUG, Empty
  components:
  - type: Tag
    tags:
    - Debug

- type: entity
  parent: BaseSubstationWall
  id: DebugSubstationWallRecharging
  suffix: DEBUG, AutoRecharge
  components:
  - type: BatterySelfRecharger
    autoRechargeRate: 50000
    autoRecharge: True
  - type: Tag
    tags:
    - Debug

- type: entity
  parent: BaseAPC
  id: DebugAPC
  suffix: DEBUG, Empty
  components:
  - type: Tag
    tags:
    - Debug

- type: entity
  parent: BaseAPC
  id: DebugAPCRecharging
  suffix: DEBUG, AutoRecharge
  categories: [ Debug ] # Sunrise added
  components:
  - type: BatterySelfRecharger
    autoRechargeRate: 50000
    autoRecharge: True
  - type: Tag
    tags:
    - Debug

- type: entity
  id: DebugPowerReceiver
  name: power receiver
  suffix: DEBUG
  categories: [ Debug ] # Sunrise added
  placement:
    mode: SnapgridCenter
  components:
  - type: Tag
    tags:
      - Debug
  - type: Clickable
  - type: InteractionOutline
  - type: Physics
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.5,-0.5,0.5,0.5"
        layer: [MobMask, Opaque]
  - type: Transform
    anchored: true
  - type: Sprite
    sprite: Structures/Power/power.rsi
    state: wirelessmachine
  - type: ApcPowerReceiver
  - type: ExtensionCableReceiver
  - type: Anchorable
