# SPDX-License-Identifier: AGPL-3.0-or-later

- type: listing
  id: KnowledgePathStartBlade
  name: knowledge-path-blade-s1-name
  description: knowledge-path-blade-s1-desc
  icon: { sprite: _Goobstation/Heretic/Blades/blade_blade.rsi, state: icon }
  productHereticKnowledge: CuttingEdge
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathBlade
  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: HereticBladePath2
  name: knowledge-path-blade-s2-name
  description: knowledge-path-blade-s2-desc
  icon: { sprite: _Goobstation/Heretic/mansus_grasp.rsi, state: icon }
  productHereticKnowledge: GraspOfBlade
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 1
    whitelist:
    - Blade

# side
- type: listing
  id: HereticBladePath3
  name: knowledge-path-blade-s3-name
  description: knowledge-path-blade-s3-desc
  icon: { sprite: _Goobstation/Heretic/book.rsi, state: icon-on }
  productHereticKnowledge: DanceOfTheBrand
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 2
    whitelist:
    - Blade

- type: listing
  id: HereticBladePath4
  name: knowledge-path-blade-s4-name
  description: knowledge-path-blade-s4-desc
  icon: { sprite: _Goobstation/Heretic/mansus_grasp.rsi, state: icon }
  productHereticKnowledge: MarkOfBlade
  cost:
    KnowledgePoint: 2
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 3
    whitelist:
    - Blade

- type: listing
  id: HereticBladePath5
  name: knowledge-path-blade-s5-name
  description: knowledge-path-blade-s5-desc
  icon: { sprite: _Goobstation/Heretic/abilities_heretic.rsi, state: realignment }
  productHereticKnowledge: Realignment
  cost:
    KnowledgePoint: 2
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 4
    whitelist:
    - Blade

# side
- type: listing
  id: HereticBladePath6
  name: knowledge-path-blade-s6-name
  description: knowledge-path-blade-s6-desc
  icon: { sprite: _Goobstation/Heretic/book.rsi, state: icon-on }
  productHereticKnowledge: TornChampionStance
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 5
    whitelist:
    - Blade

- type: listing
  id: HereticBladePath7
  name: knowledge-path-blade-s7-name
  description: knowledge-path-blade-s7-desc
  icon: { sprite: _Goobstation/Heretic/mansus_grasp.rsi, state: icon }
  productHereticKnowledge: EmpoweredBlades
  cost:
    KnowledgePoint: 2
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 6
    whitelist:
    - Blade

# side
- type: listing
  id: HereticBladePath8
  name: knowledge-path-blade-s8-name
  description: knowledge-path-blade-s8-desc
  icon: { sprite: _Goobstation/Heretic/abilities_heretic.rsi, state: furious_steel }
  productHereticKnowledge: FuriousSteel
  cost:
    KnowledgePoint: 1
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    stage: 7
    whitelist:
    - Blade

- type: listing
  id: HereticBladePath9
  name: knowledge-path-blade-s9-name
  description: knowledge-path-blade-s9-desc
  icon: { sprite: _Goobstation/Heretic/items.rsi, state: protective_blade }
  productHereticKnowledge: AscensionBlade
  cost:
    KnowledgePoint: 3
  categories:
  - HereticPathBlade
  conditions:
  - !type:ListingLimitedStockCondition
    stock: 1
  - !type:HereticPathCondition
    requiresCanAscend: true
    stage: 8
    whitelist:
    - Blade
