# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  parent: MobGorilla
  id: MobGorillaAngry
  suffix: Angry
  components:
  - type: NpcFactionMember
    factions:
    - SimpleHostile

- type: entity
  parent: MobGorillaAngry
  id: MobGorillaAngryTemp
  suffix: Angry, Lesser, Temporary
  components:
  - type: FadingTimedDespawn
    lifetime: 120
    fadeOutTime: 4
  - type: MobThresholds
    thresholds:
      0: Alive
      80: Critical
      100: Dead
  - type: SlowOnDamage
    speedModifierThresholds:
      60: 0.7
      70: 0.5

- type: entity
  parent: MobGorillaAngry
  id: MobGorillaWizard
  suffix: Wizard
  components:
  - type: NpcFactionMember
    factions:
    - SimpleHostile
    - Wizard
  - type: Speech
    speechVerb: LargeMob
  - type: MobThresholds
    thresholds:
      0: Alive
      250: Critical
      350: Dead
  - type: MeleeWeapon
    damage:
      types:
        Blunt: 50
        Structural: 80
  - type: SlowOnDamage
    speedModifierThresholds:
      210: 0.7
      230: 0.5
  - type: Insulated
  - type: FlashImmunity
  - type: Bloodstream
    maxBleedAmount: 0
  - type: Respirator
    suffocationThreshold: -5
  - type: StepTriggerImmune
  - type: NoSlip
  - type: Sprinter
    staminaDrainRate: 8
  - type: Puller
    needsHands: false
  - type: Targeting

- type: entity
  name: monkey
  id: MobMonkeyAngry
  parent: MobBaseAncestor
  suffix: Angry
  description: New church of neo-darwinists actually believe that EVERY animal evolved from a monkey. Tastes like pork, and killing them is both fun and relaxing.
  components:
  - type: NameIdentifier
    group: Monkey
  - type: Speech
    speechSounds: Monkey
    speechVerb: Monkey
  - type: MonkeyAccent
  - type: NpcFactionMember
    factions:
    - SimpleHostile
  - type: HTN
    rootTask:
      task: SimpleHumanoidHostileCompound

- type: entity
  name: kobold
  id: MobKoboldAngry
  parent: MobBaseKobold
  description: Cousins to the sentient race of lizard people, kobolds blend in with their natural habitat and are as nasty as monkeys; ready to pull out your hair and stab you to death.
  components:
  - type: NpcFactionMember
    factions:
    - SimpleHostile
  - type: HTN
    rootTask:
      task: SimpleHumanoidHostileCompound

- type: entity
  parent: MobMonkeyAngry
  id: MobMonkeyAngryTemp
  suffix: Angry, Lesser, Temporary
  components:
  - type: FadingTimedDespawn
    lifetime: 120
    fadeOutTime: 4
  - type: DropItemsOnTimedDespawn
  - type: MobThresholds
    thresholds:
      0: Alive
      50: Critical
      100: Dead
  - type: SlowOnDamage
    speedModifierThresholds:
      30: 0.7
      40: 0.5
