-
Notifications
You must be signed in to change notification settings - Fork 2
Hediffs While Drafted
This hediff comp applies hediffs based on whether or not the pawn is drafted. It is important to note that this does not cover every situation where the pawn is in combat (i.e. auto-attacking, hunting, or social fighting), but only when the pawn is actually considered drafted:
<comps>
<li Class="EBSGFramework.HediffCompProperties_HediffsWhileDrafted">
</li>
</comps>
This comp has two options, both of which are special lists of items that have the same stuff in each option. For those familiar with the Hediff Adder, the overall structure is almost exactly the same, with the removal of onlyIfNew, chance, and removeOnRemove being the only difference. One or both of the lists can be used:
- draftedHediffs : The special list of items which dictate how to handle adding hediffs when the pawn is drafted
- undraftedHediffs : The special list of items which dictate how to handle adding hediffs when the pawn is not drafted
Any time a list is not active (i.e. draftedHediffs when the pawn isn't drafted), all hediffs on that list are removed. If the hediff this comp is attached to is removed, hediffs from both lists are removed. Each item in those lists has the following options:
- hediff : The HediffDef to add. This is required
- bodyParts : The list of BodyPartDefs to add the hediff to. If left blank, then it will add to the full body
- severity : Default (0.5) : The severity to reset/apply to the hediff
- Ability Validator
- Add Things To Inventory
- Alter Genes
- Alter Xenotype (Ability)
- Blood Drain
- Blast Attacks
- Burst Attacks
- Change Faction
- Change Ideology
- Change Traits
- Change Weather
- Charge Battery
- Create Items
- Create Linked Hediffs
- Deal Damage
- Destroy Corpse
- Destroy Filth
- Destroy Items
- Fly to Map Tile
- Give Multiple Hediffs
- Instant Death
- Launch Projectile Burst
- Learn Skill
- Long Distance Teleport
- Love the Caster
- Offset Needs Ability
- Orbital Strike
- Push Target
- Reloadable Abilities
- Remove Multiple Hediffs
- Remove Things From Inventory
- Spawn Humanlike (Ability)
- Spawn Pawn Kinds
- Spew
- Stop Mental Break (No Psychic)
- Toggle Hediff
- Trigger Game Condition
- Abilities From Other Genes
- Additional Fertility by Age
- Additional Lovin' Results
- Aging Xenotype
- Biome Genes
- Butchery Changing Genes
- Coma Rest Genes
- Conflicting Genes
- Customizable Bloodclotting
- Damage Modifying Stats Extension
- EBSG Body
- Equip Restrict
- Evolving Genes
- Fertility by Age
- Gender by Age
- Genetic Romance Chance
- Hediff Adder
- Hediff on Consumption
- Hediffs at Age
- Hide Inactive
- Hive Mind Genes
- Inactive at Age
- Ingestible Dependency Genes
- Mutating Genes
- Pregnancy Replacing Genes
- Removed at Age
- Skill Changing Genes
- Spawn Age Limiter
- Thoughts on Down from Gene
- Vanishing Genes
- Various Conditional Stat Affecters
- Aging Hediff
- Alter Xenotype (Hediff)
- Attach Mote
- Create Items
- Create Other Hediffs
- Damage on Removal
- Damage Over Time
- Destroy on Death
- Display Severity
- Flip Gender Periodically
- Gender by Age Hediff
- Gene Randomizer
- Give Abilities at Severities
- Give Hediff to Killer
- Give Hediffs to Non-Allies
- Give Other Hediff Periodically
- Hediff on Kill
- Hediff While Moving
- Hediffs on Removal
- Hediffs While Drafted
- Hediffs While in Severity Ranges
- Hemogen on Kill
- Hemogen Regeneration
- Make Hediff Invisible at Stage
- Modular Hediffs
- Multiple Lives
- Name Color Hediff
- Remove at Severities
- Remove/Damage Parts
- Remove on Faction Change
- Remove When Damaged
- Severity Change per Attack
- Severity Change When Hit
- Severity Per Day by Genes
- Severity per Interval by Terrain
- Shield Hediff
- Skill Change Hediffs
- Spawn Humanlike
- Spawn Pawn Kind on Removal
- Temporary Faction
- Temporary Genes
- Temporary Ideology
- Temporary Relation
- Terrain Cost Override
- Tiered Regeneration
- Various Explosion Hediff Comps
- Severity Setters
- Add or Append Hediff on Ingest
- Alter Genes on Ingest
- Alter Genes on Use
- Alter Xenotype on Ingest
- Alter Xenotype on Use
- Alter Xenotype on Use by Severity
- Damage Modifying Stats Extension
- Equip Restrict
- Flexible Entity Releaser
- Gatherer Spot
- Give Hediff Based on Severity
- Hediff on Damage
- Limited Charges
- Need Charger Buildings
- Projectile Impact Effects
- Random Shot
- Regenerating Things
- Shield Equipment
- Sleep Caskets
- Spawn Baby Thing Comp
- Turret Roof Blocked
- Weapon Trait Extension
- Desired Genes Precept
- Gene in Colony Mood Precept
- Gene in Colony Mood Toggle Precept
- Opinions About Genes
- People in the Colony
- Thought Mood by Hediff Severity
- Thought Multiplying Genes
- Thoughts About Water
- Xenophilobic Thoughts
- The Genes
- Resource Packs
- Craving and Overcharge Hediffs
- Resource Using Abilities
- Converting Resources
- Special DRG Abilities
- Special DRG Hediffs