I'm making a mod that adds a very scarce resource to the game, and I made it so that some vital units require this resource to be built. My worry is that the AI will never succeed in acquiring the resource, messing up the game completely. My question is, when an AI aims to build something that requires a strategic resource, but it does not have said resource in its territory, will the AI attempt to buy the required resource from another player who has it, or will it just not build whatever it was trying to produce? It seems to me that when a leader makes a trade, it just randomly adds any spare strategic resources you or it happens to have, whether they need it or not. I get the feeling that the AI does not know how to use them properly.