Skip to content

Commit

Permalink
Prioritised planet populations modifiers to remove some from Good/Bad…
Browse files Browse the repository at this point in the history
… population trait effects

~Simplified workings of Self Sustaining bonus and put a cap on Xenophobic population malus
~Made all 'biological' growth techs high priority and subject to trait modifiers
~Made all environmental modifiers subject to trait modifiers
~Removed all 'construction' tech bonuses from trait modifiers
~Removed Homeworld, Homeworld Growth and Growth Special effects from trait modifiers
~Added Very Late macro for cosmetic/display purposes
  • Loading branch information
MatGB committed Sep 11, 2015
1 parent 1feb466 commit 7169e27
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 9 deletions.
3 changes: 3 additions & 0 deletions default/shared_macros.txt
Expand Up @@ -180,6 +180,9 @@ DEFAULT_PRIORITY
LATE_PRIORITY
'''110'''

VERY_LATE_PRIORITY
'''120'''


DESCRIPTION_EFFECTSGROUP_MACRO
'''
Expand Down
20 changes: 20 additions & 0 deletions default/specials.txt
Expand Up @@ -1470,6 +1470,8 @@ Special
spawnlimit = 0
graphic = "icons/specials_huge/nova_boom.png"

//## Growth Specials ##

Special
name = "PROBIOTIC_SPECIAL"
description = "PROBIOTIC_SPECIAL_DESC"
Expand Down Expand Up @@ -1498,6 +1500,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "PROBIOTIC_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1506,6 +1509,7 @@ Special
HasTag name = "ORGANIC"
]
stackinggroup = "PROBIOTIC_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1541,6 +1545,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "FRUIT_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1549,6 +1554,7 @@ Special
HasTag name = "ORGANIC"
]
stackinggroup = "FRUIT_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1583,6 +1589,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "SPICE_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1591,6 +1598,7 @@ Special
HasTag name = "ORGANIC"
]
stackinggroup = "SPICE_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1627,6 +1635,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "MONOPOLE_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1635,6 +1644,7 @@ Special
HasTag name = "ROBOTIC"
]
stackinggroup = "MONOPOLE_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1671,6 +1681,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "SUPERCONDUCTOR_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1679,6 +1690,7 @@ Special
HasTag name = "ROBOTIC"
]
stackinggroup = "SUPERCONDUCTOR_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1716,6 +1728,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "POSITRONIUM_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1724,6 +1737,7 @@ Special
HasTag name = "ROBOTIC"
]
stackinggroup = "POSITRONIUM_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1761,6 +1775,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "MINERALS_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1769,6 +1784,7 @@ Special
HasTag name = "LITHIC"
]
stackinggroup = "MINERALS_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1805,6 +1821,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "CRYSTALS_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1813,6 +1830,7 @@ Special
HasTag name = "LITHIC"
]
stackinggroup = "CRYSTALS_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down Expand Up @@ -1850,6 +1868,7 @@ Special
]
activation = Focus type = "FOCUS_GROWTH"
stackinggroup = "ELERIUM_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble

EffectsGroup
Expand All @@ -1858,6 +1877,7 @@ Special
HasTag name = "LITHIC"
]
stackinggroup = "ELERIUM_STACK"
priority = [[VERY_LATE_PRIORITY]]
effects = SetTargetPopulation value = Value + 1 * Target.SizeAsDouble // Provides the bonus locally, no matter the focus

[[CHANCE_OF_GUARD_1]]
Expand Down

0 comments on commit 7169e27

Please sign in to comment.