1
0
forked from 0ad/0ad

Fix maps after kush temple rename

Differential Revision: https://code.wildfiregames.com/D1373
Reviewed by: elexis
Comments by: bb, mimo
This was SVN commit r21486.
This commit is contained in:
temple 2018-03-10 17:24:58 +00:00
parent 2ae5da09a0
commit e68d99272f
5 changed files with 8 additions and 10 deletions

View File

@ -67,7 +67,7 @@ const oHawk = "gaia/fauna_hawk";
// The main temple on elephantine was very similar looking (Greco-Roman-Egyptian): // The main temple on elephantine was very similar looking (Greco-Roman-Egyptian):
const oWonder = "structures/ptol_wonder"; const oWonder = "structures/ptol_wonder";
const oTemples = ["structures/kush_temple_amun", "structures/kush_temple_apedemak"]; const oTemples = ["structures/kush_temple_amun", "structures/kush_temple"];
const oPyramid = "structures/kush_pyramid_large"; const oPyramid = "structures/kush_pyramid_large";
const oTowers = new Array(2).fill("uncapturable|structures/kush_sentry_tower").concat(["uncapturable|structures/kush_defense_tower"]); const oTowers = new Array(2).fill("uncapturable|structures/kush_sentry_tower").concat(["uncapturable|structures/kush_defense_tower"]);

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1537,9 +1537,7 @@ m.HQ.prototype.buildTemple = function(gameState, queues)
return; return;
let templateName = "structures/{civ}_temple"; let templateName = "structures/{civ}_temple";
if (this.canBuild(gameState, "structures/{civ}_temple_apedemak")) if (this.canBuild(gameState, "structures/{civ}_temple_vesta"))
templateName = "structures/{civ}_temple_apedemak";
else if (this.canBuild(gameState, "structures/{civ}_temple_vesta"))
templateName = "structures/{civ}_temple_vesta"; templateName = "structures/{civ}_temple_vesta";
else if (!this.canBuild(gameState, templateName)) else if (!this.canBuild(gameState, templateName))
return; return;