# SPDX-FileCopyrightText: 2020 AJCM-git <60196617+AJCM-git@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 DamianX <DamianX@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 Visne <vincefvanwijk@gmail.com>
# SPDX-FileCopyrightText: 2021 Acruid <shatter66@gmail.com>
# SPDX-FileCopyrightText: 2021 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Galactic Chimp <63882831+GalacticChimp@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2021 RemberBL <timmermanrembrandt@gmail.com>
# SPDX-FileCopyrightText: 2021 Visne <39844191+Visne@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Flipp Syder <76629141+vulppine@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Paul Ritter <ritter.paul1@googlemail.com>
# SPDX-FileCopyrightText: 2022 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 mirrorcult <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2022 wrexbe <81056464+wrexbe@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Flareguy <78941145+Flareguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Armok <155400926+ARMOKS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 username <113782077+whateverusername0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 whateverusername0 <whateveremail>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: listing
  id: KnowledgePathStartFlesh
  name: knowledge-path-flesh-s1-name
  description: knowledge-path-flesh-s1-desc
  icon: { sprite: _Goobstation/Heretic/Blades/blade_flesh.rsi, state: icon }
  productHereticKnowledge: PrincipleOfHunger
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 0
    # add every path here because you shouldn't be able to buy more starter knowledge
    blacklist:
    - Ash
    - Blade
    - Flesh
    - Lock
    - Void
    - Rust
    - Cosmos

- type: listing
  id: HereticFleshPath2
  name: knowledge-path-flesh-s2-name
  description: knowledge-path-flesh-s2-desc
  icon: { sprite: _Goobstation/Heretic/mansus_grasp.rsi, state: icon }
  productHereticKnowledge: GraspOfFlesh
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 1
    whitelist:
    - Flesh

# side
- type: listing
  id: HereticFleshPath3
  name: knowledge-path-flesh-s3-name
  description: knowledge-path-flesh-s3-desc
  icon: { sprite: Objects/Specific/Hydroponics/poppy.rsi, state: dead }
  productHereticKnowledge: ImperfectRitual
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 2
    whitelist:
    - Flesh

- type: listing
  id: HereticFleshPath4
  name: knowledge-path-flesh-s4-name
  description: knowledge-path-flesh-s4-desc
  icon: { sprite: _Goobstation/Heretic/mansus_grasp.rsi, state: icon }
  productHereticKnowledge: MarkOfFlesh
  cost:
    KnowledgePoint: 2
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 3
    whitelist:
    - Flesh

- type: listing
  id: HereticFleshPath5
  name: knowledge-path-flesh-s5-name
  description: knowledge-path-flesh-s5-desc
  icon: { sprite: _Goobstation/Heretic/abilities_heretic.rsi, state: flesh_surgery }
  productHereticKnowledge: KnittingOfFlesh
  cost:
    KnowledgePoint: 2
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 4
    whitelist:
    - Flesh

# side
- type: listing
  id: HereticFleshPath6
  name: knowledge-path-flesh-s6-name
  description: knowledge-path-flesh-s6-desc
  icon: { sprite: _Goobstation/Heretic/eldritch_mobs.rsi, state: raw_prophet }
  productHereticKnowledge: RawRitual
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 5
    whitelist:
    - Flesh

- type: listing
  id: HereticFleshPath7
  name: knowledge-path-flesh-s7-name
  description: knowledge-path-flesh-s7-desc
  icon: { sprite: _Goobstation/Heretic/Blades/blade_flesh.rsi, state: icon }
  productHereticKnowledge: BleedingSteel
  cost:
    KnowledgePoint: 2
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 6
    whitelist:
    - Flesh

# side
- type: listing
  id: HereticFleshPath8
  name: knowledge-path-flesh-s8-name
  description: knowledge-path-flesh-s8-desc
  icon: { sprite: _Goobstation/Heretic/eldritch_mobs.rsi, state: stalker }
  productHereticKnowledge: LonelyRitual
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 7
    whitelist:
    - Flesh

- type: listing
  id: HereticFleshPath9
  name: knowledge-path-flesh-s9-name
  description: knowledge-path-flesh-s9-desc
  icon: { sprite: _Goobstation/Heretic/abilities_heretic.rsi, state: final_hymn }
  productHereticKnowledge: AscensionFlesh
  cost:
    KnowledgePoint: 3
  categories:
  - HereticPathFlesh
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    requiresCanAscend: true
    stage: 8
    whitelist:
    - Flesh
