# SPDX-FileCopyrightText: 2024 Errant <35878406+Errant-4@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 username <113782077+whateverusername0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 whateverusername0 <whateveremail>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  abstract: true
  parent: BaseObjective
  id: BaseHereticObjective
  components:
  - type: Objective
    difficulty: 1.5
    issuer: objective-issuer-heretic

- type: entity
  parent: BaseHereticObjective
  id: HereticKnowledgeObjective
  components:
  - type: Objective
    icon:
      sprite: _Goobstation/Heretic/reality_fracture.rsi
      state: icon_harvested
  - type: NumberObjective # Full main path research +1-2 side knowledge
    min: 13
    max: 15
    title: objective-condition-knowledge-title
  - type: HereticKnowledgeCondition

- type: entity
  parent: BaseHereticObjective
  id: HereticSacrificeObjective
  components:
  - type: Objective
    icon:
      sprite: _Goobstation/Heretic/Blades/eldritch_blade.rsi
      state: icon
  - type: NumberObjective
    min: 3
    max: 4
    title: objective-condition-sacrifice-title
  - type: HereticSacrificeCondition

- type: entity
  parent: BaseHereticObjective
  id: HereticSacrificeHeadObjective
  components:
  - type: Objective
    icon:
      sprite: _Goobstation/Heretic/Blades/eldritch_blade.rsi
      state: icon
  - type: NumberObjective
    min: 1
    max: 1
    title: objective-condition-sacrifice-head-title
  - type: HereticSacrificeCondition
    isCommand: true
