# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Armok <155400926+ARMOKS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 LuciferEOS <stepanteliatnik2022@gmail.com>
# SPDX-FileCopyrightText: 2025 LuciferMkshelter <154002422+LuciferEOS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 pheenty <fedorlukin2006@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  name: hammer
  parent: BaseItem
  id: MeleeHammer
  description: 3 steel 2 wood
  components:
  - type: Sprite
    sprite: _Goobstation/Objects/Weapons/Melee/hammer.rsi
    state: icon
  - type: MeleeWeapon
    animationRotation: -90 # WWDP
    wideAnimationRotation: -135
    attackRate: 1
    damage:
      types:
        Blunt: 12
    heavyStaminaCost: 6
    soundHit:
      collection: MetalThud
  - type: Item
    size: Small
    sprite: _Goobstation/Objects/Weapons/Melee/hammer.rsi
  - type: Tag
    tags:
    - Hammer
  - type: Tool
    qualities:
    - Hammering
    useSound:
      path: /Audio/Items/trayhit2.ogg
  - type: Construction
    graph: Hammer
    node: hammer
