Severity by Gender - KonradHeinser/EBSGFramework GitHub Wiki

This hediff comp sets the severity based on the current gender of the pawn. Usually only takes effect post-add, but will also make a check at least once a day to avoid surprises:

        <comps>
            <li Class="EBSGFramework.HediffCompProperties_SeverityByGender">
            </li>
        </comps>

These are the options available:

  • genders : A special list that uses the gender for the name, and the severity for the value (i.e. <Male>1</Male>)
  • defaultSeverity : Default (0) : The severity to set the hediff to in the event that a pawn is not one of the listed genders. If left at default, the hediff is removed in those situations. This mostly exists for things like mechanoids which don't have a gender on the off-chance that they somehow accidentally got the hediff

Example is a work in progress. This is currently technically untested, but with a high chance of working as is. It is still only in the github version though, so the chances of someone seeing this are slim. To quote a wise man, "ski-ba-bop-da-dop-bop"

⚠️ **GitHub.com Fallback** ⚠️