# SPDX-FileCopyrightText: 2023 LankLTE <135308300+LankLTE@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Ted Lukin <66275205+pheenty@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 pheenty <fedorlukin2006@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# TODO: Add descriptions (many)
# TODO BODY: Part damage
- type: entity
  id: PartMoth
  parent: [BaseItem, BasePart]
  name: "moth body part"
  abstract: true
  components:
  - type: WoundableVisuals
    damageOverlayGroups:
      Brute:
        sprite: _Shitmed/Mobs/Effects/brute_damage.rsi
        color: "#808A51"
      Burn:
        sprite: _Shitmed/Mobs/Effects/burn_damage.rsi
  - type: Icon # Shitmed Change
    sprite: Mobs/Species/Moth/parts.rsi
  - type: BodyPart # Shitmed Change
    species: Moth
  - type: Extractable
    juiceSolution:
      reagents:
      - ReagentId: Fat
        Quantity: 3
      - ReagentId: Blood
        Quantity: 10
  - type: Damageable # Shitmed
    damageModifierSet: Moth

- type: entity
  id: ChestMoth
  name: "moth chest"
  parent: [PartMoth, BaseChest]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "chest_m"
  - type: Extractable
    juiceSolution:
      reagents:
      - ReagentId: Fat
        Quantity: 10
      - ReagentId: Blood
        Quantity: 20

- type: entity
  id: GroinMoth
  name: "moth groin"
  parent: [PartMoth, BaseGroin]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "groin_m"
  - type: Extractable
    juiceSolution:
      reagents:
      - ReagentId: Fat
        Quantity: 10
      - ReagentId: Blood
        Quantity: 20

- type: entity
  id: HeadMoth
  name: "moth head"
  parent: [PartMoth, BaseHead]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "head_m"
  - type: Extractable
    juiceSolution:
      reagents:
      - ReagentId: Fat
        Quantity: 5
      - ReagentId: Blood
        Quantity: 10

- type: entity
  id: LeftArmMoth
  name: "left moth arm"
  parent: [PartMoth, BaseLeftArm]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "l_arm"

- type: entity
  id: RightArmMoth
  name: "right moth arm"
  parent: [PartMoth, BaseRightArm]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "r_arm"

- type: entity
  id: LeftHandMoth
  name: "left moth hand"
  parent: [PartMoth, BaseLeftHand]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "l_hand"

- type: entity
  id: RightHandMoth
  name: "right moth hand"
  parent: [PartMoth, BaseRightHand]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "r_hand"

- type: entity
  id: LeftLegMoth
  name: "left moth leg"
  parent: [PartMoth, BaseLeftLeg]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "l_leg"
  - type: MovementBodyPart # Goobstation - dark souls moths
    sprintSpeed: 4.2

- type: entity
  id: RightLegMoth
  name: "right moth leg"
  parent: [PartMoth, BaseRightLeg]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "r_leg"
  - type: MovementBodyPart # Goobstation - dark souls moths
    sprintSpeed: 4.2

- type: entity
  id: LeftFootMoth
  name: "left moth foot"
  parent: [PartMoth, BaseLeftFoot]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "l_foot"

- type: entity
  id: RightFootMoth
  name: "right moth foot"
  parent: [PartMoth, BaseRightFoot]
  components:
  - type: Sprite
    sprite: Mobs/Species/Moth/parts.rsi
    state: "r_foot"
