Skip to content

Commit

Permalink
Rebalance liberty after forum discussion (freeorion#3842)
Browse files Browse the repository at this point in the history
* Rebalance liberty after forum discussion
also fixed text for artisan stability bonus
  • Loading branch information
Grummel7 committed May 20, 2022
1 parent 09d6bae commit 6744e80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions default/scripting/policies/LIBERTY.focs.txt
Expand Up @@ -11,17 +11,20 @@ Policy
// EmpireHasAdoptedPolicy PLC_LIBERTY is used in setting stability adjustments for species dislikes in
// species/common/happiness.macros (foci), buildings/buildings.macros and policies/policies.macros (policies)

// increases research by +(stability-5)/5 RP for planets with stability>5
// Increases research on research-focused planets with stability>5.
// Bonus grows with stability, up to a maximum of 0.15 / pop at 20.
EffectsGroup
scope = And [
Planet
OwnedBy empire = Source.Owner
Species
Focus type = "FOCUS_RESEARCH"
Happiness low = (NamedReal name = "PLC_LIBERTY_MIN_STABILITY" value = 5)
]
priority = [[TARGET_AFTER_SCALING_PRIORITY]]
effects = SetTargetResearch value = Value + (Target.Happiness - NamedRealLookup name = "PLC_LIBERTY_MIN_STABILITY")*
(NamedReal name = "PLC_LIBERTY_RESEARCH_BONUS_PER_STABILITY" value = 0.2)
effects = SetTargetResearch value = Value +
(min(Target.Happiness, (NamedReal name = "PLC_LIBERTY_MAX_STABILITY" value = 20)) - NamedRealLookup name = "PLC_LIBERTY_MIN_STABILITY")
* Target.Population * (NamedReal name = "PLC_LIBERTY_RESEARCH_BONUS_SCALING" value = 0.01)
]
graphic = "icons/policies/social_liberty.png"

Expand Down
4 changes: 2 additions & 2 deletions default/stringtables/en.txt
Expand Up @@ -12234,7 +12234,7 @@ Liberty

PLC_LIBERTY_DESC
'''• Increases the impact of species dislikes on planet stability due to buildings, policies or planetary focus (x[[value PLC_LIBERTY_DISLIKE_FACTOR]]).
• Increases [[metertype METER_TARGET_RESEARCH]] by [[value PLC_LIBERTY_RESEARCH_BONUS_PER_STABILITY]] RP per each point of [[metertype METER_HAPPINESS]] above [[value PLC_LIBERTY_MIN_STABILITY]], on all planets regardless of focus.'''
• Increases [[metertype METER_TARGET_RESEARCH]] on research-focused planets with a stability of more than [[value PLC_LIBERTY_MIN_STABILITY]]. Increase is [[value PLC_LIBERTY_RESEARCH_BONUS_SCALING]] per population, multiplied by how much stability is above [[value PLC_LIBERTY_MIN_STABILITY]], up to a maximum of [[value PLC_LIBERTY_MAX_STABILITY]].'''

PLC_LIBERTY_SHORT_DESC
Increases species dislikes effects and research
Expand Down Expand Up @@ -17063,7 +17063,7 @@ CAPITAL_DISCONNECTION_LABEL
Not Connected to Empire Capital

ARTISAN_APPRECIATION
Likes Influence-Focused Artistic Species In System
Likes other Artistic Species in System

# %1% name of empire
# %2% name of policy
Expand Down

0 comments on commit 6744e80

Please sign in to comment.