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

TileAssignmentLayer: Draw the big fat cross and indicate tiles worked by other cities #558

Open
wants to merge 5 commits into
base: Development
Choose a base branch
from

Conversation

TomWerner
Copy link
Contributor

With this PR:

image

Base game:

image

#541

@TomWerner TomWerner force-pushed the twrner/display-bfc branch 6 times, most recently from ebfa5a5 to 404182c Compare February 16, 2025 22:59
This doesn't yet implement the benefits of specialists, but it does allow us to force certain tiles to not be worked. This is important when passing tiles between cities, for example.

#541
Unlike with `.SAV` files, scenarios don't specify the tile assignments for each of the citizens in cities. To handle this we backfill them using the tile assignment AI. This is slightly complicated by fact that the `C7Engine` code can't depend directly on the AI logic, so we have to do some dependency injection via an `Action`.

#541
This doesn't yet handle per-turn culture (we'll need building for that) but it should allow us to determine the proper border expansion levels in a following PR, as well as improve the tile assignment logic to restrict things to the BFC.

#541
@TomWerner TomWerner force-pushed the twrner/display-bfc branch 2 times, most recently from d66c2aa to ed98caa Compare February 18, 2025 13:35
We now have nearly tile-for-tile accuracy with the real game for loaded save files! 

I've based this mainly off of https://forums.civfanatics.com/threads/the-eight-laws-of-border-dynamics.106882/, but haven't yet implemented rules 7 or 8
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.

1 participant