-
Notifications
You must be signed in to change notification settings - Fork 29
801 - Updated the in-game AI to AI trade factor #846
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
801 - Updated the in-game AI to AI trade factor #846
Conversation
…ameData.Difficulty object is instantiated.
|
You can't access AIToAITradeRate field directly from Difficulty class, since this field is non-static. You should access the game difficulty instance via EngineStorage ( |
…at stores active game state info
Was trying to use Python semantics to import references to EngineStorage.cs, believe we got it right now as the project builds locally now.
|
Think I got the namespace issue ironed out, project builds locally now. Thanks for helping me get set up to contribute! |
|
@zack-the-coding-actuary All checks should pass. Things to consider for future PRs |
|
Okay cool! Thanks for bearing with me here, this is my first real collaboration project where I need to get up to speed on GitHub hygiene and best practices. I actually opened a PR on a different issue last night and successfully renamed the branch before committing, so I promise I won't make that mistake again :) My latest commit on this one ran the whitespace command from CMD, so I reckon we should be good to go here. However, when I navigate to the EngineTests folder and run
I take it it's not ready for the pipeline unit tests if it's failing this one? |
|
I've responded about the test failure on Discord. TLDR: it's a bug in the test and is unrelated to this PR. The code looks good to me, thanks! |
Is now based on how the C7.GameData.Difficulty object is instantiated. Hope this little tiny bit is helpful!