- type: entity
  id: AdvancedDefibrillator
  parent: [DefibrillatorCompact, BaseGrandTheftContraband]
  name: advanced defibrillator
  description: One-handed, compact, no need to charge. Does advanced “BZZ!” that jumpstart a heart and flood it with adrenaline.
  components:
    - type: Sprite
      sprite: _Sunrise/Entities/Objects/Specific/Medical/advanced_defib.rsi
      layers:
        - state: defib
        - state: defib-on
          map: [ "enum.ToggleableVisuals.Layer" ]
          visible: false
          shader: unshaded
    - type: GenericVisualizer
      visuals:
        enum.ToggleableVisuals.Enabled:
          enum.ToggleableVisuals.Layer:
            True: { visible: true }
            False: { visible: false }
    - type: Item
      size: Normal
    - type: Clothing
      quickEquip: false
      slots:
      - Belt
    - type: Tag
      tags:
      - HighRiskItem
    - type: StealTarget
      stealGroup: AdvancedDefibrillator
    - type: Defibrillator
      doAfterDuration: 1.8
      allowUseOnAlive: true
      reagents:
        Omnizine: 1
        Epinephrine: 15
        Licoxide: 4
        Tazinide: 4
    - type: ItemSlots
      slots:
        cell_slot:
          name: power-cell-slot-component-slot-name-default
          startingItem: PowerCellMicroreactor
          disableEject: true
          locked: true
    - type: PowerCellDraw
      useCharge: 110
    - type: PowerDrainOnMeleeHit
      chargePerHit: 60
    - type: MeleeWeapon
      wideAnimationRotation: -135
      angle: 0
      animation: WeaponArcThrust
      damage:
        types:
          Blunt: 5
    - type: ItemToggleMeleeWeapon
      activatedSoundOnHit:
        path: /Audio/Items/Defib/defib_zap.ogg
        params:
          variation: 0.250
      activatedSoundOnHitNoDamage:
        path: /Audio/Items/Defib/defib_zap.ogg
        params:
          variation: 0.250
          volume: -10
      activatedDamage:
        types:
          Blunt: 5
          Shock: 8

- type: entity
  id: AdvancedDefibrillatorCompact
  parent: [ DefibrillatorCompact, BaseMedicalContraband ]
  name: advanced compact defibrillator
  description: One-handed, compact, and advanced. Delivers an advanced “BZZ!”, jumpstarting the heart and flooding the body with adrenaline.
  components:
    - type: Sprite
      sprite: _Sunrise/Entities/Objects/Specific/Medical/advanced_defibsmall.rsi
    - type: Defibrillator
      doAfterDuration: 1.8
      allowUseOnAlive: true
      reagents:
        Epinephrine: 5
    - type: PowerCellDraw
      useCharge: 100
    - type: PowerDrainOnMeleeHit
      chargePerHit: 75
    - type: MeleeWeapon
      wideAnimationRotation: -135
      angle: 0
      animation: WeaponArcThrust
      damage:
        types:
          Blunt: 5
    - type: ItemToggleMeleeWeapon
      activatedSoundOnHit:
        path: /Audio/Items/Defib/defib_zap.ogg
        params:
          variation: 0.250
      activatedSoundOnHitNoDamage:
        path: /Audio/Items/Defib/defib_zap.ogg
        params:
          variation: 0.250
          volume: -10
      activatedDamage:
        types:
          Blunt: 5
          Shock: 5

- type: entity
  id: AbductorDefibrillator
  parent: [ DefibrillatorCompact, ClothingBeltBase ]
  name: abductor defibrillator
  description: An alien defibrillator belt so advanced that it does not consider death a final state. The heart is restarted before the body can even realize it.
  components:
    - type: Sprite
      sprite: _Sunrise/Entities/Objects/Specific/Medical/adbuctor_defib.rsi
    - type: Clothing
      sprite: _Sunrise/Entities/Objects/Specific/Medical/adbuctor_defib.rsi
    - type: Defibrillator
      doAfterDuration: 0.25
      zapHeal:
        types:
          Asphyxiation: -100
          Cellular: -25
      allowUseOnAlive: true
      reagents:
        Omnizine: 3
        Epinephrine: 3
        BarozinePlus: 3
        Saline: 3
        Dermaline: 3
        Rororium: 3
        Necrosol: 3
        Opporozidone: 3
        Doxarubixadone: 3
        JuiceThatMakesYouWeh: 2
        Laughter: 2
        Tazinide: 3
    - type: ItemSlots
      slots:
        cell_slot:
          name: power-cell-slot-component-slot-name-default
          startingItem: PowerCellAntiqueProto
          disableEject: true
          locked: true
    - type: PowerCellDraw
      useCharge: 200
    - type: Item
      size: Ginormous
    - type: ToggleCellDraw
    - type: MultiHandedItem
