Skip to content

Conversation

TomWerner
Copy link
Contributor

I also replaced some hardcoded constants with the relevant rules.

@TomWerner TomWerner force-pushed the twrner/industrious-metropolis-shield branch from f2e095f to 30c665e Compare June 15, 2025 21:28
yield += 2;

// TODO: +1 more for industrial civs.
// Industrious civs get +1 production in metropolises
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this is the right way to implement tile yield bonuses for civ traits. I think that for future moddability, we should implement it similarly to the tileModifier fields in the Government and Building classes. This approach will make it easier to separate this logic in user scripts later. However, it will likely require refactoring civ traits from an enum to a class.

@TomWerner TomWerner force-pushed the twrner/industrious-metropolis-shield branch from 30c665e to 060be40 Compare June 21, 2025 16:49
Copy link
Contributor

@pcen pcen left a comment

Choose a reason for hiding this comment

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

lgtm - we can revamp tile bonuses for civ traits in a future change

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.

3 participants