Skip to content

Link regiment to a POP#699

Merged
wvpm merged 1 commit intomasterfrom
link_regiment_to_pop
Feb 16, 2026
Merged

Link regiment to a POP#699
wvpm merged 1 commit intomasterfrom
link_regiment_to_pop

Conversation

@wvpm
Copy link
Contributor

@wvpm wvpm commented Feb 16, 2026

Rebel country is the first defined country in common/countries.txt.

OOB recruitment ignores cultural restrictions (same as Victoria 2).

OOB recruitment tries to recruit first pop with large enough size (and correct type or rebel type).
Fallsback to first pop where regiment_count == max_supported_regiments.
After that, it returns a nullptr to a pop + warning.

@wvpm wvpm added enhancement New feature or request topic:military labels Feb 16, 2026
@wvpm wvpm force-pushed the link_regiment_to_pop branch from def678e to 837c989 Compare February 16, 2026 10:42
@wvpm wvpm marked this pull request as draft February 16, 2026 10:49
@wvpm wvpm force-pushed the link_regiment_to_pop branch from 837c989 to 67bfedc Compare February 16, 2026 11:12
@wvpm wvpm marked this pull request as ready for review February 16, 2026 11:12
@wvpm wvpm added this to the 0.9.0 milestone Feb 16, 2026
@wvpm wvpm merged commit 0c08194 into master Feb 16, 2026
23 of 24 checks passed
@wvpm wvpm deleted the link_regiment_to_pop branch February 16, 2026 13:16
@wvpm wvpm mentioned this pull request Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request topic:military

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants