EffectsGroup Priority Standard Values

From FreeOrionWiki
Revision as of 06:46, 13 February 2018 by Dilvish (Talk | contribs) (EffectsGroup Priority reference with details for Population Effects)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

EARLY_TARGET_POPULATION_PRIORITY Growth Special/Focus Temporal_Anomaly_Special Gro_Cyborg Con_Orbital_Hab Gro_Planet_Ecol Gro_Subter_Hab Gro_Symbiotic_Bio Gro_Xeno_Genetics Gro_Xeno_Hybrids

EARLY_TARGET_POPULATION_SCALING_PRIORITY Good_Population bonus

EARLY_TARGET_POPULATION_OVERRIDE_PRIORITY Planet environment = Uninhabitable

EARLY_POPULATION_PRIORITY Phototrophic_Bonus

EARLY_PRIORITY Planet environment = Hostile, Poor, Good

DEFAULT_PRIORITY Planet environment = Adequate Gaseous_Bonus Bad_Population Lifecycle_Manip_Population_Effects

LATE_PRIORITY Eccentric_Orbit_Special

VERY_LATE_PRIORITY Homeworld_Bonus_Population Self_Sustaining_Bonus Homeworld_Growth_Focus_Boost