[Petra] Fix han civilisation

This was SVN commit r26574.
This commit is contained in:
Angen 2022-03-06 13:54:03 +00:00
parent 71a5274c52
commit 9fcb007bb3
2 changed files with 4 additions and 1 deletions

View File

@ -77,6 +77,9 @@ PETRA.Config = function(difficulty = PETRA.DIFFICULTY_MEDIUM, behavior)
"gaul": [
"structures/{civ}/assembly"
],
"han": [
"structures/{civ}/academy"
],
"iber": [
"structures/{civ}/monument"
],

View File

@ -105,7 +105,7 @@ PETRA.ResearchManager.prototype.researchWantedTechs = function(gameState, techs)
return { "name": tech[0], "increasePriority": this.CostSum(template.cost) < 400 };
else if (template.modifications[i].value === "ResourceGatherer/Rates/food.fruit")
return { "name": tech[0], "increasePriority": this.CostSum(template.cost) < 400 };
else if (template.modifications[i].value === "ResourceGatherer/Rates/food.grain")
else if (template.modifications[i].value === "ResourceGatherer/Rates/food.grain" || template.modifications[i].value === "ResourceGatherer/Rates/food.rice")
return { "name": tech[0], "increasePriority": false };
else if (template.modifications[i].value === "ResourceGatherer/Rates/wood.tree")
return { "name": tech[0], "increasePriority": this.CostSum(template.cost) < 400 };