# SPDX-FileCopyrightText: 2024 NULL882 <gost6865@yandex.ru>
# SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: WeaponMechMeleeDrill
  parent: BaseMechWeaponMelee
  name: exosuit drill
  suffix: Mech Weapon, Melee, Industrial
  description: Equipment for mining exosuits. This is the drill that'll pierce the rocks!
  components:
  - type: Sprite
    state: mecha_drill
  - type: Tag
    tags:
    - Pickaxe
    - IndustrialMech
  - type: MeleeWeapon
    canWideSwing: false
    autoAttack: true
    angle: 0
    wideAnimationRotation: -90
    soundHit:
      path: "/Audio/Items/drill_hit.ogg"
    attackRate: 3.5
    damage:
      groups:
        Brute: 9
      types:
        Structural: 40 # ~10 seconds for solid wall / ~21 secods for reinforced wall

- type: entity
  id: WeaponMechMeleeDrillDiamond
  parent: BaseMechWeaponMelee
  name: diamond-tipped exosuit drill
  suffix: Mech Weapon, Melee, Industrial
  description: Equipment for mining exosuits. This is an upgraded version of the drill that'll pierce the rocks!
  components:
  - type: Sprite
    state: mecha_diamond_drill
  - type: Tag
    tags:
    - Pickaxe
    - IndustrialMech
  - type: MeleeWeapon
    canWideSwing: false
    autoAttack: true
    angle: 0
    wideAnimationRotation: -90
    soundHit:
      path: "/Audio/Items/drill_hit.ogg"
    attackRate: 4
    damage:
      groups:
        Brute: 18
      types:
        Structural: 60 # ~3 seconds for solid wall / 9 seconds for reinforced wall
