Skip to content

New countable for adopted policies supports policyFilter #13191

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

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

Conversation

SomeTroglodyte
Copy link
Collaborator

This is what I hope can serve as clean example on how to create new Countables.

The only complication was that it needed a cleaner policy creating tool in the TestGame class, having uninitialized lateinits like the older createPolicy leaves isn't sufficient to run Policy.matchesFilter on.

@SomeTroglodyte SomeTroglodyte changed the title Now countable for adopted policies supports policyFilter New countable for adopted policies supports policyFilter Apr 11, 2025
Comment on lines +213 to +216
"Adopted [[Tradition] branch] Policies" to 7,
"Adopted [Liberty Complete] Policies" to 0,
"Adopted [[Liberty] branch] Policies" to 2,
"Adopted [[all] branch] Policies" to 5,
Copy link
Owner

Choose a reason for hiding this comment

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

How can All be lower than just Tradition?!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not all, all branch = started branches. Commented somewhere. Yes maybe a confusing name but this way it didn't need new translation entries. Should change to "[started] branch"? "branch starter"? Dunno.

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