# SPDX-FileCopyrightText: 2021 Paul <ritter.paul1+git@googlemail.com>
# SPDX-FileCopyrightText: 2021 Paul Ritter <ritter.paul1@googlemail.com>
# SPDX-FileCopyrightText: 2021 Swept <sweptwastaken@protonmail.com>
# SPDX-FileCopyrightText: 2021 Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Vera Aguilera Puerto <zddm@outlook.es>
# SPDX-FileCopyrightText: 2022 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Jezithyr <Jezithyr@gmail.com>
# SPDX-FileCopyrightText: 2022 Moony <moonheart08@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Rane <60792108+Elijahrane@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Visne <39844191+Visne@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 mirrorcult <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2023 LankLTE <135308300+LankLTE@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Whisper <121047731+QuietlyWhisper@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 lzk <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@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 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
# Shitmed Change: Removed components from each part, instead using composition for sprites
- type: entity
  id: PartSlime
  parent: [BaseItem, BasePart]
  name: "slime body part"
  abstract: true
  components: # Shitmed Change
  - type: Sprite
    sprite: Mobs/Species/Slime/parts.rsi
  - type: Icon
    sprite: Mobs/Species/Slime/parts.rsi
  - type: BodyPart
    species: SlimePerson
  - type: WoundableVisuals
    damageOverlayGroups:
      Brute:
        sprite: _Shitmed/Mobs/Effects/brute_damage.rsi
        color: "#2cf274"
      Burn:
        sprite: _Shitmed/Mobs/Effects/burn_damage.rsi
  - type: Damageable # Shitmed
    damageModifierSet: Slime
  - type: Boneless # Goob Edit
    bonePenalty: 0.7

- type: entity
  id: ChestSlime
  name: "slime chest"
  parent: [PartSlime, BaseChest]
  components:
    - type: Sprite
      sprite: Mobs/Species/Slime/parts.rsi
      state: "chest_m"

- type: entity
  id: GroinSlime
  name: "slime groin"
  parent: [PartSlime, BaseGroin]
  components:
    - type: Sprite
      sprite: Mobs/Species/Slime/parts.rsi
      state: "groin_m"

- type: entity
  id: HeadSlime
  name: "slime head"
  parent: [PartSlime, BaseHead]

- type: entity
  id: LeftArmSlime
  name: "left slime arm"
  parent: [PartSlime, BaseLeftArm]

- type: entity
  id: RightArmSlime
  name: "right slime arm"
  parent: [PartSlime, BaseRightArm]

- type: entity
  id: LeftHandSlime
  name: "left slime hand"
  parent: [PartSlime, BaseLeftHand]

- type: entity
  id: RightHandSlime
  name: "right slime hand"
  parent: [PartSlime, BaseRightHand]

- type: entity
  id: LeftLegSlime
  name: "left slime leg"
  parent: [PartSlime, BaseLeftLeg]

- type: entity
  id: RightLegSlime
  name: "right slime leg"
  parent: [PartSlime, BaseRightLeg]

- type: entity
  id: LeftFootSlime
  name: "left slime foot"
  parent: [PartSlime, BaseLeftFoot]

- type: entity
  id: RightFootSlime
  name: "right slime foot"
  parent: [PartSlime, BaseRightFoot]
