Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebalance liberty after forum discussion #3842

Merged
merged 2 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions default/scripting/policies/LIBERTY.focs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ Policy
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 +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probly need to update the comment on line 14?

(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
Original file line number Diff line number Diff line change
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