-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Unit automation uses defunct UnitActionType.StartGoldenAge
#11576
Labels
Comments
The unique is already deprecated |
yairm210
added a commit
that referenced
this issue
May 11, 2024
Still leaves the question open how the AI now is supposed to ever use a GP to start a GA. Let's think about that... A little... While not otherwise distracted... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Game Version
current master from source
Describe the bug
This line - the actual UnitActionType used for starting golden ages is now TriggerUnique for the OneTimeEnterGoldenAgeTurns UniqueType.
Actually, all three objects named
StartGoldenAge
are dead - UnitAction, KeyboardBinding and UniqueType - and have no implementation.Steps to Reproduce
Read source and use Ctrl-Shift-F and Alt-F7 extensively?
I have no idea hot to coax the AI to run into that line - but it's definitely not clean.
Additional Information
Replacing that
if
withis obviously bull - that's a fallback within specialized UniqueType.ConstructImprovementInstantly AI code. But civilian AI has absolutely nothing elsewhere I can find for the ubiquitous starting golden ages capability of those Great People... sounds like this should be included in some higher-level AI overhaul. @tuvus - specialist to the rescue?? Consider - why is there no fuzzy logic for automateCivilianUnit that compares estimated values? It's all if I can do - done - return. Sounds less than optimally clever.
The text was updated successfully, but these errors were encountered: