debugging...

This commit is contained in:
Christoph J. Scherr 2024-06-01 14:56:37 +02:00
parent 233874cfe8
commit 198bf8078d
2 changed files with 5 additions and 15 deletions

View File

@ -24,7 +24,7 @@
<!-- Optional. Defaults to true. Some hediffs like bionic body parts or implants set this to false --> <!-- Optional. Defaults to true. Some hediffs like bionic body parts or implants set this to false -->
<initialSeverity>1</initialSeverity> <initialSeverity>1</initialSeverity>
<!-- Optional. Defaults to 0.001. Defines initial hediff severity --> <!-- Optional. Defaults to 0.001. Defines initial hediff severity -->
<naturallyHealed>false</naturallyHealed> <!-- <naturallyHealed>false</naturallyHealed> -->
<!-- Optional. If set to true, the injury will heal even without treatment --> <!-- Optional. If set to true, the injury will heal even without treatment -->
<lethalSeverity>-1</lethalSeverity> <lethalSeverity>-1</lethalSeverity>
<!-- Optional. Defaults to -1 (insignificant). If the hediff's severity reaches this level, the pawn will die --> <!-- Optional. Defaults to -1 (insignificant). If the hediff's severity reaches this level, the pawn will die -->
@ -40,13 +40,13 @@
<!-- Optional. Defaults to 1. Sets a multiplier for pain as a result of this stage --> <!-- Optional. Defaults to 1. Sets a multiplier for pain as a result of this stage -->
<painOffset>-0.9</painOffset> <painOffset>-0.9</painOffset>
<!-- Optional. Changes pain by a flat number (negative values decrease pain, positive values increase pain) --> <!-- Optional. Changes pain by a flat number (negative values decrease pain, positive values increase pain) -->
<partEfficiencyFactor>100</partEfficiencyFactor> <!-- <partEfficiencyFactor>100</partEfficiencyFactor> -->
<!-- Optional. Defaults to 1. If the hediff acts as a body part, defines the efficiency of the body part --> <!-- Optional. Defaults to 1. If the hediff acts as a body part, defines the efficiency of the body part -->
<hungerRateFactor>1.3</hungerRateFactor> <hungerRateFactor>1.3</hungerRateFactor>
<!-- Optional. Defaults to 1. Defines the hunger need's depletion rate. Higher values cause the need to deplete faster --> <!-- Optional. Defaults to 1. Defines the hunger need's depletion rate. Higher values cause the need to deplete faster -->
<restFallFactor>0.3</restFallFactor> <restFallFactor>0.3</restFallFactor>
<!-- Optional. Defaults to 1. Defines the rest need's depletion rate. Higher values cause the need to deplete faster --> <!-- Optional. Defaults to 1. Defines the rest need's depletion rate. Higher values cause the need to deplete faster -->
<setMinPartEfficiency>0.5</setMinPartEfficiency> <!-- <setMinPartEfficiency>0.5</setMinPartEfficiency> -->
<!-- Optional. Defaults to -1 (insignificant). Defines a custom value for minimum body-part efficiency when the stage is active --> <!-- Optional. Defaults to -1 (insignificant). Defines a custom value for minimum body-part efficiency when the stage is active -->
<destroyPart>false</destroyPart> <destroyPart>false</destroyPart>
<!-- Optional. If true, the hediff's host body-part will become destroyed when this stage is activated --> <!-- Optional. If true, the hediff's host body-part will become destroyed when this stage is activated -->
@ -190,16 +190,6 @@
<!-- Optional. If true, the pawn will be visually injured --> <!-- Optional. If true, the pawn will be visually injured -->
<defaultLabelColor>(255, 200, 200)</defaultLabelColor> <defaultLabelColor>(255, 200, 200)</defaultLabelColor>
<!-- Optional. White by default. Sets a custom text colour for the hediff's label --> <!-- Optional. White by default. Sets a custom text colour for the hediff's label -->
<addedPartProps>
<isBionic>false</isBionic>
<!-- Optional. Define as true for bionic body parts -->
<isSolid>false</isSolid>
<!-- Optional. Defaults to true. Used for some in-game functions -->
<partEfficiency>5</partEfficiency>
<!-- Optional. Defaults to 1. Defines the efficiency of the body-part (1=100%) -->
<isGoodWeapon>true</isGoodWeapon>
<!-- Optional. Defined as true for powerful body-parts like PowerClaw and ScytherBlade -->
</addedPartProps>
</HediffDef> </HediffDef>
</Defs> </Defs>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<TraitDefs> <Defs>
<!-- Traits are permanent characteristics of pawns which make them unique. A pawn can have several traits --> <!-- Traits are permanent characteristics of pawns which make them unique. A pawn can have several traits -->
@ -121,4 +121,4 @@
</degreeDatas> </degreeDatas>
</TraitDef> </TraitDef>
</TraitDefs> </Defs>