-
Notifications
You must be signed in to change notification settings - Fork 163
Implement Company Ai: Choosing destinations / initial thought setup #3013
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
Conversation
f8096a3
to
a5aff3b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise, I'm fine with this, but the OP says it hasn't been tested yet. Could we test this for replays to match at least?
5363055
to
acf3f67
Compare
looks to have some issues so not ready yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unsure if I fully playtested all the new code here, but the AI on this branch does indeed form roads and tracks between producer and consumer industries:
This AI built from an oil well to a refinery further away than necessary (but maybe this is legit, maybe it wants higher income or something):
I saw the AI generate docks and a ship, but they deleted it before I could find it (I think this is already existing behaviour)
I have confirmed that the only issue (replay wise) is due to a bug in vanilla. Do we want to do a divergence in this release (#3043 will also diverge replays) ? |
ba6bfd1
to
ece27e2
Compare
Replays match (after updating the test data confirmed it was a vanilla mistake causing the divergence) OpenLoco/TestData@c787563 |
Not tested