Index: binaries/data/mods/public/maps/random/jebel_barkal.js =================================================================== --- binaries/data/mods/public/maps/random/jebel_barkal.js +++ binaries/data/mods/public/maps/random/jebel_barkal.js @@ -77,7 +77,7 @@ const oCivicCenter = "structures/kush/civil_centre"; const oBarracks = "structures/kush/barracks"; const oStable = "structures/kush/stable"; -const oElephantStables = "structures/kush/elephant_stables"; +const oElephantStable = "structures/kush/elephant_stable"; const oWallMedium = "structures/kush/wall_medium"; const oWallGate = "structures/kush/wall_gate"; const oWallTower = "structures/kush/wall_tower"; @@ -183,7 +183,7 @@ const clHouse = g_Map.createTileClass(); const clForge = g_Map.createTileClass(); const clStable = g_Map.createTileClass(); -const clElephantStables = g_Map.createTileClass(); +const clElephantStable = g_Map.createTileClass(); const clCivicCenter = g_Map.createTileClass(); const clBarracks = g_Map.createTileClass(); const clBlemmyeCamp = g_Map.createTileClass(); @@ -270,10 +270,10 @@ "painters": new TileClassPainter(clCivicCenter) }, { - "templateName": oElephantStables, + "templateName": oElephantStable, "difficulty": "Easy", - "constraints": avoidClasses(clElephantStables, 10), - "painters": new TileClassPainter(clElephantStables) + "constraints": avoidClasses(clElephantStable, 10), + "painters": new TileClassPainter(clElephantStable) }, { "templateName": oStable, @@ -1062,7 +1062,7 @@ clFortress, 1, clHouse, 1, clForge, 1, - clElephantStables, 1, + clElephantStable, 1, clStable, 1, clCivicCenter, 1, clBarracks, 1, @@ -1078,7 +1078,7 @@ undefined, [ new StayAreasConstraint([areaCityBushes]), - avoidClasses(clElephantStables, 3) + avoidClasses(clElephantStable, 3) ]); g_Map.log("Placing city palms"); Index: binaries/data/mods/public/maps/scenarios/sandbox_kushites.xml =================================================================== --- binaries/data/mods/public/maps/scenarios/sandbox_kushites.xml +++ binaries/data/mods/public/maps/scenarios/sandbox_kushites.xml @@ -12449,7 +12449,7 @@ - + 1 Index: binaries/data/mods/public/maps/scenarios/sandbox_mauryas.xml =================================================================== --- binaries/data/mods/public/maps/scenarios/sandbox_mauryas.xml +++ binaries/data/mods/public/maps/scenarios/sandbox_mauryas.xml @@ -29827,7 +29827,7 @@ - + 1 Index: binaries/data/mods/public/maps/skirmishes/egypt_3pv3p.xml =================================================================== --- binaries/data/mods/public/maps/skirmishes/egypt_3pv3p.xml +++ binaries/data/mods/public/maps/skirmishes/egypt_3pv3p.xml @@ -62833,7 +62833,7 @@ - + 0 @@ -101338,7 +101338,7 @@ - + 2 Index: binaries/data/mods/public/simulation/ai/petra/headquarters.js =================================================================== --- binaries/data/mods/public/simulation/ai/petra/headquarters.js +++ binaries/data/mods/public/simulation/ai/petra/headquarters.js @@ -1986,9 +1986,9 @@ if (this.currentPhase < 3) return; - if (this.canBuild(gameState, "structures/{civ}/elephant_stables") && !gameState.getOwnEntitiesByClass("ElephantStable", true).hasEntities()) + if (this.canBuild(gameState, "structures/{civ}/elephant_stable") && !gameState.getOwnEntitiesByClass("ElephantStable", true).hasEntities()) { - queues.militaryBuilding.addPlan(new PETRA.ConstructionPlan(gameState, "structures/{civ}/elephant_stables", { "militaryBase": true })); + queues.militaryBuilding.addPlan(new PETRA.ConstructionPlan(gameState, "structures/{civ}/elephant_stable", { "militaryBase": true })); return; } Index: binaries/data/mods/public/simulation/ai/petra/queueplanBuilding.js =================================================================== --- binaries/data/mods/public/simulation/ai/petra/queueplanBuilding.js +++ binaries/data/mods/public/simulation/ai/petra/queueplanBuilding.js @@ -316,7 +316,7 @@ let radius = 0; if (template.hasClass("Fortress") || template.hasClass("Arsenal") || - this.type == gameState.applyCiv("structures/{civ}/elephant_stables")) + this.type == gameState.applyCiv("structures/{civ}/elephant_stable")) radius = Math.floor((template.obstructionRadius().max + 8) / obstructions.cellSize); else if (template.resourceDropsiteTypes() === undefined && !template.hasClass("House") && !template.hasClass("Field") && !template.hasClass("Market")) Index: binaries/data/mods/public/simulation/templates/structures/cart/elephant_stable.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/cart/elephant_stable.xml +++ binaries/data/mods/public/simulation/templates/structures/cart/elephant_stable.xml @@ -1,5 +1,5 @@ - + cart Index: binaries/data/mods/public/simulation/templates/structures/cart/elephant_stables.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/cart/elephant_stables.xml +++ binaries/data/mods/public/simulation/templates/structures/cart/elephant_stables.xml @@ -1,9 +0,0 @@ - - - - cart - - - structures/carthaginians/stable_elephant.xml - - Index: binaries/data/mods/public/simulation/templates/structures/kush/elephant_stable.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/kush/elephant_stable.xml +++ binaries/data/mods/public/simulation/templates/structures/kush/elephant_stable.xml @@ -1,5 +1,5 @@ - + kush Ỉḥ Abu Index: binaries/data/mods/public/simulation/templates/structures/kush/elephant_stables.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/kush/elephant_stables.xml +++ binaries/data/mods/public/simulation/templates/structures/kush/elephant_stables.xml @@ -1,10 +0,0 @@ - - - - kush - Ỉḥ Abu - - - structures/kushites/stable_elephant.xml - - Index: binaries/data/mods/public/simulation/templates/structures/maur/elephant_stable.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/maur/elephant_stable.xml +++ binaries/data/mods/public/simulation/templates/structures/maur/elephant_stable.xml @@ -1,5 +1,5 @@ - + maur Vāraṇaśālā Index: binaries/data/mods/public/simulation/templates/structures/maur/elephant_stables.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/maur/elephant_stables.xml +++ binaries/data/mods/public/simulation/templates/structures/maur/elephant_stables.xml @@ -1,13 +0,0 @@ - - - - maur - Vāraṇaśālā - phase_town - CivSpecific - -City Town - - - structures/mauryas/stable_elephant.xml - - Index: binaries/data/mods/public/simulation/templates/structures/pers/elephant_stable.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/pers/elephant_stable.xml +++ binaries/data/mods/public/simulation/templates/structures/pers/elephant_stable.xml @@ -1,5 +1,5 @@ - + pers Index: binaries/data/mods/public/simulation/templates/structures/pers/elephant_stables.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/pers/elephant_stables.xml +++ binaries/data/mods/public/simulation/templates/structures/pers/elephant_stables.xml @@ -1,9 +0,0 @@ - - - - pers - - - structures/persians/stable_elephant.xml - - Index: binaries/data/mods/public/simulation/templates/structures/ptol/elephant_stable.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/ptol/elephant_stable.xml +++ binaries/data/mods/public/simulation/templates/structures/ptol/elephant_stable.xml @@ -1,5 +1,5 @@ - + ptol Stathmos tōn Elepantōn Index: binaries/data/mods/public/simulation/templates/structures/ptol/elephant_stables.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/ptol/elephant_stables.xml +++ binaries/data/mods/public/simulation/templates/structures/ptol/elephant_stables.xml @@ -1,10 +0,0 @@ - - - - ptol - Stathmos tōn Elepantōn - - - structures/ptolemies/stable_elephant.xml - - Index: binaries/data/mods/public/simulation/templates/structures/sele/elephant_stable.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/sele/elephant_stable.xml +++ binaries/data/mods/public/simulation/templates/structures/sele/elephant_stable.xml @@ -1,5 +1,5 @@ - + sele Stathmos tōn Elepantōn Index: binaries/data/mods/public/simulation/templates/structures/sele/elephant_stables.xml =================================================================== --- binaries/data/mods/public/simulation/templates/structures/sele/elephant_stables.xml +++ binaries/data/mods/public/simulation/templates/structures/sele/elephant_stables.xml @@ -1,10 +0,0 @@ - - - - sele - Stathmos tōn Elepantōn - - - structures/seleucids/stable_elephant.xml - - Index: binaries/data/mods/public/simulation/templates/template_structure_military_elephant_stables.xml =================================================================== --- binaries/data/mods/public/simulation/templates/template_structure_military_elephant_stables.xml +++ binaries/data/mods/public/simulation/templates/template_structure_military_elephant_stables.xml @@ -1,60 +0,0 @@ - - - - 240 - - 200 - 200 - - - - - 8.0 - - - 5 - Elephant - - - 3000 - decay|rubble/rubble_stone_6x6 - - - Elephant Stable - template_structure_military_elephant_stables - Train Elephants and research Elephant technologies. - City ElephantStable - phase_city - structures/stable_elephant.png - - - 40 - 40 - - - - - - 0.7 - - units/{civ}/support_elephant - units/{civ}/elephant_archer_b - units/{civ}/champion_elephant - - - - - interface/complete/building/complete_elephant_stables.xml - - - - - 38 - - - 40 - - - structures/fndn_9x8.xml - - Index: binaries/data/mods/public/simulation/templates/units/maur/infantry_archer_b.xml =================================================================== --- binaries/data/mods/public/simulation/templates/units/maur/infantry_archer_b.xml +++ binaries/data/mods/public/simulation/templates/units/maur/infantry_archer_b.xml @@ -2,7 +2,7 @@ - structures/maur/elephant_stables + structures/maur/elephant_stable structures/maur/palace structures/maur/pillar_ashoka Index: binaries/data/mods/public/simulation/templates/units/maur/infantry_spearman_b.xml =================================================================== --- binaries/data/mods/public/simulation/templates/units/maur/infantry_spearman_b.xml +++ binaries/data/mods/public/simulation/templates/units/maur/infantry_spearman_b.xml @@ -2,7 +2,7 @@ - structures/maur/elephant_stables + structures/maur/elephant_stable structures/maur/palace structures/maur/pillar_ashoka Index: binaries/data/mods/public/simulation/templates/units/maur/infantry_swordsman_b.xml =================================================================== --- binaries/data/mods/public/simulation/templates/units/maur/infantry_swordsman_b.xml +++ binaries/data/mods/public/simulation/templates/units/maur/infantry_swordsman_b.xml @@ -7,7 +7,7 @@ - structures/maur/elephant_stables + structures/maur/elephant_stable structures/maur/palace structures/maur/pillar_ashoka Index: binaries/data/mods/public/simulation/templates/units/maur/support_female_citizen.xml =================================================================== --- binaries/data/mods/public/simulation/templates/units/maur/support_female_citizen.xml +++ binaries/data/mods/public/simulation/templates/units/maur/support_female_citizen.xml @@ -2,7 +2,7 @@ - structures/maur/elephant_stables + structures/maur/elephant_stable structures/maur/palace structures/maur/pillar_ashoka