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

  • minSeverity : Default (0) : Minimum severity the parent needs to activate this effect

  • maxSeverity : Default (99999) : Minimum severity the parent can have to activate this effect

  • minResource : Default (0) : Minimum amount of resource needed to activate this effect

  • maxResource : Default (1) : Maximum amount of resource allowed 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


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