DRG Regeneration - KonradHeinser/EBSGFramework GitHub Wiki

A DRG equivalent to Hemogen Regeneration that can offset any number of DRGs at any given time. Each DRG to link needs its own li within the resourcesPerHour tag:

        <comps>
            <li Class="EBSGFramework.HediffCompProperties_DRGPerHour">
                <resourcesPerHour>
                    <li>
                    </li>
                </resourcesPerHour>
            </li>
        </comps>

Each li has these tags within it:

  • mainResourceGene : The resource gene to offset
  • amount : The amount to offset
  • usesGainStat : Default (False) : If true and the resource gene has a gainStat set, the amount is multiplied its value
  • usePassiveStat : Default (False) : If true and the resource gene has a passiveFactorStat set, the amount is multiplied its value
  • validSeverity : Default (0~99999) : Range of severities that the parent must be between to activate the effect
  • validResourceLevels : Default (0~1) : Valid resource levels that the gene must be at or between to activate this effect
  • removeWhenLimitsPassed : Default (False) : If true, remove this hediff if minResource or maxResource is passed. This will still allow any resources that come before it on the list to take effect, but will stop any after it

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