# SPDX-FileCopyrightText: 2024 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Remuchi <72476615+Remuchi@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 VMSolidus <evilexecutive@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Marcus F <199992874+thebiggestbruh@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Ted Lukin <66275205+pheenty@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: ContractorBaton
  parent: [BaseSyndicateContraband, TelescopicBaton]
  name: contractor baton
  description: A compact, specialised baton assigned to Syndicate contractors. Applies light electrical shocks to targets.
  components:
  - type: Sprite
    sprite: _Goobstation/Objects/Weapons/Melee/contractor_baton.rsi
    layers:
    - state: icon
      map: [ "enum.ItemToggleVisuals.Layer" ]
  - type: Item
    sprite: _Goobstation/Objects/Weapons/Melee/contractor_baton.rsi
  - type: Clothing
    sprite: _Goobstation/Objects/Weapons/Melee/contractor_baton.rsi
  - type: TelescopicBaton
    alwaysDropItems: true
  - type: UseDelay
    delays:
      default:
        length: 1
      telebaton:
        length: 1
  - type: ItemToggle
    soundActivate:
      path: /Audio/_Goobstation/Weapons/Baton/contractorbatonextend.ogg
    soundDeactivate:
      path: /Audio/_Goobstation/Weapons/Baton/contractorbatonextend.ogg
  - type: ItemToggleMeleeWeapon
    activatedSoundOnHit:
      path: /Audio/_Goobstation/Weapons/Baton/contractorbatonhit.ogg
      params:
        variation: 0.250
    activatedDamage:
      types:
        Shock: 5
        Ion: 35
  - type: MeleeWeapon
    bluntStaminaDamageFactor: 0
  - type: StaminaDamageOnHit
    damage: 85
  - type: StunBorgsOnHit
  - type: TogglePreventStaminaDamage
