# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2025 Theodore Lukin <66275205+pheenty@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 pheenty <fedorlukin2006@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: AbductorGizmo
  parent: [BaseItem, BaseMajorContraband]
  name: gizmo
  description: A device that inserts a nano tracker, which can be used to target a teleportation beam.
  components:
  - type: Sprite
    sprite: _Shitmed/Objects/Misc/gizmo.rsi
    state: icon
  - type: Item
    sprite: _Shitmed/Objects/Misc/gizmo.rsi
  - type: RestrictInteractionByUserTag
    contains:
    - AbductorScientist
    messages:
    - abductors-gizmo-restricted-1
    - abductors-gizmo-restricted-2
  - type: RestrictMeleeByUserTag
    contains:
    - AbductorScientist
    messages:
    - abductors-gizmo-restricted-1
    - abductors-gizmo-restricted-2
  - type: MeleeWeapon
    wideAnimationRotation: -135
    attackRate: 0.5
    damage:
      types:
        Shock: 0
    angle: 60
    animation: WeaponArcThrust
  - type: AbductorGizmo
  - type: GuideHelp
    guides:
    - Abductors
