- type: entity
  abstract: true
  parent: BaseObjective
  id: BaseBloodBrotherObjective
  components:
  - type: Objective
    issuer: objective-issuer-blood-brother
  - type: RoleRequirement
    roles:
    - BloodBrotherRole

# Converted blood brother
- type: entity
  parent: [BaseBloodBrotherObjective, BaseTargetObjective]
  id: BloodBrotherConvertedObjective
  name: Help your blood bound.
  description: Assist your blood bound in completing all of their objectives no matter the cost.
  components:
  - type: Objective
    difficulty: 0 # never given randomly anyways
    issuer: objective-issuer-blood-brother
    icon:
      sprite: /Textures/Interface/Alerts/bleed.rsi
      state: bleed10
  - type: TargetObjective
    title: objective-condition-blood-brother-progress-title
  - type: HelpProgressCondition
  - type: ConvertedBloodBrotherObjective

# state

- type: entity
  parent: BaseBloodBrotherObjective
  id: BloodBrotherEscapeShuttleObjective
  name: Escape to centcomm alive and unrestrained.
  description: You must escape to Central Command alive and unrestrained with your blood bound.
  components:
  - type: Objective
    difficulty: 1.5
    icon:
      sprite: Structures/Furniture/chairs.rsi
      state: shuttle
  - type: ObjectiveBlacklistRequirement
    blacklist:
      components:
      - SelfAndTargetSurviveCondition
  - type: TargetObjective
    title: objective-condition-blood-brother-escape-title
  - type: BloodBrotherTarget
  - type: SelfAndTargetEscapeShuttleCondition

- type: entity
  parent: BaseBloodBrotherObjective
  id: BloodBrotherSurviveObjective
  name: Survive.
  description: We just need you and your blood bound alive, cuffs or not. Escaping to centcomm is not necessary.
  components:
  - type: Objective
    difficulty: 1.5
    icon:
      sprite: Objects/Specific/Medical/medical.rsi
      state: gauze
  - type: ObjectiveBlacklistRequirement
    blacklist:
      components:
      - SelfAndTargetEscapeShuttleCondition
  - type: TargetObjective
    title: objective-condition-blood-brother-survive-title
  - type: BloodBrotherTarget
  - type: SelfAndTargetSurviveCondition

# kill

- type: entity
  parent: [BaseBloodBrotherObjective, KillRandomPersonObjective]
  id: BloodBrotherKillRandomPersonObjective

- type: entity
  parent: [BaseBloodBrotherObjective, KillRandomHeadObjective]
  id: BloodBrotherKillRandomHeadObjective

- type: entity
  parent: [BaseBloodBrotherObjective, BaseTeachALessonObjective] # Reserve edit
  id: BloodBrotherTeachLessonRandomPersonObjective
  components:
  # Reserve start
  - type: Objective
    difficulty: 0.5 #slightly under 1/3rd the diffculty of RR
    unique: false
  - type: TargetObjective
    title: objective-condition-teach-lesson-title
  - type: PickRandomPerson
  # Reserve end

# steal

## cmo

- type: entity
  parent: [BaseBloodBrotherObjective, CMOHyposprayStealObjective]
  id: BloodBrotherCMOHyposprayStealObjective

## rd

- type: entity
  parent: [BaseBloodBrotherObjective, RDHardsuitStealObjective]
  id: BloodBrotherRDHardsuitStealObjective

- type: entity
  parent: [BaseBloodBrotherObjective, HandTeleporterStealObjective]
  id: BloodBrotherHandTeleporterStealObjective

## hos

- type: entity
  parent: [BaseBloodBrotherObjective, EnergyShotgunStealObjective]
  id: BloodBrotherEnergyShotgunStealObjective

## ce

- type: entity
  parent: [BaseBloodBrotherObjective, MagbootsStealObjective]
  id: BloodBrotherMagbootsStealObjective

## qm

- type: entity
  parent: [BaseBloodBrotherObjective, ClipboardStealObjective]
  id: BloodBrotherClipboardStealObjective

## hop

- type: entity
  parent: [BaseBloodBrotherObjective, CorgiMeatStealObjective]
  id: BloodBrotherCorgiMeatStealObjective

## cap

- type: entity
  parent: [BaseBloodBrotherObjective, CaptainIDStealObjective]
  id: BloodBrotherCaptainIDStealObjective

- type: entity
  parent: [BaseBloodBrotherObjective, CaptainJetpackStealObjective]
  id: BloodBrotherCaptainJetpackStealObjective

- type: entity
  parent: [BaseBloodBrotherObjective, CaptainGunStealObjective]
  id: BloodBrotherCaptainGunStealObjective

- type: entity
  parent: [BaseBloodBrotherObjective, NukeDiskStealObjective]
  id: BloodBrotherNukeDiskStealObjective
