Skip to content

Track pop id in province#700

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

Track pop id in province#700
wvpm merged 1 commit intomasterfrom
track_pop_id_in_province

Conversation

@wvpm
Copy link
Contributor

@wvpm wvpm commented Feb 16, 2026

A pop must be identifiable so we can recruit a specific pop via game actions.
As province ticks are part of work bundles see ThreadPool.cpp. Work bundles are meant to be processsed in parallel.
The pop id generation must support this parallel processing. This is why the id is unique per province.

To target a specific pop, you must send the pop_id_in_province and the province_index.

@wvpm wvpm enabled auto-merge February 16, 2026 14:40
@wvpm wvpm force-pushed the track_pop_id_in_province branch from 5f50223 to 2262720 Compare February 16, 2026 18:29
@wvpm wvpm force-pushed the track_pop_id_in_province branch from b5120cb to 9deec08 Compare February 16, 2026 18:39
@wvpm wvpm merged commit f9e9f9b into master Feb 16, 2026
16 checks passed
@Spartan322 Spartan322 deleted the track_pop_id_in_province branch February 16, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants