1
0
forked from 0ad/0ad

Rename pers_stables to pers_stable as rest of {civ}_stable to simplify check done by Petra

Patch By: Angen
Reviewed By: Stan
Differential Revision: https://code.wildfiregames.com/D1860
This was SVN commit r22320.
This commit is contained in:
bb 2019-05-30 16:55:45 +00:00
parent ebfec91057
commit 93139ab417
7 changed files with 8 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1924,8 +1924,7 @@ m.HQ.prototype.constructTrainingBuildings = function(gameState, queues)
let rangeTemplate = this.canBuild(gameState, "structures/{civ}_range") ? "structures/{civ}_range" : undefined;
let numRanges = gameState.getOwnEntitiesByClass("Range", true).length;
let stableTemplate = this.canBuild(gameState, "structures/{civ}_stables") ? "structures/{civ}_stables" :
this.canBuild(gameState, "structures/{civ}_stable") ? "structures/{civ}_stable" : undefined;
let stableTemplate = this.canBuild(gameState, "structures/{civ}_stable") ? "structures/{civ}_stable" : undefined;
let numStables = gameState.getOwnEntitiesByClass("Stables", true).length;
if (this.getAccountedPopulation(gameState) > this.Config.Military.popForBarracks1 ||

View File

@ -2,7 +2,7 @@
<Entity parent="template_unit_infantry_ranged_archer">
<Builder>
<Entities datatype="tokens">
structures/pers_stables
structures/pers_stable
structures/pers_apadana
structures/pers_ishtar_gate
structures/pers_hall

View File

@ -2,7 +2,7 @@
<Entity parent="template_unit_infantry_ranged_javelinist">
<Builder>
<Entities datatype="tokens">
structures/pers_stables
structures/pers_stable
structures/pers_apadana
structures/pers_ishtar_gate
structures/pers_hall

View File

@ -2,7 +2,7 @@
<Entity parent="template_unit_infantry_melee_spearman">
<Builder>
<Entities datatype="tokens">
structures/pers_stables
structures/pers_stable
structures/pers_apadana
structures/pers_ishtar_gate
structures/pers_hall