Fixed objectives to not target ObjectiveImmune

This commit is contained in:
Vanessa 2025-11-29 20:44:45 -06:00
parent 46529ee092
commit b9f100e5dc
8 changed files with 55 additions and 0 deletions

View File

@ -96,6 +96,10 @@
title: objective-condition-maroon-person-title
- type: PickRandomPerson
filters:
- !type:BodyMindFilter # DeltaV - ObjectiveImmune
blacklist:
components:
- ObjectiveImmune
# Can't have multiple objectives to kill the same person.
- !type:TargetObjectiveMindFilter
blacklist:
@ -122,6 +126,9 @@
whitelist:
components:
- CommandStaff
blacklist: # DeltaV - ObjectiveImmune
components:
- ObjectiveImmune
# Can't have multiple objectives to kill the same person.
- !type:TargetObjectiveMindFilter
blacklist:
@ -150,6 +157,10 @@
whitelist:
components:
- TraitorRole
- !type:BodyMindFilter # DeltaV - ObjectiveImmune
blacklist:
components:
- ObjectiveImmune
# Can't have multiple objectives to help/save the same person
- !type:TargetObjectiveMindFilter
blacklist:
@ -172,6 +183,10 @@
whitelist:
components:
- TraitorRole
- !type:BodyMindFilter # DeltaV - ObjectiveImmune
blacklist:
components:
- ObjectiveImmune
# Can't help anyone who is tasked with helping:
# 1. thats boring
# 2. no cyclic progress dependencies!!!

View File

@ -35,6 +35,9 @@
whitelist:
components:
- CommandStaff
blacklist: # DeltaV - ObjectiveImmune
components:
- ObjectiveImmune
# Can't have multiple objectives to kill the same person.
- !type:TargetObjectiveMindFilter
blacklist:

View File

@ -38,6 +38,10 @@
title: objective-skeleton-haunt-title
- type: PickRandomPerson
filters:
- !type:BodyMindFilter
blacklist:
components:
- ObjectiveImmune
- !type:TargetObjectiveMindFilter
blacklist:
components:
@ -61,6 +65,9 @@
whitelist:
components:
- CommandStaff
blacklist:
components:
- ObjectiveImmune
- type: entity
parent: SkeletonBaseObjective

View File

@ -24,12 +24,20 @@
whitelist:
components:
- CommandStaff
blacklist: # DeltaV - ObjectiveImmune
components:
- ObjectiveImmune
- type: entity
parent: BaseNinjaTeachLessonObjective
id: NinjaTeachLessonRandomPersonObjective
components:
- type: PickRandomPerson
filters: # DeltaV - Add ObjectiveImmune filter
- !type:BodyMindFilter
blacklist:
components:
- ObjectiveImmune
- type: entity
parent: [ BaseNinjaObjective, BaseKillObjective ]
@ -48,6 +56,9 @@
whitelist:
components:
- CommandStaff
blacklist: # DeltaV - ObjectiveImmune
components:
- ObjectiveImmune
- type: KillPersonCondition
requireDead: true

View File

@ -50,6 +50,10 @@
whitelist:
components:
- CommandStaff
blacklist:
components:
- ObjectiveImmune
- type: KillPersonCondition
requireDead: true

View File

@ -20,6 +20,10 @@
title: objective-condition-reap-soul-title
- type: PickRandomPerson
filters:
- !type:BodyMindFilter
blacklist:
components:
- ObjectiveImmune
# Can't have multiple objectives to kill the same person.
- !type:TargetObjectiveMindFilter
blacklist:

View File

@ -105,6 +105,9 @@
whitelist:
components:
- CommandStaff
blacklist: # DeltaV - ObjectiveImmune
components:
- ObjectiveImmune
# Can't have multiple objectives to kill the same person.
- !type:TargetObjectiveMindFilter
blacklist:

View File

@ -89,6 +89,10 @@
title: objective-condition-wizard-preserve-person-title
- type: PickRandomPerson
filters:
- !type:BodyMindFilter
blacklist:
components:
- ObjectiveImmune
- !type:BodyMindFilter
whitelist:
components:
@ -108,6 +112,10 @@
title: objective-condition-wizard-kill-person-title
- type: PickRandomPerson
filters:
- !type:BodyMindFilter
blacklist:
components:
- ObjectiveImmune
# Can't have multiple objectives to kill the same person.
- !type:TargetObjectiveMindFilter
blacklist: