Index: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_african.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_african.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_african.xml (nonexistent) @@ -1,28 +0,0 @@ - - - - - - 0.9 - 0.9 - - - - - 0.9 - - 0.9 - 0.9 - - - - 0.9 - - - African War Elephant - - - 0.9 - 0.9 - - Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_african.xml ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/xml \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_indian.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_indian.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_indian.xml (nonexistent) @@ -1,28 +0,0 @@ - - - - - - 1.1 - 1.1 - - - - - 1.1 - - 1.1 - 1.1 - - - - 1.1 - - - Indian War Elephant - - - 1.1 - 1.1 - - Property changes on: ps/trunk/binaries/data/mods/public/simulation/templates/template_unit_champion_elephant_melee_indian.xml ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/xml \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/art/variants/biped/female_base_walk.xml =================================================================== --- ps/trunk/binaries/data/mods/public/art/variants/biped/female_base_walk.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/art/variants/biped/female_base_walk.xml (revision 23810) @@ -1,14 +1,12 @@ - - - - - + + + Property changes on: ps/trunk/binaries/data/mods/public/art/variants/biped/female_base_walk.xml ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/xml \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/components/Identity.js =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/components/Identity.js (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/components/Identity.js (revision 23810) @@ -1,187 +1,187 @@ function Identity() {} Identity.prototype.Schema = "Specifies various names and values associated with the entity, typically for GUI display to users." + "" + "athen" + "Athenian Hoplite" + "Hoplī́tēs Athēnaïkós" + "units/athen_infantry_spearman.png" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "tokens" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "Basic" + "Advanced" + "Elite" + "" + "" + "" + "" + - "" + + "" + "" + "tokens" + "" + "" + "" + "" + "" + "" + "" + "tokens" + "" + "" + "" + "" + "" + "" + "" + "tokens" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + ""; Identity.prototype.Init = function() { this.classesList = GetIdentityClasses(this.template); this.visibleClassesList = GetVisibleIdentityClasses(this.template); if (this.template.Phenotype) this.phenotype = pickRandom(this.GetPossiblePhenotypes()); else this.phenotype = "default"; }; Identity.prototype.HasSomeFormation = function() { return this.GetFormationsList().length > 0; }; Identity.prototype.GetCiv = function() { return this.template.Civ; }; Identity.prototype.GetLang = function() { return this.template.Lang || "greek"; // ugly default }; /** * Get a list of possible Phenotypes. * @return {string[]} A list of possible phenotypes. */ Identity.prototype.GetPossiblePhenotypes = function() { return this.template.Phenotype._string.split(/\s+/); }; /** * Get the current Phenotype. * @return {string} The current phenotype. */ Identity.prototype.GetPhenotype = function() { return this.phenotype; }; Identity.prototype.GetRank = function() { return this.template.Rank || ""; }; Identity.prototype.GetClassesList = function() { return this.classesList; }; Identity.prototype.GetVisibleClassesList = function() { return this.visibleClassesList; }; Identity.prototype.HasClass = function(name) { return this.GetClassesList().indexOf(name) != -1; }; Identity.prototype.GetFormationsList = function() { if (this.template.Formations && this.template.Formations._string) return this.template.Formations._string.split(/\s+/); return []; }; Identity.prototype.CanUseFormation = function(template) { return this.GetFormationsList().indexOf(template) != -1; }; Identity.prototype.GetSelectionGroupName = function() { return this.template.SelectionGroupName || ""; }; Identity.prototype.GetGenericName = function() { return this.template.GenericName; }; Identity.prototype.IsUndeletable = function() { return this.template.Undeletable == "true"; }; Engine.RegisterComponentType(IID_Identity, "Identity", Identity); Index: ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_african.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_african.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_african.json (revision 23810) @@ -0,0 +1,21 @@ +{ + "autoResearch": true, + "tooltip": "African Elephants −10% resource costs, training time, health, attack damage, and loot.", + "modifications": [ + { "value": "Attack/Melee/Damage/Hack", "multiply": 0.9 }, + { "value": "Attack/Melee/Damage/Pierce", "multiply": 0.9 }, + { "value": "Attack/Melee/Damage/Crush", "multiply": 0.9 }, + { "value": "Cost/BuildTime", "multiply": 0.9 }, + { "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 }, + { "value": "Health/Max", "multiply": 0.9 }, + { "value": "Loot/food", "multiply": 0.9 }, + { "value": "Loot/wood", "multiply": 0.9 }, + { "value": "Loot/stone", "multiply": 0.9 }, + { "value": "Loot/metal", "multiply": 0.9 }, + { "value": "Loot/xp", "multiply": 0.9 } + ], + "affects": ["AfricanElephant"] +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_african.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_indian.json =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_indian.json (nonexistent) +++ ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_indian.json (revision 23810) @@ -0,0 +1,21 @@ +{ + "autoResearch": true, + "tooltip": "Indian Elephants +10% resource costs, training time, health, attack damage, and loot.", + "modifications": [ + { "value": "Attack/Melee/Damage/Hack", "multiply": 1.1 }, + { "value": "Attack/Melee/Damage/Pierce", "multiply": 1.1 }, + { "value": "Attack/Melee/Damage/Crush", "multiply": 1.1 }, + { "value": "Cost/BuildTime", "multiply": 1.1 }, + { "value": "Cost/Resources/food", "multiply": 1.1 }, + { "value": "Cost/Resources/wood", "multiply": 1.1 }, + { "value": "Cost/Resources/stone", "multiply": 1.1 }, + { "value": "Cost/Resources/metal", "multiply": 1.1 }, + { "value": "Health/Max", "multiply": 1.1 }, + { "value": "Loot/food", "multiply": 1.1 }, + { "value": "Loot/wood", "multiply": 1.1 }, + { "value": "Loot/stone", "multiply": 1.1 }, + { "value": "Loot/metal", "multiply": 1.1 }, + { "value": "Loot/xp", "multiply": 1.1 } + ], + "affects": ["IndianElephant"] +} Property changes on: ps/trunk/binaries/data/mods/public/simulation/data/technologies/unit_elephant_indian.json ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_champion_elephant.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_champion_elephant.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/cart_champion_elephant.xml (revision 23810) @@ -1,12 +1,13 @@ - + cart North African War Elephant Pil Malḥamit + AfricanElephant units/cart_champion_elephant.png units/carthaginians/elephantry_c_m.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/kush_champion_elephant.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/kush_champion_elephant.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/kush_champion_elephant.xml (revision 23810) @@ -1,12 +1,13 @@ - + kush Meroitic War Elephant Abore ʿhȝ + AfricanElephant units/kush_champion_elephant.png units/kushites/elephantry_c_m.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/maur_champion_elephant.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/maur_champion_elephant.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/maur_champion_elephant.xml (revision 23810) @@ -1,12 +1,13 @@ - + maur Indian War Elephant Gajendra + IndianElephant units/maur_champion_elephant.png units/mauryas/elephantry_c_m.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/pers_champion_elephant.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/pers_champion_elephant.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/pers_champion_elephant.xml (revision 23810) @@ -1,13 +1,14 @@ - + pers persian Indian War Elephant Pila Hinduya + IndianElephant units/pers_champion_elephant.png units/persians/elephantry_c_m.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/ptol_champion_elephant.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/ptol_champion_elephant.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/ptol_champion_elephant.xml (revision 23810) @@ -1,12 +1,13 @@ - + ptol Towered War Elephant Polémou Eléphantos + AfricanElephant units/ptol_champion_elephant.png units/ptolemies/elephantry_c_m.xml Index: ps/trunk/binaries/data/mods/public/simulation/templates/units/sele_champion_elephant.xml =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/templates/units/sele_champion_elephant.xml (revision 23809) +++ ps/trunk/binaries/data/mods/public/simulation/templates/units/sele_champion_elephant.xml (revision 23810) @@ -1,13 +1,14 @@ - + sele greek Armored War Elephant Thorakisménos Eléphantos + IndianElephant units/sele_champion_elephant.png units/seleucids/elephantry_c_m.xml