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

Update ConstructionAutomation.kt #12472

Closed
wants to merge 1 commit into from

Conversation

EmperorPinguin
Copy link
Contributor

The AI currently does not evaluate tile yields from buildings. For granaries, stables, etc. this is not much of a problem as they're also valued in other ways, but the AI not building lighthouses is pretty bad.

Merging this PR simply as-is will allow the AI to build lighthouses again, but it would be better to extract the type and amount of stats from the unique, and multiply this by the number of respective tiles the AI is currently working in the city. How does one do so?

@yairm210
Copy link
Owner

Incorrect, this is calculated in getStatDifferenceFromBuilding - we compare this city vs this city with the building, which includes the extra stats from tiles

@yairm210 yairm210 closed this Nov 14, 2024
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