Time Multi Conditional Stat Affecter - KonradHeinser/EBSGFramework GitHub Wiki

Return to Main Conditional Stat Affecters Page


This gene conditional stat affecter causes stat changes based on the results of various time related conditions. This should only be used if you need to reference multiple time related conditionals at the same time:

        <conditionalStatAffecters>	
            <li Class="EBSGFramework.ConditionalStatAffecter_TimeMulti">
                <label>label</label>
                <statFactors>

                </statFactors>
                <statOffsets>

                </statOffsets>
                <seasons>

                </seasons>
            </li>
        </conditionalStatAffecters>
  • label : A label to override the default
  • progressThroughDay : Default (0~1) : % of progress through the day when this will be active. For example, if this is set to be 0~0.5, then the drain/regen is usable from midnight until noon, 0.5~1 would be noon until midnight, and 0.25~0.75 6:00 to 18:00
    • If you aren't sure what to put for the percentage, take the hour you want it to start/end at, and divide it by 24. For example, if you want the available times to be 5:00-15:00 (5-3 for those who stick to 12 hour clocks), you would do 5/24 and 15/24 to get 0.208~0.625
  • invertTime : Default (False) : Makes it so progressThroughDay looks to make sure the value is outside the range instead of inside. This can be used to set up times that pass through midnight as it will result in you specifying the range of times when the drain/regen does not work
    • For example, the 0.208~0.625 in the example (5:00-15:00, morning to afternoon) would instead check for 15:00-5:00 (afternoon to morning) to make the drain/regen active
  • daysOfYear : Default (0~60) : Range of dates in the year where this is active
  • invertDOY : Default (False) : Makes it so daysOfYear looks to make sure the value is outside the range instead of inside. This can be used to set up times that pass through one year to the next as it will result in you specifying the range of times that do not work (i.e. 16~45 normally only allows for Jugust through Septober, but with invert active it instead only allows for Decembary through Aprimay)
  • daysOfQuadrum : Default (0~15) : Range of dates in the quadrum where this is active
  • invertDOQ : Default (False) : Makes it so daysOfQuadrum looks to make sure the value is outside the range instead of inside. This can be used to set up times in the middle of the quadrum that become invalid (i.e. using 5~10 will instead check to make sure it is before day 5 or after day 10 in the quadrum)
  • seasons : A list of valid seasons for this to be active. The options are Spring, Summer, Fall, Winter, PermanentSummer, and PermanentWinter. Summer includes both normal Summer and PermanentSummer, and Winter checks for both Winter and PermanentWinter. However, PermanentSummer and PermanentWinter do not check for their temporary variants
  • defaultActive : Default (False) : If, for whatever reason, the game cannot figure out what season to assign, this is the result used instead
⚠️ **GitHub.com Fallback** ⚠️