# SPDX-FileCopyrightText: 2024 Ashley Woodiss-Field <ash@DESKTOP-H64M4AI.localdomain>
# SPDX-FileCopyrightText: 2024 BeeRobynn <166929042+BeeRobynn@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 CM <ash@DESKTOP-H64M4AI.localdomain>
# SPDX-FileCopyrightText: 2025 ColesMagnum <98577947+AW-FulCode@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2025 SX-7 <92227810+SX-7@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 SX-7 <sn1.test.preria.2002@gmail.com>
# SPDX-FileCopyrightText: 2025 Ted Lukin <66275205+pheenty@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 pheenty <fedorlukin2006@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  parent: BaseMobSpeciesOrganic
  id: BaseMobYowie
  name: Urist McYowie
  abstract: true
  components:
  - type: Sprite
    # scale: 1.3, 1.3 # Goobstation: port EE height/width sliders
  - type: ScaleData # Goobstation
    # scale: 1.3, 1.3 # Goobstation: port EE height/width sliders
  - type: Hunger
  - type: Icon # It will not have an icon in the adminspawn menu without this. Body parts seem fine for whatever reason.
    sprite: _Goobstation/Mobs/Species/Yowie/parts.rsi
    state: full
  - type: Thirst
  - type: Butcherable
    butcheringType: Spike
    spawned:
    - id: FoodMeatHuman
      amount: 5
  - type: LanguageKnowledge # Einstein Engines - Language
    speaks:
    - TauCetiBasic
    - SolCommon # They originate from Australia - Durk
    - YowKriol
    understands:
    - TauCetiBasic
    - SolCommon # They originate from Australia - Durk
    - YowKriol
  - type: Body
    prototype: Yowie
    requiredLegs: 2
  - type: HumanoidAppearance
    species: Yowie
    hideLayersOnEquip:
    - Hair
    - Snout
  - type: MeleeWeapon
    altDisarm: false
    heavyStaminaCost: 1.5
    damage:
      types:
        Blunt: 10
  - type: Inventory
    templateId: yowie
  - type: Damageable
    damageModifierSet: Yowie
  - type: Metabolizer
    updateInterval: 3
  - type: BoganAccent
  - type: Carriable
    freeHandsRequired: 4 # easiest way to make them uncarriable without removing carriable from base mob
  - type: NoWieldNeeded
  - type: OuterSlotPenalty
    equippedSpeedMultiplier: 0.8
    damage:
      types:
        Blunt: 4
  - type: SurgeryTarget
    sepsisImmune: true
  - type: Fixtures
    fixtures: # TODO: This needs a second fixture just for mob collisions.
      fix1:
        shape:
          !type:PhysShapeCircle
          radius: 0.35
        density: 220
        restitution: 0.0
        mask:
        - MobMask
        layer:
        - MobLayer

- type: entity
  parent: BaseSpeciesDummy
  id: MobYowieDummy
  categories: [ HideSpawnMenu ]
  components:
  - type: HumanoidAppearance
    species: Diona
  - type: Inventory
    templateId: diona
    femaleDisplacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: jumpsuit-female
