Index: ps/trunk/binaries/data/mods/public/maps/scripts/CaptureTheRelic.js =================================================================== --- ps/trunk/binaries/data/mods/public/maps/scripts/CaptureTheRelic.js (revision 19369) +++ ps/trunk/binaries/data/mods/public/maps/scripts/CaptureTheRelic.js (revision 19370) @@ -1,180 +1,181 @@ -let g_CatafalqueTemplate = "other/special_catafalque"; - Trigger.prototype.InitCaptureTheRelic = function() { + let cmpTemplateManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_TemplateManager); + let catafalqueTemplates = shuffleArray(cmpTemplateManager.FindAllTemplates(false).filter( + name => name.startsWith("other/catafalque/"))); + // Attempt to spawn relics using gaia entities in neutral territory // If there are none, try to spawn using gaia entities in non-neutral territory let cmpRangeManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_RangeManager); let cmpWaterManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_WaterManager); let cmpTerritoryManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_TerritoryManager); - let cmpTemplateManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_TemplateManager); let potentialGaiaSpawnPoints = []; let potentialSpawnPoints = cmpRangeManager.GetEntitiesByPlayer(0).filter(entity => { let cmpPosition = Engine.QueryInterface(entity, IID_Position); if (!cmpPosition || !cmpPosition.IsInWorld()) return false; let cmpIdentity = Engine.QueryInterface(entity, IID_Identity); if (!cmpIdentity) return false; let templateName = cmpTemplateManager.GetCurrentTemplateName(entity); if (!templateName) return false; let template = cmpTemplateManager.GetTemplate(templateName); if (!template || template.UnitMotionFlying) return false; let pos = cmpPosition.GetPosition(); if (pos.y <= cmpWaterManager.GetWaterLevel(pos.x, pos.z)) return false; if (cmpTerritoryManager.GetOwner(pos.x, pos.z) == 0) potentialGaiaSpawnPoints.push(entity); return true; }); if (potentialGaiaSpawnPoints.length) potentialSpawnPoints = potentialGaiaSpawnPoints; let numSpawnedRelics = Math.ceil(TriggerHelper.GetNumberOfPlayers() / 2); this.playerRelicsCount = new Array(TriggerHelper.GetNumberOfPlayers()).fill(0, 1); this.playerRelicsCount[0] = numSpawnedRelics; for (let i = 0; i < numSpawnedRelics; ++i) { - this.relics[i] = TriggerHelper.SpawnUnits(pickRandom(potentialSpawnPoints), g_CatafalqueTemplate, 1, 0)[0]; + this.relics[i] = TriggerHelper.SpawnUnits(pickRandom(potentialSpawnPoints), catafalqueTemplates[i], 1, 0)[0]; let cmpDamageReceiver = Engine.QueryInterface(this.relics[i], IID_DamageReceiver); cmpDamageReceiver.SetInvulnerability(true); let cmpPositionRelic = Engine.QueryInterface(this.relics[i], IID_Position); cmpPositionRelic.SetYRotation(randFloat(0, 2 * Math.PI)); } }; Trigger.prototype.CheckCaptureTheRelicVictory = function(data) { let cmpIdentity = Engine.QueryInterface(data.entity, IID_Identity); if (!cmpIdentity || !cmpIdentity.HasClass("Relic") || data.from == -1) return; if (data.to == -1) { error("Relic entity " + data.entity + " has been destroyed"); return; } --this.playerRelicsCount[data.from]; ++this.playerRelicsCount[data.to]; this.CheckCaptureTheRelicCountdown(); }; /** * Check if an individual player or team has acquired all relics. * Also check if the countdown needs to be stopped if a player/team no longer has all relics. */ Trigger.prototype.CheckCaptureTheRelicCountdown = function() { let cmpEndGameManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_EndGameManager); for (let playerID = 1; playerID < TriggerHelper.GetNumberOfPlayers(); ++playerID) { let playerAndAllies = cmpEndGameManager.GetAlliedVictory() ? QueryPlayerIDInterface(playerID).GetMutualAllies() : [playerID]; let teamRelicsOwned = 0; for (let ally of playerAndAllies) teamRelicsOwned += this.playerRelicsCount[ally]; if (teamRelicsOwned == this.relics.length) { this.StartCaptureTheRelicCountdown(playerAndAllies); return; } } this.DeleteCaptureTheRelicVictoryMessages(); }; Trigger.prototype.DeleteCaptureTheRelicVictoryMessages = function() { let cmpTimer = Engine.QueryInterface(SYSTEM_ENTITY, IID_Timer); cmpTimer.CancelTimer(this.relicsVictoryTimer); let cmpGuiInterface = Engine.QueryInterface(SYSTEM_ENTITY, IID_GuiInterface); cmpGuiInterface.DeleteTimeNotification(this.ownRelicsVictoryMessage); cmpGuiInterface.DeleteTimeNotification(this.othersRelicsVictoryMessage); }; Trigger.prototype.StartCaptureTheRelicCountdown = function(playerAndAllies) { let cmpTimer = Engine.QueryInterface(SYSTEM_ENTITY, IID_Timer); let cmpGuiInterface = Engine.QueryInterface(SYSTEM_ENTITY, IID_GuiInterface); if (this.relicsVictoryTimer) { cmpTimer.CancelTimer(this.relicsVictoryTimer); cmpGuiInterface.DeleteTimeNotification(this.ownRelicsVictoryMessage); cmpGuiInterface.DeleteTimeNotification(this.othersRelicsVictoryMessage); } let others = [-1]; for (let playerID = 1; playerID < TriggerHelper.GetNumberOfPlayers(); ++playerID) { let cmpPlayer = QueryPlayerIDInterface(playerID); if (cmpPlayer.GetState() == "won") return; if (playerAndAllies.indexOf(playerID) == -1) others.push(playerID); } let cmpPlayer = QueryOwnerInterface(this.relics[0], IID_Player); let cmpEndGameManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_EndGameManager); let captureTheRelicDuration = cmpEndGameManager.GetGameTypeSettings().victoryDuration || 0; let isTeam = playerAndAllies.length > 1; this.ownRelicsVictoryMessage = cmpGuiInterface.AddTimeNotification({ "message": isTeam ? markForTranslation("%(player)s's team has captured all relics and will have won in %(time)s") : markForTranslation("%(player)s has captured all relics and will have won in %(time)s"), "players": others, "parameters": { "player": cmpPlayer.GetName() }, "translateMessage": true, "translateParameters": [] }, captureTheRelicDuration); this.othersRelicsVictoryMessage = cmpGuiInterface.AddTimeNotification({ "message": isTeam ? markForTranslation("Your team has captured all relics and will have won in %(time)s") : markForTranslation("You have captured all relics and will have won in %(time)s"), "players": playerAndAllies, "translateMessage": true }, captureTheRelicDuration); this.relicsVictoryTimer = cmpTimer.SetTimeout(SYSTEM_ENTITY, IID_EndGameManager, "MarkPlayerAsWon", captureTheRelicDuration, playerAndAllies[0]); }; { let cmpTrigger = Engine.QueryInterface(SYSTEM_ENTITY, IID_Trigger); cmpTrigger.relics = []; cmpTrigger.playerRelicsCount = []; cmpTrigger.relicsVictoryTimer = undefined; cmpTrigger.ownRelicsVictoryMessage = undefined; cmpTrigger.othersRelicsVictoryMessage = undefined; cmpTrigger.DoAfterDelay(0, "InitCaptureTheRelic", {}); cmpTrigger.RegisterTrigger("OnDiplomacyChanged", "CheckCaptureTheRelicCountdown", { "enabled": true }); cmpTrigger.RegisterTrigger("OnOwnershipChanged", "CheckCaptureTheRelicVictory", { "enabled": true }); cmpTrigger.RegisterTrigger("OnPlayerWon", "DeleteCaptureTheRelicVictoryMessages", { "enabled": true }); } Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/spart_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/spart_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/spart_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/spart_catafalque_1 catafalques/spart_catafalque_2 catafalques/spart_catafalque_3 + + spart + Lycurgus + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/spart_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/cart_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/cart_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/cart_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/cart_catafalque + + cart + Hasdrubal (Quartermaster) + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/cart_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/iber_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/iber_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/iber_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/iber_catafalque_1 catafalques/iber_catafalque_2 + + iber + Mandonius + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/iber_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/maur_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/maur_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/maur_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/maur_catafalque_1 catafalques/maur_catafalque_2 + + maur + Bindusara + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/maur_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/ptol_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/ptol_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/ptol_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/ptol_catafalque + + ptol + Ptolemy III Euergetes (Benefactor) + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/ptol_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/sele_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/sele_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/sele_catafalque.xml (revision 19370) @@ -0,0 +1,8 @@ + + + catafalques/sele_catafalque_1 catafalques/sele_catafalque_2 catafalques/sele_catafalque_3 + + sele + Antiochus I Soter (Savior) + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/sele_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_1.json (revision 19370) @@ -0,0 +1,11 @@ +{ + "type": "range", + "radius": 80, + "affects": ["Worker"], + "modifications": [ + { "value": "ResourceGatherer/BaseSpeed", "multiply": 1.1 } + ], + "auraName": "Economic Reforms", + "auraDescription": "Solon instituted several economic reforms encouraging commerce and agriculture.\n+10% gather rate of workers within an 80 meter range.", + "overlayIcon": "art/textures/ui/session/auras/buildgather_bonus.png" +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_2.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["Economic"], + "modifications": [ + { "value": "ProductionQueue/TechCostMultiplier/wood", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/food", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/metal", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/stone", "multiply": 0.9 } + ], + "auraName": "Economic Fortune", + "auraDescription": "Solon brought in a new system of weights and measures, fathers were encouraged to find trades for their sons.\n-10% cost for economic technologies." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/athen_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_1.json (revision 19370) @@ -0,0 +1,11 @@ +{ + "type": "global", + "affects": ["Soldier"], + "modifications": [ + { "value": "Vision/Range", "multiply": 1.15 }, + { "value": "UnitMotion/WalkSpeed", "multiply": 1.15 }, + { "value": "UnitMotion/Run/Speed", "multiply": 1.15 } + ], + "auraName": "Guerilla Tactics", + "auraDescription": "Seeing entrenched defense to be useless against the Roman army, Cassivellanus resorted to gurerilla tactics. This was later employed by other cheiftains too.\n+15% speed and vision range for soldiers." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_2.json (revision 19370) @@ -0,0 +1,9 @@ +{ + "type": "global", + "affects": ["Javelin"], + "modifications": [ + { "value": "Attack/Ranged/MaxRange", "multiply": 1.2 } + ], + "auraName": "Skirmisher Harassment", + "auraDescription": "Cassivellanus deployed fast-moving skirmishers to harass Roman troops and foragers.\n+20% attack range for skirmisher javelins." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/brit_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/cart_catafalque.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/cart_catafalque.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/cart_catafalque.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["Melee Cavalry"], + "modifications": [ + { "value": "Armour/Pierce", "add": 1 }, + { "value": "Armour/Hack", "add": 1 }, + { "value": "Armour/Crush", "add": 1 }, + { "value": "Health/Max", "multiply": 1.1 } + ], + "auraName": "Commander of Heavy Cavalry", + "auraDescription": "Leader of the Carthaginian heavy cavalry at Trebia and Cannae, where his triple charge had devastating effects on the enemy.\n+1 armor, +10% health for melee cavalry." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/cart_catafalque.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_1.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["Soldier", "Mechanical"], + "modifications": [ + { "value": "Promotion/RequiredXp", "multiply": 0.75 }, + { "value": "Attack/Melee/Hack", "multiply": 1.05 }, + { "value": "Attack/Melee/Pierce", "multiply": 1.05 }, + { "value": "Attack/Melee/Crush", "multiply": 1.05 } + ], + "auraName": "Ambush Slaughter", + "auraDescription": "Warring with the Romans, Ambiorix realized the futility of open warfare and instead resorted to ambush tactics. The Gauls quickly learned where and when to execute surprise attacks.\nUnits promote 25% faster and gain a 5% attack bonus." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_2.json (revision 19370) @@ -0,0 +1,9 @@ +{ + "type": "global", + "affects": ["Worker"], + "modifications": [ + { "value": "ResourceGatherer/Rates/food.grain", "multiply": 0.9 } + ], + "auraName": "Tribute to Rome", + "auraDescription": "When the Roman Army fell short of food supplies, the Gallic tribes were ordered to give up a part of their already meagre harvest. The Eburones under Ambiorix were reluctant to do so, therefore Caesar sent troops to take them by foce.\n-10% farming rate." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/gaul_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_1.json (revision 19370) @@ -0,0 +1,10 @@ +{ + "type": "global", + "affects": ["Mercenary CitizenSoldier"], + "affectedPlayers": ["Ally"], + "modifications": [ + { "value": "Cost/Resources/metal", "multiply": 0.75 } + ], + "auraName": "Mercenary Commander", + "auraDescription": "Along with his brother Indibil, Mandonius commanded the Iberian recruits and mercenaries that took part in the Punic Wars.\n-25% metal cost for all allied citizen-soldier mercenaries." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_2.json (revision 19370) @@ -0,0 +1,11 @@ +{ + "type": "global", + "affects": ["Soldier"], + "modifications": [ + { "value": "Health/Max", "multiply": 1.1 }, + { "value": "UnitMotion/WalkSpeed", "multiply": 1.15 }, + { "value": "UnitMotion/Run/Speed", "multiply": 1.15 } + ], + "auraName": "Saver of Lives", + "auraDescription": "Following the fall of Indibil in battle, Mandonius led the survivors to safety.\n+15% movement speed and +10% health for all soldiers." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/iber_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/mace_catafalque.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/mace_catafalque.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/mace_catafalque.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["Human", "Mechanical", "Structure"], + "modifications": [ + { "value": "Looter/Resource/metal", "mutiply": 1.25 }, + { "value": "Looter/Resource/wood", "mutiply": 1.25 }, + { "value": "Looter/Resource/stone", "mutiply": 1.25 }, + { "value": "Looter/Resource/metal", "multiply": 1.25 } + ], + "auraName": "Sacker of Cities", + "auraDescription": "During the First Macedonian War, Philip and his troops sacked Thermum, the religious and political centre of Aetolia.\n+25% loot for every enemy unit killed or structure destroyed." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/mace_catafalque.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_1.json (revision 19370) @@ -0,0 +1,9 @@ +{ + "type": "global", + "affects": ["Structure"], + "modifications": [ + { "value": "TerritoryInfluence/Radius", "multiply": 1.2 } + ], + "auraName": "Consolidator of the Empire", + "auraDescription": "Son of Chandragupta Maurya, Bindusara consolidated the empire, creating a stable state for his son Ashoka to inherit.\n+20% territory influence." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_2.json (revision 19370) @@ -0,0 +1,9 @@ +{ + "type": "global", + "affects": ["Soldier"], + "modifications": [ + { "value": "Attack/Capture/Value", "multiply": 1.15 } + ], + "auraName": "Vamba Moriyar", + "auraDescription": "Bindusara is said to have conquered lands to the south of the empire.\n+15% unit capture rate." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/maur_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/pers_catafalque.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/pers_catafalque.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/pers_catafalque.json (revision 19370) @@ -0,0 +1,13 @@ +{ + "type": "global", + "affects": ["Structure"], + "modifications": [ + { "value": "Cost/Resources/food", "multiply": 0.95 }, + { "value": "Cost/Resources/wood", "multiply": 0.95 }, + { "value": "Cost/Resources/stone", "multiply": 0.95 }, + { "value": "Cost/Resources/metal", "multiply": 0.95 }, + { "value": "Health/Max", "multiply": 1.05 } + ], + "auraName": "Great Builder", + "auraDescription": "Throughout his reign, much of Artaxerxes' wealth was spent on building projects. He restored the Palace of Darius I at Susa, and restored the ancient city of Ecbatana.\n+5% health and -5% resource cost for all buildings." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/pers_catafalque.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/ptol_catafalque.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/ptol_catafalque.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/ptol_catafalque.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["Structure"], + "modifications": [ + { "value": "ProductionQueue/TechCostMultiplier/wood", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/food", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/metal", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/stone", "multiply": 0.9 } + ], + "auraName": "Great Librarian", + "auraDescription": "Continuing his predecessors' work on the Great Library at Alexandria, he seized every book brought to Alexandria, thus leaving to his people a vast amount of hoarded wisdom.\n-10% resource cost for all technologies." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/ptol_catafalque.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_1.json (revision 19370) @@ -0,0 +1,10 @@ +{ + "type": "global", + "affects": ["FemaleCitizen"], + "modifications": [ + { "value": "Cost/Resources/food", "multiply": 0.8 }, + { "value": "ResourceGatherer/BaseSpeed", "multiply": 1.1 } + ], + "auraName": "Avenger of Lucretia", + "auraDescription": "After the rape of Lucretia by the son of King Tarquinius Superbus and her subsequent suicide, Brutus vowed to avenge her and overthrow the monarchy.\nFemale citizens cost 20% less and work 10% faster." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_2.json (revision 19370) @@ -0,0 +1,11 @@ +{ + "type": "global", + "affects": ["Human", "Mechanical"], + "modifications": [ + { "value": "Armour/Pierce", "multiply": 1.1 }, + { "value": "Armour/Hack", "multiply": 1.1 }, + { "value": "Armour/Crush", "multiply": 1.1 } + ], + "auraName": "Founder and Defender of the Republic Aura", + "auraDescription": "Brutus was one of the key figures in the overthrow of the monarchy and the founding of the Roman Republic. Later, as consul he led a Roman army to victory against the Etruscan King Tarquinius who sought to retake the throne.\n+10% armor for all units and siege engines." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/rome_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_1.json (revision 19370) @@ -0,0 +1,16 @@ +{ + "type": "global", + "affects": ["Temple"], + "modifications": [ + { "value": "ProductionQueue/TechCostMultiplier/wood", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/food", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/metal", "multiply": 0.9 }, + { "value": "ProductionQueue/TechCostMultiplier/stone", "multiply": 0.9 }, + { "value": "Cost/Resources/food", "multiply": 0.9 }, + { "value": "Cost/Resources/wood", "multiply": 0.9 }, + { "value": "Cost/Resources/metal", "multiply": 0.9 }, + { "value": "Cost/Resources/stone", "multiply": 0.9 } + ], + "auraName": "Founder of the Ezida Temple", + "auraDescription": "Antiochus I laid the foundation for the Ezida Temple in Borsippa.\n-10% resource cost for temples and temple technologies." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_2.json (revision 19370) @@ -0,0 +1,9 @@ +{ + "type": "global", + "affects": ["Player"], + "modifications": [ + { "value": "Player/MaxPopulation", "multiply": 1.05 } + ], + "auraName": "Immigration", + "auraDescription": "Antiochus encouraged Greek immigration to his realm and established many new cities in Asia Minor to serve as counterweights to the Gauls.\n+5% maximum population." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_3.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_3.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_3.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["Elephant Champion"], + "modifications": [ + { "value": "Cost/Resources/food", "multiply": 0.9 }, + { "value": "Cost/Resources/wood", "multiply": 0.9 }, + { "value": "Cost/Resources/stone", "multiply": 0.9 }, + { "value": "Cost/Resources/metal", "multiply": 0.9 } + ], + "auraName": "Basileus Megas (Great King)", + "auraDescription": "Son of Selecus Nicator, Antiochus succeeded in the formidable task of keeping the empire together, meanwhile founding temples and defeating the invading Gauls with war elephants.\n-10% cost for War Elephants." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/sele_catafalque_3.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_1.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_1.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_1.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["CitizenSoldier Spear"], + "modifications": [ + { "value": "Cost/Resources/food", "multiply": 0.9 }, + { "value": "Cost/Resources/wood", "multiply": 0.9 }, + { "value": "Cost/Resources/metal", "multiply": 0.9 }, + { "value": "Cost/Resources/stone", "multiply": 0.9 } + ], + "auraName": "Lycurgan Military Reforms", + "auraDescription": "Lycurgus instituted several military reforms, thus the complete and undivided allegiance to Sparta from its citizens was implemented under his form of government.\n-10% resource cost for spear citizen units." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_1.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_2.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_2.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_2.json (revision 19370) @@ -0,0 +1,12 @@ +{ + "type": "global", + "affects": ["Champion Spear"], + "modifications": [ + { "value": "Cost/Resources/food", "multiply": 0.95 }, + { "value": "Cost/Resources/wood", "multiply": 0.95 }, + { "value": "Cost/Resources/metal", "multiply": 0.95 }, + { "value": "Cost/Resources/stone", "multiply": 0.95 } + ], + "auraName": "Lycurgan Military Reforms", + "auraDescription": "-5% resource cost for spear champions." +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_2.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_3.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_3.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_3.json (revision 19370) @@ -0,0 +1,11 @@ +{ + "type": "range", + "radius": 80, + "affects": ["Worker"], + "modifications": [ + { "value": "ResourceGatherer/Rates/metal.ore", "multiply": 1.15 } + ], + "auraName": "Iron Pelanors", + "auraDescription": "To further support equality, Lycurgus forbade the use of gold and silver, instead introducing new iron money called pellanors.\n+15% metal mining rate for workers within an 80 meter range.", + "overlayIcon": "art/textures/ui/session/auras/buildgather_bonus.png" +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/auras/catafalques/spart_catafalque_3.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/athen_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/athen_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/athen_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/athen_catafalque_1 catafalques/athen_catafalque_2 + + athen + Solon + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/athen_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/brit_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/brit_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/brit_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/brit_catafalque_1 catafalques/brit_catafalque_2 + + brit + Cassivellaunus + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/brit_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/gaul_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/gaul_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/gaul_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/gaul_catafalque_1 catafalques/gaul_catafalque_2 + + gaul + Ambiorix + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/gaul_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/mace_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/mace_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/mace_catafalque.xml (revision 19370) @@ -0,0 +1,16 @@ + + + catafalques/mace_catafalque + + mace + Philip V + Financial Reorganization: Allied with Rome, Philip reorganized the country's internal affairs and finances, leaving as a legacy reopened mines and a new currency. Gain a slow trickle of metal. + + + + 1.0 + + 1250 + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/mace_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/pers_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/pers_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/pers_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/pers_catafalque + + pers + Artaxerxes II + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/pers_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/rome_catafalque.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/rome_catafalque.xml (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/rome_catafalque.xml (revision 19370) @@ -0,0 +1,9 @@ + + + catafalques/rome_catafalque_1 catafalques/rome_catafalque_2 + + rome + Lucius Junius Brutus + + + Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/other/catafalque/rome_catafalque.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property