# 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
  name: silencer
  parent: [ BaseItem, BaseMajorContraband ]
  id: Silencer
  description: Tool for silencing humans.
  components:
  - type: Item
    sprite: _Shitmed/Objects/Weapons/Melee/silencer.rsi
    size: Small
    storedRotation: -90
  - type: Sprite
    sprite: _Shitmed/Objects/Weapons/Melee/silencer.rsi
    state: icon
#  - type: RestrictMeleeByUserTag
#    contains:
#    - Abductor
#    messages:
#    - abductors-weapon-restricted-1
#    - abductors-weapon-restricted-2
#    - abductors-weapon-restricted-3
#    - abductors-weapon-restricted-4
  - type: MeleeWeapon
    wideAnimationRotation: -135
    attackRate: 1
    damage:
      types:
        Shock: 0
    angle: 60
    animation: WeaponArcThrust
  - type: InjectOnHit
    reagents:
    - ReagentId: MuteToxin
      Quantity: 5
    limit: 10
