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

"Cannot be hurried" unique type for buildings and techs #7076

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

OptimizedForDensity
Copy link
Collaborator

Implements a unique type called UniqueType.CannotBeHurried ("Cannot be hurried") which can be given to a building or technology to prevent it from being rushed by a great scientist/engineer. In Civ 5 vanilla and G&K, this applies to the Manhattan Project, Apollo Program, and Utopia Project.

Also cleaned up a when statement in UnitActions.kt to check unique types instead of placeholder text. An additional unique type CanSpeedupWonderConstruction was implemented as part of this clean up, but this is currently not used in any vanilla Unciv units.

@OptimizedForDensity OptimizedForDensity changed the title Certain projects cannot be hurried by great engineer "Cannot be hurried" unique type for buildings and techs Jun 6, 2022
@yairm210 yairm210 merged commit b79246e into yairm210:master Jun 8, 2022
@OptimizedForDensity OptimizedForDensity deleted the UniqueTypeCleanup branch July 11, 2022 16:19
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