# 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: WeaponMechSpecialMousetrapMortar
  parent: [ BaseMechWeaponRange, SpecialMechEquipment ]
  suffix: Mech Weapon, Gun, Special, Mortar
  name: mousetrap mortar
  description: Mounted mousetrap launcher.
  components:
  - type: Sprite
    state: mecha_mousetrapmrtr
  - type: Gun
    minAngle: 24
    maxAngle: 45
    angleIncrease: 4
    angleDecay: 16
    fireRate: 0.5
    selectedMode: SemiAuto
    availableModes:
      - SemiAuto
    soundGunshot:
      path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
    soundEmpty:
      path: /Audio/Weapons/Guns/Empty/lmg_empty.ogg
  - type: AmmoCounter
  - type: ProjectileBatteryAmmoProvider
    proto: MousetrapArmed
    fireCost: 100
  - type: Appearance

- type: entity
  id: WeaponMechSpecialBananaMortar
  parent: [ BaseMechWeaponRange, SpecialMechEquipment ]
  suffix: Mech Weapon, Gun, Special, Mortar
  name: banana mortar
  description: Mounted banana peel launcher.
  components:
  - type: Sprite
    state: mecha_bananamrtr
  - type: Gun
    minAngle: 24
    maxAngle: 25
    angleIncrease: 4
    angleDecay: 16
    fireRate: 0.5
    selectedMode: SemiAuto
    availableModes:
      - SemiAuto
    soundGunshot:
      path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
    soundEmpty:
      path: /Audio/Weapons/Guns/Empty/lmg_empty.ogg
  - type: AmmoCounter
  - type: ProjectileBatteryAmmoProvider
    proto: TrashBananaPeel
    fireCost: 100
  - type: Appearance