2024-06-01 14:15:34 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<Defs>
|
|
|
|
|
|
|
|
<!-- Hediffs are RimWorld's status effects. They can influence different pawn stats, represent diseases, and more -->
|
|
|
|
|
|
|
|
<HediffDef>
|
|
|
|
<defName>OverzealousBody</defName>
|
|
|
|
<!-- Desired defName to reference and use the hediff -->
|
|
|
|
<label>overzealous body</label>
|
|
|
|
<!-- Sets the in-game display name for the hediff -->
|
|
|
|
<hediffClass>HediffWithComps</hediffClass>
|
2024-06-01 15:29:11 +02:00
|
|
|
<description>This body has power beyond comprehension.</description>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Defines the hediff class to use. Use HediffWithComps for general purposes. Vanilla classes:
|
|
|
|
Hediff_AddedPart
|
|
|
|
Hediff_Addiction
|
|
|
|
Hediff_Alcohol
|
|
|
|
Hediff_Hangover
|
|
|
|
Hediff_HeartAttack
|
|
|
|
Hediff_Implant
|
|
|
|
Hediff_Injury
|
|
|
|
Hediff_MissingPart
|
|
|
|
Hediff_Pregnant
|
|
|
|
HediffWithComps -->
|
|
|
|
<isBad>false</isBad>
|
|
|
|
<!-- Optional. Defaults to true. Some hediffs like bionic body parts or implants set this to false -->
|
|
|
|
<initialSeverity>1</initialSeverity>
|
|
|
|
<!-- Optional. Defaults to 0.001. Defines initial hediff severity -->
|
2024-06-01 14:56:37 +02:00
|
|
|
<!-- <naturallyHealed>false</naturallyHealed> -->
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. If set to true, the injury will heal even without treatment -->
|
|
|
|
<lethalSeverity>-1</lethalSeverity>
|
|
|
|
<!-- Optional. Defaults to -1 (insignificant). If the hediff's severity reaches this level, the pawn will die -->
|
|
|
|
<stages>
|
|
|
|
<!-- Stages are the hediff's active effects. Can set one or more -->
|
|
|
|
<li>
|
|
|
|
<!-- <label>stage_name</label> -->
|
|
|
|
<!-- Optional. Defines an in-game sub-label applied to the hediff at this stage -->
|
|
|
|
<minSeverity>0.5</minSeverity>
|
|
|
|
<!-- Optional. The stage effects will only be applied above a certain severity level -->
|
|
|
|
<lifeThreatening>false</lifeThreatening>
|
|
|
|
<painFactor>0</painFactor>
|
|
|
|
<!-- Optional. Defaults to 1. Sets a multiplier for pain as a result of this stage -->
|
|
|
|
<painOffset>-0.9</painOffset>
|
|
|
|
<!-- Optional. Changes pain by a flat number (negative values decrease pain, positive values increase pain) -->
|
2024-06-01 15:29:11 +02:00
|
|
|
<!-- <partEfficiencyFactor>50</partEfficiencyFactor> -->
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. Defaults to 1. If the hediff acts as a body part, defines the efficiency of the body part -->
|
|
|
|
<hungerRateFactor>1.3</hungerRateFactor>
|
|
|
|
<!-- Optional. Defaults to 1. Defines the hunger need's depletion rate. Higher values cause the need to deplete faster -->
|
|
|
|
<restFallFactor>0.3</restFallFactor>
|
|
|
|
<!-- Optional. Defaults to 1. Defines the rest need's depletion rate. Higher values cause the need to deplete faster -->
|
2024-06-01 14:56:37 +02:00
|
|
|
<!-- <setMinPartEfficiency>0.5</setMinPartEfficiency> -->
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. Defaults to -1 (insignificant). Defines a custom value for minimum body-part efficiency when the stage is active -->
|
|
|
|
<destroyPart>false</destroyPart>
|
|
|
|
<!-- Optional. If true, the hediff's host body-part will become destroyed when this stage is activated -->
|
|
|
|
<!-- <makeImmuneTo>HediffDefName</makeImmuneTo> -->
|
|
|
|
<!-- Optional. The pawn will be immune to a specific hediff when this stage is active -->
|
|
|
|
<capMods>
|
|
|
|
<!-- Optional. Causes the stage to offset certain capacities for the pawn -->
|
|
|
|
<li>
|
|
|
|
<capacity>BloodFiltration</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>BloodPumping</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Breathing</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Consciousness</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Eating</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Hearing</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Manipulation</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Metabolism</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Moving</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Sight</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<capacity>Talking</capacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<offset>50</offset>
|
|
|
|
<setMax>50</setMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
</li>
|
|
|
|
</capMods>
|
|
|
|
<statOffsets>
|
|
|
|
<!-- Optional. Can offset pawn stat(s) by value -->
|
|
|
|
<CarryingCapacity>500</CarryingCapacity>
|
2024-06-01 16:41:07 +02:00
|
|
|
<MassCapacity>500</MassCapacity>
|
2024-06-01 15:29:11 +02:00
|
|
|
<ComfyTemperatureMin>-50</ComfyTemperatureMin>
|
|
|
|
<ComfyTemperatureMax>50</ComfyTemperatureMax>
|
2024-06-01 14:15:34 +02:00
|
|
|
<ImmunityGainSpeed>10</ImmunityGainSpeed>
|
|
|
|
<ImmunityGainSpeedFactor>10</ImmunityGainSpeedFactor>
|
2024-06-01 15:29:11 +02:00
|
|
|
<MeleeDPS>5000</MeleeDPS>
|
|
|
|
<MeleeHitChance>5000</MeleeHitChance>
|
|
|
|
<MoveSpeed>50</MoveSpeed>
|
2024-06-01 14:15:34 +02:00
|
|
|
</statOffsets>
|
|
|
|
<!-- Available vanilla defNames:
|
|
|
|
AimingDelayFactor
|
|
|
|
BrewingSpeed
|
|
|
|
ButcheryFleshEfficiency
|
|
|
|
ButcheryFleshSpeed
|
|
|
|
ButcheryMechanoidEfficiency
|
|
|
|
ButcheryMechanoidSpeed
|
|
|
|
CarryingCapacity
|
|
|
|
ComfyTemperatureMax
|
|
|
|
ComfyTemperatureMin
|
|
|
|
ConstructFailChance
|
|
|
|
ConstructionSpeed
|
|
|
|
CookSpeed
|
|
|
|
DrugProductionSpeed
|
|
|
|
EatingSpeed
|
|
|
|
FixBrokenDownBuildingFailChance
|
|
|
|
FoodPoisonChance
|
|
|
|
GiftImpact
|
|
|
|
GlobalLearningFactor
|
|
|
|
HarvestFailChance
|
|
|
|
HealingSpeed
|
|
|
|
ImmunityGainSpeed
|
|
|
|
ImmunityGainSpeedFactor
|
|
|
|
MeatAmount
|
|
|
|
MedicalOperationSpeed
|
|
|
|
MeleeDPS
|
|
|
|
MeleeHitChance
|
|
|
|
MentalBreakThreshold
|
|
|
|
MiningSpeed
|
|
|
|
MoveSpeed
|
|
|
|
PlantWorkSpeed
|
|
|
|
PsychicSensitivity
|
|
|
|
RecruitPrisonerChance
|
|
|
|
ResearchSpeed
|
|
|
|
ResearchSpeedFactor
|
|
|
|
SculptingSpeed
|
|
|
|
ShootingAccuracy
|
|
|
|
SmeltingSpeed
|
|
|
|
SmithingSpeed
|
|
|
|
SmoothingSpeed
|
|
|
|
SocialImpact
|
|
|
|
StonecuttingSpeed
|
|
|
|
SurgerySuccessChance
|
|
|
|
TailoringSpeed
|
|
|
|
TameAnimalChance
|
|
|
|
ToxicSensitivity
|
|
|
|
TradePriceImprovement
|
|
|
|
TrainAnimalChance
|
|
|
|
WorkSpeedGlobal -->
|
|
|
|
</li>
|
|
|
|
</stages>
|
2024-06-01 14:21:03 +02:00
|
|
|
<tendable>false</tendable>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. If true, the injury can be tended by a doctor -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<chanceToCauseNoPain>0</chanceToCauseNoPain>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. If set, the hediff might not trigger a pain tick when pain is calculated -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<makesSickThought>false</makesSickThought>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. If true, the pawn will receive a mood debuff due to being sick when the hediff is active -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<makesAlert>true</makesAlert>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. Defaults to true. No description available -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<minSeverity>1</minSeverity>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. Sets a minimum severity for the hediff -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<maxSeverity>1</maxSeverity>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. Sets a severity ceiling for the hediff -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<scenarioCanAdd>true</scenarioCanAdd>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. If false, scenarios can't manually add the hediff to pawns -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<displayWound>false</displayWound>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. If true, the pawn will be visually injured -->
|
2024-06-01 14:21:03 +02:00
|
|
|
<defaultLabelColor>(255, 200, 200)</defaultLabelColor>
|
2024-06-01 14:15:34 +02:00
|
|
|
<!-- Optional. White by default. Sets a custom text colour for the hediff's label -->
|
|
|
|
</HediffDef>
|
|
|
|
|
|
|
|
</Defs>
|