rimworld-overzealous/Defs/HediffDefs/Overzealous.xml

196 lines
7.3 KiB
XML
Raw Normal View History

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>
<!-- 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 14:56:37 +02:00
<!-- <partEfficiencyFactor>100</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>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>BloodPumping</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Breathing</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Consciousness</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Eating</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Hearing</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Manipulation</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Metabolism</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Moving</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Sight</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
<li>
<capacity>Talking</capacity>
<offset>100</offset>
<setMax>100</setMax>
</li>
</capMods>
<statOffsets>
<!-- Optional. Can offset pawn stat(s) by value -->
<CarryingCapacity>500</CarryingCapacity>
<ComfyTemperatureMin>-100</ComfyTemperatureMin>
<ComfyTemperatureMax>100</ComfyTemperatureMax>
<ImmunityGainSpeed>10</ImmunityGainSpeed>
<ImmunityGainSpeedFactor>10</ImmunityGainSpeedFactor>
<MeleeDPS>100</MeleeDPS>
<MeleeHitChance>100</MeleeHitChance>
<MoveSpeed>100</MoveSpeed>
</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>