AI rationing of strategic resources; Hydro Plant re-enabled (#5401)

* AI evaluation of resources

* optimizations

* sell or disband when needed for space victory

* use for all constructions

* use in trade evaluations

* .requiresResource()
This commit is contained in:
SimonCeder
2021-10-06 16:11:02 +02:00
committed by GitHub
parent e4ff3d43d6
commit c00ce49c86
11 changed files with 191 additions and 19 deletions

View File

@ -913,7 +913,6 @@
"requiredBuilding": "Bank",
"requiredTech": "Electricity"
},
/* This works and even has icon but AI cannot manage its Aluminum at this moment
{
"name": "Hydro Plant",
"requiredResource": "Aluminum",
@ -922,7 +921,6 @@
"uniques": ["Must be on [River]","[+1 Production] from [River] tiles [in this city]"],
"requiredTech": "Electricity"
},
*/
// Modern Era