Difference between revisions of "EffectsGroup Priority Standard Values"
(updated priorities to reflect June 2018 fixes PR) |
|||
Line 1: | Line 1: | ||
The order of execution of EffectsGroups is determined primarily by their specified Priority, and secondarily by their [[FOCS_Scripting_Details#Effect_Evaluation_.26_Application_Ordering | cause/source]]. A number of standard reference Priority values are specified in [https://github.com/freeorion/freeorion/blob/master/default/scripting/common/priorities.macros default\scripting\common\priorities.macros] | The order of execution of EffectsGroups is determined primarily by their specified Priority, and secondarily by their [[FOCS_Scripting_Details#Effect_Evaluation_.26_Application_Ordering | cause/source]]. A number of standard reference Priority values are specified in [https://github.com/freeorion/freeorion/blob/master/default/scripting/common/priorities.macros default\scripting\common\priorities.macros] | ||
− | Probably the largest and most complex set of interrelated EffectsGroups is that for various Population Effects, whose relative priority is critical to their proper operation. For reference, the current (as of this writing) order of their application is summarized below. | + | Probably the largest and most complex set of interrelated EffectsGroups is that for various Population Effects, whose relative priority is critical to their proper operation. For reference, the current (as of this writing) order of their application is summarized below. Except as noted, the effects are upon the TargetPopulation meter |
<u>Used terms/keys</u> | <u>Used terms/keys</u> | ||
Line 10: | Line 10: | ||
*0.75 multiplies the current Population value with 0.75 | *0.75 multiplies the current Population value with 0.75 | ||
− | <u> | + | <u>TARGET_POPULATION_BEFORE_SCALING_PRIORITY</u> |
+ | +3HS/+0HS/-2HS/-4HS Planet environment = Good/Adequate/Poor/Hostile | ||
+ | +2HS Gro_Cyborg (hostile) | ||
+ | +1HS Gro_Symbiotic_Bio | ||
+ | +2HS/+1HS Gro_Xeno_Genetics (poor,adequate/hostile) | ||
+ | +1HS/+2HS Gro_Xeno_Hybrids (poor/hostile) | ||
+ | |||
+ | <u>TARGET_POPULATION_SCALING_PRIORITY</u> | ||
+ | *0.5 Gaseous Population malus | ||
+ | *0.75 Bad Population malus | ||
+ | *1.25 Good_Population bonus | ||
+ | |||
+ | <u>TARGET_POPULATION_AFTER_SCALING_PRIORITY</u> | ||
+ | -1HS HyperDam | ||
+ | +3HS Gaia | ||
+1HS Growth Special/Focus | +1HS Growth Special/Focus | ||
− | -5HS Temporal_Anomaly_Special | + | -5HS Temporal_Anomaly_Special |
+ | -1HS Tidal Lock Special | ||
+ | +1 WorldTree Special | ||
+ | -4HS Dimensional Rift | ||
+ | -2HS/-1HS Banforo Blue/White star malus | ||
+ | -4HS Bioterror Focus | ||
+ | +2HS Homeworld planet bonus | ||
+ | +1HS Homeworld Growth Focus | ||
+ | +3HS Self Sustaining | ||
+2HS Con_Ndim_Strc | +2HS Con_Ndim_Strc | ||
− | |||
+1HS Con_Orbital_Hab | +1HS Con_Orbital_Hab | ||
+1 Gro_Planet_Ecol (good,adequate) | +1 Gro_Planet_Ecol (good,adequate) | ||
+1HS Gro_Subter_Hab | +1HS Gro_Subter_Hab | ||
− | |||
− | |||
− | |||
− | <u> | + | <u>TARGET_POPULATION_LAST_BEFORE_OVERRIDE_PRIORITY</u> |
− | + | +3HS/+1.5HS/-1HS/-10HS Phototrophic_Bonus (Blue/White/Red,Neutron/Blackhole,NoStar) | |
+ | Xenophobic penalty | ||
− | <u> | + | <u>TARGET_POPULATION_OVERRIDE_PRIORITY</u> |
Planet environment = Uninhabitable | Planet environment = Uninhabitable | ||
− | <u> | + | <u>EARLY_FIRST_NATURAL_POPULATION_PRIORITY</u> |
− | + | Incremental Growth/Decay of Current Population towards (initial) Target Population | |
− | + | ||
− | + | ||
− | + | ||
<u>DEFAULT_PRIORITY</u> | <u>DEFAULT_PRIORITY</u> | ||
− | |||
− | |||
− | |||
??? Lifecycle_Manip_Population_Effects | ??? Lifecycle_Manip_Population_Effects | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 22:11, 19 November 2018
The order of execution of EffectsGroups is determined primarily by their specified Priority, and secondarily by their cause/source. A number of standard reference Priority values are specified in default\scripting\common\priorities.macros
Probably the largest and most complex set of interrelated EffectsGroups is that for various Population Effects, whose relative priority is critical to their proper operation. For reference, the current (as of this writing) order of their application is summarized below. Except as noted, the effects are upon the TargetPopulation meter
Used terms/keys
+1 adds one Population +1HS effect adds the HabitableSize of the planet to the Population +2HS effect adds twice the HabitableSize of the planet to the Population .. *0.75 multiplies the current Population value with 0.75
TARGET_POPULATION_BEFORE_SCALING_PRIORITY
+3HS/+0HS/-2HS/-4HS Planet environment = Good/Adequate/Poor/Hostile +2HS Gro_Cyborg (hostile) +1HS Gro_Symbiotic_Bio +2HS/+1HS Gro_Xeno_Genetics (poor,adequate/hostile) +1HS/+2HS Gro_Xeno_Hybrids (poor/hostile)
TARGET_POPULATION_SCALING_PRIORITY
*0.5 Gaseous Population malus *0.75 Bad Population malus *1.25 Good_Population bonus
TARGET_POPULATION_AFTER_SCALING_PRIORITY
-1HS HyperDam +3HS Gaia +1HS Growth Special/Focus -5HS Temporal_Anomaly_Special -1HS Tidal Lock Special +1 WorldTree Special -4HS Dimensional Rift -2HS/-1HS Banforo Blue/White star malus -4HS Bioterror Focus +2HS Homeworld planet bonus +1HS Homeworld Growth Focus +3HS Self Sustaining +2HS Con_Ndim_Strc +1HS Con_Orbital_Hab +1 Gro_Planet_Ecol (good,adequate) +1HS Gro_Subter_Hab
TARGET_POPULATION_LAST_BEFORE_OVERRIDE_PRIORITY
+3HS/+1.5HS/-1HS/-10HS Phototrophic_Bonus (Blue/White/Red,Neutron/Blackhole,NoStar) Xenophobic penalty
TARGET_POPULATION_OVERRIDE_PRIORITY
Planet environment = Uninhabitable
EARLY_FIRST_NATURAL_POPULATION_PRIORITY
Incremental Growth/Decay of Current Population towards (initial) Target Population
DEFAULT_PRIORITY
??? Lifecycle_Manip_Population_Effects