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

AI opponents not able to use the marketplace #434

Open
lolslayer opened this issue Dec 27, 2017 · 1 comment
Open

AI opponents not able to use the marketplace #434

lolslayer opened this issue Dec 27, 2017 · 1 comment

Comments

@lolslayer
Copy link

This might be conflicting with the design, but I think it would be great to allow the AI to use the Marketplace on maps that allow marketplaces.

Me and my friends often play against AI opponents, but if we play for too long the AI runs out of gold and slowly dies from hunger without being able to replace the lost citizens.

If the AI is able to buy gold for example when it runs low, this problem is automatically fixed.

A suggestion for how to implement stuff like this:
-There are a few resources that can run out like gold, iron, coal and stone. The AI can be tasked to check for those resources if they run low or are completely depleted from the warehouse and if so, it trades goods for those resources.
-The AI shouldn't trade resources that can run out for other resources, so I suggest the AI to have pre-defined resources that it can choose out of when trading in a Marketplace, like wine and planks. The AI can check which resource has the biggest reserves and trade those resources in for the desired resources in the Marketplace.

I hope that I explained it well enough and to see if it gets accepted. :)

@TehPlayer14
Copy link

This can be closed, Adv AI has it

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

No branches or pull requests

2 participants