- type: entity
  abstract: true
  parent: BaseObjective
  id: BaseCosmicCultObjective
  components:
  - type: Objective
    difficulty: 1.5
    issuer: objective-issuer-cosmiccult
  - type: RoleRequirement
    roles:
    - CosmicCultRole

############################### COSMIC CULT'S OBJECTIVES

- type: entity
  parent: BaseCosmicCultObjective
  id: CosmicEntropyObjective
  components:
  - type: Objective
    icon:
      sprite: _DV/CosmicCult/Icons/objectives.rsi
      state: siphon
  - type: NumberObjective
    min: 40
    max: 60
    title: objective-condition-entropy-title
    description: objective-condition-entropy-desc
  - type: CosmicEntropyCondition

- type: entity
  parent: BaseCosmicCultObjective
  id: CosmicMonumentObjective
  components:
  - type: Objective
    icon:
      sprite: _DV/CosmicCult/Icons/objectives.rsi
      state: upgrade
  - type: NumberObjective
    min: 3
    max: 3
    title: objective-condition-culttier-title
    description: objective-condition-culttier-desc
  - type: CosmicTierCondition

- type: entity
  parent: BaseCosmicCultObjective
  id: CosmicFinalityObjective
  components:
  - type: Objective
    icon:
      sprite: _DV/CosmicCult/Icons/objectives.rsi
      state: summon
  - type: NumberObjective
    min: 1
    max: 1
    title: objective-condition-victory-title
    description: objective-condition-victory-desc
  - type: CosmicVictoryCondition

############################### ROGUE ASCENDED OBJECTIVES

- type: entity
  abstract: true
  parent: BaseObjective
  id: BaseRogueAscendedObjective
  components:
  - type: Objective
    # difficulty isn't used since all objectives are picked
    difficulty: 1.5
    issuer: rogue-ascended-objective-issuer
  - type: RoleRequirement
    roles:
    - RogueAscendedRole

- type: entity
  parent: BaseRogueAscendedObjective
  id: RogueAscendedInfectionObjective
  components:
  - type: Objective
    icon:
      sprite: _DV/CosmicCult/Icons/objectives.rsi
      state: infection
  - type: NumberObjective
    min: 5
    max: 10
    title: objective-condition-maligninfection-title
    description: objective-condition-maligninfection-description
  - type: RogueInfectionCondition

- type: entity
  parent: [BaseRogueAscendedObjective, BaseSurviveObjective]
  id: RogueAscendedSurviveObjective
  name: Survive
  description: Survive until the end of all things.
  components:
  - type: Objective
    icon:
      sprite: _DV/CosmicCult/Icons/objectives.rsi
      state: summon
