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

Move Policy cost modifiers to mod constants #12983

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

EmperorPinguin
Copy link
Contributor

BNW apparently uses a modifier of 3 instead of 6 and an exponent of 2.01 instead of 1.7.

Comment on lines +102 to +104
var policyBase = 25
var policyMultiplier = 6
var policyExponent = 1.7
Copy link
Owner

Choose a reason for hiding this comment

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

I actually really don't like this, I'm thinking of using something like https://github.com/fasseg/exp4j to allow arbitrary functions given base values but this will require experimentation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Civ6/Civ7 uses a predetermined cost per policy, such would probably be better implemented in a similar way as how tech costs are implemented currently. I'm not sure if there's much demand for highly costomizeable culture cost formulas, the difference in the formulae for regular policies in G&K and BNW can be implemented via mod constants like this, although Ideology policies are in their own 'pool' for culture cost calculation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants