Ticket #4147: classescleanup.diff

File classescleanup.diff, 50.1 KB (added by fatherbushido, 8 years ago)

thx sanderd17 elexis and s0600204 for the remarks

  • binaries/data/mods/public/simulation/components/Identity.js

    Identity.prototype.Schema =  
    5757                "<value>Elite</value>" +
    5858            "</choice>" +
    5959        "</element>" +
    6060    "</optional>" +
    6161    "<optional>" +
    62         "<element name='Classes' a:help='Optional list of space-separated classes applying to this entity. Choices include: Unit, Infantry, Melee, Cavalry, Ranged, Mechanical, Ship, Siege, Champion, Hero, Elephant, Chariot, Mercenary, Spear, Sword, Bow, Javelin, Sling, Support, Animal, Domestic, Organic, Structure, Civic, CivCentre, Economic, Defensive, Gates, Wall, BarterMarket, Village, Town, City, ConquestCritical, Worker, Female, Healer, Slave, CitizenSoldier, Trade, Market, NavalMarket, Warship, SeaCreature, ForestPlant, DropsiteFood, DropsiteWood, DropsiteStone, DropsiteMetal, GarrisonTower, GarrisonFortress'>" +
     62        "<element name='Classes' a:help='Optional list of space-separated classes applying to this entity. Choices include: Animal, Apadana, ArmyCamp, Ashoka, BarterMarket, Celt, CitizenSoldier, CivCentre, Colony, ConquestCritical, Defensive, Domestic, DropsiteFood, DropsiteMetal, DropsiteStone, DropsiteWood, Elephant, Female, FishingBoat, ForestPlant, Fortress, GarrisonFortress, GarrisonTower, Gates, Human, Iberian, Immortal, Italian, Juggernaut, Kennel, Lighthouse, LongWall, MercenaryCamp, Naval, NavalMarket, Organic, Palace, Palisade, Player, PtolemyIV, SeaCreature, SiegeWall, SpecialBuilding, StoneWall, Structure, Syssiton, Theater, Tower, Unit, WoodenTower'>" +
    6363            "<attribute name='datatype'>" +
    6464                "<value>tokens</value>" +
    6565            "</attribute>" +
    6666            "<text/>" +
    6767        "</element>" +
    6868    "</optional>" +
    6969    "<optional>" +
    70         "<element name='VisibleClasses' a:help='Optional list of space-separated classes applying to this entity. These classes will also be visible in various GUI elements, if the classes need spaces. Underscores will be replaced with spaces.'>" +
     70        "<element name='VisibleClasses' a:help='Optional list of space-separated classes applying to this entity. These classes will also be visible in various GUI elements. If the classes need spaces, underscores will be replaced with spaces. Choices include: Archer, Barracks, Blacksmith, BoltShooter, Camel, Catapult, Cavalry, Champion, Chariot, Citizen, City, Civic, CivilCentre, Corral, DefenseTower, Dock, Dog, Economic, Embassy, Farmstead, Field, Fireship, Healer, Hero, House, Infantry, Javelin, Market, Mechanical, Melee, Mercenary, Military, Outpost, Pike, Ram, Ranged, Resource, Ship, Shipyard, Siege, SiegeTower, Slave, Sling, Soldier, Spear, Stables, Storehouse, Support, Sword, Temple, Town, Trader, Village, Warship, Wonder, Worker'>" +
    7171            "<attribute name='datatype'>" +
    7272                "<value>tokens</value>" +
    7373            "</attribute>" +
    7474            "<text/>" +
    7575        "</element>" +
  • binaries/data/mods/public/simulation/templates/campaigns/campaign_city_minor_test.xml

     
    2020    <Circle radius="26.0"/>
    2121    <Height>8.0</Height>
    2222  </Footprint>
    2323  <Identity>
    2424    <Civ>athen</Civ>
    25     <Classes datatype="tokens">Market</Classes>
     25    <VisibleClasses datatype="tokens">Market</VisibleClasses>
    2626    <GenericName>Settlement</GenericName>
    2727    <SpecificName>Minor Greek Polis</SpecificName>
    2828    <Tooltip>This is a minor Greek city.</Tooltip>
    2929  </Identity>
    3030  <Obstruction>
  • binaries/data/mods/public/simulation/templates/campaigns/campaign_city_test.xml

     
    2020    <Circle radius="26.0"/>
    2121    <Height>8.0</Height>
    2222  </Footprint>
    2323  <Identity>
    2424    <Civ>athen</Civ>
    25     <Classes datatype="tokens">Market</Classes>
     25    <VisibleClasses datatype="tokens">Market</VisibleClasses>
    2626    <GenericName>Settlement</GenericName>
    2727    <SpecificName>Greek Polis</SpecificName>
    2828    <Tooltip>This is a major Greek city.</Tooltip>
    2929  </Identity>
    3030  <Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/cart_super_dock.xml

     
    88  </BuildRestrictions>
    99  <Identity>
    1010    <Civ>cart</Civ>
    1111    <GenericName>Naval Shipyard</GenericName>
    1212    <SpecificName>Cothon</SpecificName>
    13     <Classes datatype="tokens">-City Town Shipyard</Classes>
     13    <VisibleClasses datatype="tokens">-City Shipyard Town</VisibleClasses>
    1414    <History>The structure is based upon the center island of the inner harbor constructed to house the war fleet of the Carthaginian navy at Carthage.</History>
    1515    <Tooltip>Construct and repair mighty warships.</Tooltip>
    1616    <Icon>structures/uber_dock.png</Icon>
    1717    <RequiredTechnology>phase_town</RequiredTechnology>
    1818  </Identity>
  • binaries/data/mods/public/simulation/templates/structures/maur_elephant_stables.xml

     
    2424    <GenericName>Elephant Stables</GenericName>
    2525    <SpecificName>Vāraṇaśālā</SpecificName>
    2626    <RequiredTechnology>phase_town</RequiredTechnology>
    2727    <Icon>structures/elephant_stables.png</Icon>
    2828    <Tooltip>Train elephant units.</Tooltip>
    29     <Classes datatype="tokens">
    30       -City
    31       Town
    32     </Classes>
     29    <VisibleClasses datatype="tokens">-City Town</VisibleClasses>
    3330  </Identity>
    3431  <Obstruction>
    3532    <Static width="30.0" depth="29.0"/>
    3633  </Obstruction>
    3734  <ProductionQueue>
  • binaries/data/mods/public/simulation/templates/structures/pers_apadana.xml

     
    2323  </Health>
    2424  <Identity>
    2525    <Civ>pers</Civ>
    2626    <GenericName>Persian Palace</GenericName>
    2727    <SpecificName>Apadana</SpecificName>
    28     <Classes datatype="tokens">
    29       Palace
    30       Apadana
    31     </Classes>
     28    <Classes datatype="tokens">Palace Apadana</Classes>
    3229    <History>The term Apadana designates a large hypostyle palace found in Persia. The best known example, and by far the largest, was the great Apadana at Persepolis. Functioning as the empire's central audience hall, the palace is famous for the reliefs of the tribute-bearers and of the army, including the Immortals. The annual tribute that the Persians received from their satrapies and vassal states, as regularised by Darius the Great, accounted for incredible annual revenue.</History>
    3330    <Icon>structures/palace.png</Icon>
    3431    <Tooltip>"Satrapy Tribute": Gain a trickle of food, wood, stone, and metal resources. Train Persian heroes and their "Immortals" bodyguards.</Tooltip>
    3532  </Identity>
    3633  <Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/pers_palace.xml

     
    2020  </Health>
    2121  <Identity>
    2222    <Civ>pers</Civ>
    2323    <GenericName>Persian Palace</GenericName>
    2424    <SpecificName>Taçara</SpecificName>
    25     <Classes datatype="tokens">
    26       Palace
    27     </Classes>
     25    <Classes datatype="tokens">Palace</Classes>
    2826    <Icon>structures/palace.png</Icon>
    2927  </Identity>
    3028  <Obstruction>
    3129    <Static width="38.5" depth="22.5"/>
    3230  </Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/pers_stables.xml

     
    3434      -units/{civ}_infantry_slinger_b
    3535      -units/{civ}_infantry_archer_b
    3636    </Entities>
    3737    <Technologies datatype="tokens">
    3838      -training_conscription
    39       persians/training_levy_cavalry     
     39      persians/training_levy_cavalry
    4040      persians/training_conscription_cavalry
    4141      successors/special_war_horses
    4242    </Technologies>
    4343  </ProductionQueue>
    4444  <Sound>
  • binaries/data/mods/public/simulation/templates/structures/ptol_lighthouse.xml

     
    1414  </Health>
    1515  <Identity>
    1616    <Civ>ptol</Civ>
    1717    <GenericName>Lighthouse</GenericName>
    1818    <SpecificName>Pháros</SpecificName>
    19     <Classes datatype="tokens">Lighthouse Town -City -ConquestCritical</Classes>
     19    <Classes datatype="tokens">-ConquestCritical Lighthouse</Classes>
     20    <VisibleClasses datatype="tokens">-City Town</VisibleClasses>
    2021    <Tooltip>Build along the shore to reveal the shorelines over the entire map. Very large vision range: 180 meters.</Tooltip>
    2122    <History>The Ptolemaic dynasty in Egypt built the magnificent Lighthouse of Alexandria near the harbor mouth of that Nile Delta city. This structure could be seen for many kilometers out to sea and was one of the Seven Wonders of the World.</History>
    2223    <Icon>structures/lighthouse.png</Icon>
    2324    <RequiredTechnology>phase_town</RequiredTechnology>
    2425  </Identity>
  • binaries/data/mods/public/simulation/templates/structures/rome_army_camp.xml

     
    5656  </Health>
    5757  <Identity>
    5858    <Civ>rome</Civ>
    5959    <GenericName>Entrenched Army Camp</GenericName>
    6060    <SpecificName>Castrum Vallum</SpecificName>
    61     <Classes datatype="tokens">
    62       ArmyCamp
    63     </Classes>
     61    <Classes datatype="tokens">ArmyCamp</Classes>
    6462    <Icon>structures/roman_camp.png</Icon>
    6563    <Tooltip>Build anywhere on the map, even in enemy territory. Construct siege weapons and train citizen-soldiers. Heal garrisoned units slowly.</Tooltip>
    6664    <History>Sometimes it was a temporary camp built facing the route by which the army is to march, other times a defensive or offensive (for sieges) structure. Within this gate the tents of the first centuries or cohorts are pitched, and the dragons (ensigns of cohorts) and other ensigns planted. The Decumane gate is directly opposite to the Praetorian in the rear of the camp, and through this the soldiers are conducted to the place appointed for punishment or execution.</History>
    6765  </Identity>
    6866  <Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/rome_siege_wall_gate.xml

     
    2222  </Health>
    2323  <Identity>
    2424    <Civ>rome</Civ>
    2525    <GenericName>Siege Wall Gate</GenericName>
    2626    <SpecificName>Porta Circummunitionis</SpecificName>
    27     <Classes datatype="tokens">
    28       SiegeWall
    29     </Classes>
     27    <Classes datatype="tokens">SiegeWall</Classes>
    3028    <History>Quick building, but expensive wooden and earthen walls used to surround and siege an enemy town or fortified position. The most famous examples are the Roman sieges of the Iberian stronghold of Numantia and the Gallic stronghold of Alesia.</History>
    31     <Icon>structures/wooden_gate.png</Icon>
     29    <Icon>structures/wooden_gate.png</Icon>
    3230  </Identity>
    3331  <Obstruction>
    3432    <Obstructions>
    3533      <Right width="13" depth="5" x="12" z="0"/>
    3634      <Left width="13" depth="5" x="-12" z="0"/>
  • binaries/data/mods/public/simulation/templates/structures/rome_siege_wall_long.xml

     
    4848  <Identity>
    4949    <Civ>rome</Civ>
    5050    <SelectionGroupName>structures/rome_wallset_siege</SelectionGroupName>
    5151    <GenericName>Siege Wall</GenericName>
    5252    <SpecificName>Murus Circummunitionis</SpecificName>
    53     <Classes datatype="tokens">
    54       SiegeWall
    55     </Classes>
     53    <Classes datatype="tokens">SiegeWall</Classes>
    5654    <Icon>structures/palisade_wall.png</Icon>
    5755    <Tooltip>A wooden and turf palisade buildable in enemy and neutral territories.</Tooltip>
    5856    <History>Quick building, but expensive wooden and earthen walls used to surround and siege an enemy town or fortified position. The most famous examples are the Roman sieges of the Iberian stronghold of Numantia and the Gallic stronghold of Alesia.</History>
    5957  </Identity>
    6058  <Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/rome_siege_wall_medium.xml

     
    3939      </Archer3>
    4040    </VisibleGarrisonPoints>
    4141  </GarrisonHolder>
    4242  <Identity>
    4343    <Civ>rome</Civ>
    44     <SelectionGroupName>structures/rome_wallset_siege</SelectionGroupName>
    45     <GenericName>Siege Wall</GenericName>
     44    <SelectionGroupName>structures/rome_wallset_siege</SelectionGroupName>
     45    <GenericName>Siege Wall</GenericName>
    4646    <SpecificName>Murus Circummunitionis</SpecificName>
    47     <Classes datatype="tokens">
    48       SiegeWall
    49     </Classes>
     47    <Classes datatype="tokens">SiegeWall</Classes>
    5048    <Icon>structures/palisade_wall.png</Icon>
    51     <Tooltip>A wooden and turf palisade buildable in enemy and neutral territories.</Tooltip>
     49    <Tooltip>A wooden and turf palisade buildable in enemy and neutral territories.</Tooltip>
    5250    <History>Quick building, but expensive wooden and earthen walls used to surround and siege an enemy town or fortified position. The most famous examples are the Roman sieges of the Iberian stronghold of Numantia and the Gallic stronghold of Alesia.</History>
    5351  </Identity>
    5452  <Obstruction>
    5553    <Static width="25.0" depth="5.0"/>
    5654  </Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/rome_siege_wall_short.xml

     
    2626  <Health>
    2727    <Max op="mul">0.75</Max>
    2828  </Health>
    2929  <Identity>
    3030    <Civ>rome</Civ>
    31     <SelectionGroupName>structures/rome_wallset_siege</SelectionGroupName>
    32     <GenericName>Siege Wall</GenericName>
     31    <SelectionGroupName>structures/rome_wallset_siege</SelectionGroupName>
     32    <GenericName>Siege Wall</GenericName>
    3333    <SpecificName>Murus Circummunitionis</SpecificName>
    34     <Classes datatype="tokens">
    35       SiegeWall
    36     </Classes>
     34    <Classes datatype="tokens">SiegeWall</Classes>
    3735    <Icon>structures/palisade_wall.png</Icon>
    38     <Tooltip>A wooden and turf palisade buildable in enemy and neutral territories.</Tooltip>
     36    <Tooltip>A wooden and turf palisade buildable in enemy and neutral territories.</Tooltip>
    3937    <History>Quick building, but expensive wooden and earthen walls used to surround and siege an enemy town or fortified position. The most famous examples are the Roman sieges of the Iberian stronghold of Numantia and the Gallic stronghold of Alesia.</History>
    4038  </Identity>
    4139  <Obstruction>
    4240    <Static width="13.0" depth="5.0"/>
    4341  </Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/rome_siege_wall_tower.xml

     
    2626  <Health>
    2727    <Max op="mul">0.75</Max>
    2828  </Health>
    2929  <Identity>
    3030    <Civ>rome</Civ>
    31     <GenericName>Siege Wall Tower</GenericName>
     31    <GenericName>Siege Wall Tower</GenericName>
    3232    <SpecificName>Turris Circummunitionis</SpecificName>
     33    <Classes datatype="tokens">SiegeWall</Classes>
    3334  </Identity>
    3435  <Obstruction>
    3536    <Static width="7.0" depth="7.0"/>
    3637  </Obstruction>
    3738  <TerritoryDecay>
  • binaries/data/mods/public/simulation/templates/structures/spart_syssiton.xml

     
    1818  </Health>
    1919  <Identity>
    2020    <Civ>spart</Civ>
    2121    <GenericName>Military Mess Hall</GenericName>
    2222    <SpecificName>Syssítion</SpecificName>
    23     <Classes datatype="tokens">
    24       Syssiton
    25     </Classes>
     23    <Classes datatype="tokens">Syssiton</Classes>
    2624    <Tooltip>Train Spartan heroes and Spartiate champion hoplites.</Tooltip>
    2725    <History>The Syssítia were where full-blooded Spartans, even Spartan kings, were barracked and dined together.</History>
    2826    <Icon>structures/gymnasion.png</Icon>
    2927  </Identity>
    3028  <Obstruction>
  • binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre_military_colony.xml

     
    4242    <Max>2000</Max>
    4343    <SpawnEntityOnDeath>rubble/rubble_stone_5x5</SpawnEntityOnDeath>
    4444  </Health>
    4545  <Identity>
    4646    <GenericName>Military Colony</GenericName>
    47     <SpecificName>Klēroukhía</SpecificName>
    48     <Classes datatype="tokens">Town Colony</Classes>
     47    <SpecificName>Klēroukhía</SpecificName>
     48    <Classes datatype="tokens">Colony</Classes>
     49    <VisibleClasses datatype="tokens">Town</VisibleClasses>
    4950    <Icon>structures/military_settlement.png</Icon>
    5051    <RequiredTechnology>phase_town</RequiredTechnology>
    5152  </Identity>
    5253  <Obstruction>
    5354    <Static width="23.0" depth="23.0"/>
  • binaries/data/mods/public/simulation/templates/template_structure_defense.xml

     
    1010      <Crush>1.0</Crush>
    1111    </Foundation>
    1212  </Armour>
    1313  <Identity>
    1414    <GenericName>Defensive Structure</GenericName>
    15     <VisibleClasses datatype="tokens">Defensive</VisibleClasses>
     15    <Classes datatype="tokens">Defensive</Classes>
    1616  </Identity>
    1717</Entity>
  • binaries/data/mods/public/simulation/templates/template_structure_defense_wallset.xml

     
    44     gates, wall segments of various length, etc.) using the WallSet component (to be overridden by child
    55     templates). -->
    66<Entity>
    77  <Identity>
    88    <Icon>structures/wall.png</Icon>
    9     <Classes datatype="tokens">Town StoneWall</Classes>
     9    <Classes datatype="tokens">StoneWall</Classes>
     10    <VisibleClasses datatype="tokens">Town</VisibleClasses>
    1011    <GenericName>City Wall</GenericName>
    1112    <Tooltip>Wall off your town for a stout defense.</Tooltip>
    1213    <RequiredTechnology>phase_town</RequiredTechnology>
    1314  </Identity>
    1415  <WallSet>
  • binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml

     
    6060    <SpawnEntityOnDeath>rubble/rubble_stone_6x6</SpawnEntityOnDeath>
    6161  </Health>
    6262  <Identity>
    6363    <GenericName>Fortress</GenericName>
    6464    <Tooltip>Train heroes, champions, and siege weapons. Research siege weapon improvements.</Tooltip>
    65     <Classes datatype="tokens">GarrisonFortress</Classes>
    66     <VisibleClasses datatype="tokens">Defensive City Fortress</VisibleClasses>
     65    <Classes datatype="tokens">Defensive Fortress GarrisonFortress</Classes>
     66    <VisibleClasses datatype="tokens">City</VisibleClasses>
    6767    <Icon>structures/fortress.png</Icon>
    6868    <RequiredTechnology>phase_city</RequiredTechnology>
    6969  </Identity>
    7070  <Loot>
    7171    <xp>100</xp>
  • binaries/data/mods/public/simulation/templates/template_structure_special.xml

     
    3939    <SpawnEntityOnDeath>rubble/rubble_stone_6x6</SpawnEntityOnDeath>
    4040  </Health>
    4141  <Identity>
    4242    <GenericName>Special Building</GenericName>
    4343    <Tooltip>This is a special building unique to a particular civilization.</Tooltip>
    44     <Classes datatype="tokens">
    45       City
    46       SpecialBuilding
    47     </Classes>
     44    <Classes datatype="tokens">SpecialBuilding</Classes>
     45    <VisibleClasses datatype="tokens">City</VisibleClasses>
    4846    <Icon>.png</Icon>
    4947    <RequiredTechnology>phase_city</RequiredTechnology>
    5048  </Identity>
    5149  <Obstruction>
    5250    <Static width="24.0" depth="24.0"/>
  • binaries/data/mods/public/simulation/templates/template_structure_wonder.xml

     
    4444    <SpawnEntityOnDeath>rubble/rubble_stone_6x6</SpawnEntityOnDeath>
    4545  </Health>
    4646  <Identity>
    4747    <GenericName>Wonder</GenericName>
    4848    <Tooltip>Bring glory to your civilization and add large tracts of land to your empire.</Tooltip>
    49     <Classes datatype="tokens">City Wonder</Classes>
     49    <VisibleClasses datatype="tokens">City Wonder</VisibleClasses>
    5050    <Icon>structures/wonder.png</Icon>
    5151    <RequiredTechnology>phase_city</RequiredTechnology>
    5252  </Identity>
    5353  <Loot>
    5454    <xp>200</xp>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_elephant.xml

     
    2121  </Footprint>
    2222  <Health>
    2323    <Max>750</Max>
    2424  </Health>
    2525  <Identity>
    26     <VisibleClasses datatype="tokens">Elephant</VisibleClasses>
     26    <Classes datatype="tokens">Elephant</Classes>
    2727    <GenericName>War Elephant</GenericName>
    2828    <Icon>gaia/fauna_elephant.png</Icon>
    2929    <History>War elephants were used by many Eastern and African cultures.</History>
    3030  </Identity>
    3131  <Position>
  • binaries/data/mods/public/simulation/templates/template_unit_champion_ranged.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_champion">
    33  <Identity>
    44    <GenericName>Champion Ranged</GenericName>
    5     <Classes datatype="tokens">Ranged</Classes>
     5    <VisibleClasses datatype="tokens">Ranged</VisibleClasses>
    66    <Formations datatype="tokens">
    77      formations/skirmish
    88    </Formations>
    99  </Identity>
    1010  <Sound>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_javelinist.xml

     
    2727  </Footprint>
    2828  <Health>
    2929    <Max>1500</Max>
    3030  </Health>
    3131  <Identity>
    32     <Classes datatype="tokens">Hero</Classes>
     32    <VisibleClasses datatype="tokens">Javelin Ranged</VisibleClasses>
    3333    <GenericName>Hero Cavalry Skirmisher</GenericName>
    3434    <RequiredTechnology>phase_city</RequiredTechnology>
    3535    <Formations datatype="tokens">
    3636      formations/skirmish
    3737    </Formations>
  • binaries/data/mods/public/simulation/templates/template_unit_hero_elephant_melee.xml

     
    4242  </Footprint>
    4343  <Health>
    4444    <Max>2000</Max>
    4545  </Health>
    4646  <Identity>
    47     <VisibleClasses datatype="tokens">Elephant Melee</VisibleClasses>
     47    <Classes datatype="tokens">Elephant</Classes>
     48    <VisibleClasses datatype="tokens">Melee</VisibleClasses>
    4849  </Identity>
    4950  <Sound>
    5051    <SoundGroups>
    5152      <select>actor/fauna/animal/elephant_select.xml</select>
    5253      <order_walk>actor/fauna/animal/elephant_order.xml</order_walk>
  • binaries/data/mods/public/simulation/templates/template_unit_infantry.xml

     
    5757  <Health>
    5858    <Max>80</Max>
    5959  </Health>
    6060  <Identity>
    6161    <GenericName>Infantry</GenericName>
    62     <Classes datatype="tokens">CitizenSoldier Worker Human Organic</Classes>
    63     <VisibleClasses datatype="tokens">Infantry Citizen Soldier</VisibleClasses>
     62    <Classes datatype="tokens">CitizenSoldier Human Organic</Classes>
     63    <VisibleClasses datatype="tokens">Citizen Infantry Soldier Worker</VisibleClasses>
    6464    <Rank>Basic</Rank>
    6565  </Identity>
    6666  <Loot>
    6767    <xp>100</xp>
    6868    <food>5</food>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_ship_bireme.xml

     
    1515  </Attack>
    1616  <BuildingAI>
    1717    <DefaultArrowCount>2</DefaultArrowCount>
    1818    <MaxArrowCount>10</MaxArrowCount>
    1919    <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
    20     <GarrisonArrowClasses>Infantry Ranged</GarrisonArrowClasses>
     20    <GarrisonArrowClasses>Infantry Ranged</GarrisonArrowClasses>
    2121  </BuildingAI>
    2222  <Cost>
    2323    <Population>2</Population>
    2424    <BuildTime>20</BuildTime>
    2525    <Resources>
     
    4343  <Health>
    4444    <Max>800</Max>
    4545  </Health>
    4646  <Identity>
    4747    <GenericName>Light Warship</GenericName>
    48     <Classes datatype="tokens">Warship Light Bow Ranged</Classes>
     48    <VisibleClasses datatype="tokens">Ranged Warship</VisibleClasses>
    4949    <RequiredTechnology>phase_town</RequiredTechnology>
    5050    <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
    5151  </Identity>
    5252  <ResourceGatherer disable=""/>
    5353  <Sound>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_ship_fire.xml

     
    2828      <heavydamage>0.35</heavydamage>
    2929    </DamageVariants>
    3030  </Health>
    3131  <Identity>
    3232    <GenericName>Fire Ship</GenericName>
    33     <Classes datatype="tokens">Warship Fireship Melee</Classes>
     33    <VisibleClasses datatype="tokens">Fireship Melee Warship</VisibleClasses>
    3434    <Tooltip>Rapidly drain the health of enemy ships. Slowly loses health due to being on fire, so use the Fire Ship quickly.</Tooltip>
    35     <RequiredTechnology>phase_town</RequiredTechnology>
     35    <RequiredTechnology>phase_town</RequiredTechnology>
    3636  </Identity>
    3737  <StatusBars>
    3838    <BarWidth>6.0</BarWidth>
    3939    <BarHeight>0.5</BarHeight>
    4040    <HeightOffset>6.0</HeightOffset>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_ship_quinquereme.xml

     
    5353    <Max>2000</Max>
    5454  </Health>
    5555  <Identity>
    5656    <GenericName>Heavy Warship</GenericName>
    5757    <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
    58     <Classes datatype="tokens">Warship Heavy Ranged</Classes>
    59     <RequiredTechnology>phase_city</RequiredTechnology>
     58    <VisibleClasses datatype="tokens">Ranged Warship</VisibleClasses>
     59    <RequiredTechnology>phase_city</RequiredTechnology>
    6060  </Identity>
    6161  <Sound>
    6262    <SoundGroups>
    6363      <attack>attack/siege/ballist_attack.xml</attack>
    6464    </SoundGroups>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_ship_trireme.xml

     
    1515  </Attack>
    1616  <BuildingAI>
    1717    <DefaultArrowCount>3</DefaultArrowCount>
    1818    <MaxArrowCount>13</MaxArrowCount>
    1919    <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
    20     <GarrisonArrowClasses>Infantry Ranged</GarrisonArrowClasses>
     20    <GarrisonArrowClasses>Infantry Ranged</GarrisonArrowClasses>
    2121  </BuildingAI>
    2222  <Cost>
    2323    <Population>3</Population>
    2424    <BuildTime>25</BuildTime>
    2525    <Resources>
     
    4343  <Health>
    4444    <Max>1400</Max>
    4545  </Health>
    4646  <Identity>
    4747    <GenericName>Medium Warship</GenericName>
    48     <VisibleClasses datatype="tokens">Warship Medium Ranged</VisibleClasses>
     48    <VisibleClasses datatype="tokens">Ranged Warship</VisibleClasses>
    4949    <RequiredTechnology>phase_town</RequiredTechnology>
    5050    <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
    5151  </Identity>
    5252  <ResourceGatherer disable=""/>
    5353  <Sound>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_ballista.xml

     
    3636  <Health>
    3737    <Max>100</Max>
    3838  </Health>
    3939  <Identity>
    4040    <GenericName>Bolt Shooter</GenericName>
    41     <Classes datatype="tokens">BoltShooter Ranged</Classes>
     41    <VisibleClasses datatype="tokens">BoltShooter Ranged</VisibleClasses>
    4242  </Identity>
    4343  <Loot>
    4444    <xp>200</xp>
    4545    <food>0</food>
    4646    <wood>10</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_onager.xml

     
    4343  <Health>
    4444    <Max>100</Max>
    4545  </Health>
    4646  <Identity>
    4747    <GenericName>Siege Catapult</GenericName>
    48     <Classes datatype="tokens">Ranged Catapult</Classes>
     48    <VisibleClasses datatype="tokens">Catapult Ranged</VisibleClasses>
    4949  </Identity>
    5050  <Loot>
    5151    <xp>300</xp>
    5252    <food>0</food>
    5353    <wood>20</wood>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_ram.xml

     
    3434  <Health>
    3535    <Max>400</Max>
    3636  </Health>
    3737  <Identity>
    3838    <GenericName>Battering Ram</GenericName>
    39     <Classes datatype="tokens">Melee Ram</Classes>
     39    <VisibleClasses datatype="tokens">Melee Ram</VisibleClasses>
    4040  </Identity>
    4141  <Sound>
    4242    <SoundGroups>
    4343      <select>attack/siege/siege_select.xml</select>
    4444      <order_walk>attack/siege/ram_move.xml</order_walk>
    4545      <order_attack>attack/siege/ram_attack_order.xml</order_attack>
    46       <trained>attack/siege/ram_move.xml</trained>
    47       <attack>attack/siege/ram_attack.xml</attack>
     46      <trained>attack/siege/ram_move.xml</trained>
     47      <attack>attack/siege/ram_attack.xml</attack>
    4848    </SoundGroups>
    4949  </Sound>
    5050  <StatusBars>
    5151    <BarWidth>4.0</BarWidth>
    5252    <BarHeight>0.5</BarHeight>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_tower.xml

     
    5252  <Health>
    5353    <Max>500</Max>
    5454  </Health>
    5555  <Identity>
    5656    <GenericName>Siege Tower</GenericName>
    57     <Classes datatype="tokens">Ranged SiegeTower</Classes>
     57    <VisibleClasses datatype="tokens">SiegeTower Ranged</VisibleClasses>
    5858    <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
    5959  </Identity>
    6060  <Selectable>
    6161    <Overlay>
    6262      <Texture>
  • binaries/data/mods/public/simulation/templates/template_unit_support_female_citizen.xml

     
    3939  <Health>
    4040    <Max>25</Max>
    4141  </Health>
    4242  <Identity>
    4343    <GenericName>Female Citizen</GenericName>
    44     <Gender>female</Gender>
     44    <Gender>female</Gender>
    4545    <History>Women in the ancient world took on a variety of roles - from leadership (Celts) to servant (Greeks). Women are hard workers, the economic backbone of any civilization. In history, it was typical when all the males (capable of fighting) were killed for the females, children, and elderly to be sold as slaves.</History>
    46     <Classes datatype="tokens">Worker Female Citizen</Classes>
     46    <Classes datatype="tokens">Female</Classes>
     47    <VisibleClasses datatype="tokens">Citizen Worker</VisibleClasses>
    4748    <Formations disable=""/>
    4849  </Identity>
    4950  <ResourceGatherer>
    5051    <MaxDistance>2.0</MaxDistance>
    5152    <BaseSpeed>1.0</BaseSpeed>
  • binaries/data/mods/public/simulation/templates/template_unit_support_healer.xml

     
    1414  </Heal>
    1515  <Health>
    1616    <Max>85</Max>
    1717  </Health>
    1818  <Identity>
    19     <Classes datatype="tokens">Healer</Classes>
     19    <VisibleClasses datatype="tokens">Healer</VisibleClasses>
    2020    <GenericName>Healer</GenericName>
    2121    <Tooltip>Heal units.</Tooltip>
    2222    <Rank>Basic</Rank>
    2323  </Identity>
    2424  <Promotion>
  • binaries/data/mods/public/simulation/templates/units/athen_infantry_marine_archer_b.xml

     
    1717  </Cost>
    1818  <Identity>
    1919    <Civ>athen</Civ>
    2020    <Lang>greek</Lang>
    2121    <SelectionGroupName>units/athen_infantry_marine_archer_b</SelectionGroupName>
    22     <Classes datatype="tokens">Mercenary</Classes>
     22    <VisibleClasses datatype="tokens">Mercenary</VisibleClasses>
    2323    <GenericName>Cretan Mercenary Archer</GenericName>
    2424    <SpecificName>Toxótēs Krētikós</SpecificName>
    2525    <History>Mercenary archers from the big island of Crete. They were widely regarded as the best archers in all of Hellas and had a long tradition of hiring themselves out to Hellenic states such as Athens for use aboard Triremes naval vessels. Alexander hired them to accompany him on his world conquest march and while in his service they dueled admirably with the greatly feared eastern archers.</History>
    2626    <Icon>units/hele_infantry_archer.png</Icon>
    2727    <RequiredTechnology>hellenes/special_iphicratean_reforms</RequiredTechnology>
  • binaries/data/mods/public/simulation/templates/units/brit_champion_cavalry.xml

     
    44    <Square width="10.0" depth="10.0"/>
    55    <Height>5.0</Height>
    66  </Footprint>
    77  <Identity>
    88    <Civ>brit</Civ>
    9     <Classes datatype="tokens">Chariot</Classes>
    10     <GenericName>Celtic Chariot</GenericName>
     9    <VisibleClasses datatype="tokens">Chariot</VisibleClasses>
     10    <GenericName>Celtic Chariot</GenericName>
    1111    <SpecificName>Carbanto</SpecificName>
    12     <SelectionGroupName>units/brit_champion_cavalry</SelectionGroupName>
     12    <SelectionGroupName>units/brit_champion_cavalry</SelectionGroupName>
    1313    <History>The Britons were one of the last European peoples to use two-horse chariots in combat. They had two iron-rimmed wheels and a flat riding platform that typically carried a driver and a warrior. Useless as shock weapons against tightly packed troops, they were useful for running down individual soldiers and as a stable mount to launch javelins from. The heads of defeated opponents often adorned the chassis to show the warrior's prowess.</History>
    1414    <Icon>units/celt_champion_cavalry_brit.png</Icon>
    1515  </Identity>
    1616  <VisualActor>
    1717    <Actor>units/celts/champion_unit_4.xml</Actor>
  • binaries/data/mods/public/simulation/templates/units/brit_hero_boudicca.xml

     
    66    <Height>5.0</Height>
    77  </Footprint>
    88  <Identity>
    99    <Civ>brit</Civ>
    1010    <Gender>female</Gender>
    11     <Classes datatype="tokens">Chariot</Classes>
     11    <VisibleClasses datatype="tokens">Chariot</VisibleClasses>
    1212    <SpecificName>Boudicca</SpecificName>
    1313    <History>Ammianus Marcellinus described how difficult it would be for a band of foreigners to deal with a Celt if he called in the help of his wife. For she was stronger than he was and could rain blows and kicks upon the assailants equal in force to the shots of a catapult. Boudicca, queen of the Iceni, was said to be 'very tall and terrifying in appearance; her voice was very harsh and a great mass of red hair fell over her shoulders. She wore a tunic of many colors over which a thick cloak was fastened by a brooch.</History>
    1414    <Icon>units/celt_hero_boudicca.png</Icon>
    1515  </Identity>
    1616  <VisualActor>
  • binaries/data/mods/public/simulation/templates/units/cart_support_trader.xml

     
    44    <Circle radius="2.0"/>
    55    <Height>7.5</Height>
    66  </Footprint>
    77  <Identity>
    88    <Civ>cart</Civ>
    9     <Classes datatype="tokens">Camel</Classes>
    109    <SpecificName>Mekir</SpecificName>
    1110    <History>Of all the merchants of the ancient world, the Carthaginians were the most traveled. Their vast fleet of trading ships went as far as Britain and down the coast of West Africa. Culturally sensitive, the Carthaginians would make allowances for the particular customs of their trading partners, some transactions taking place without direct contact or negotiation. Thanks to the long voyages of Carthaginian merchants much territory was explored and even colonized.</History>
    1211    <Icon>units/cart_support_trader.png</Icon>
    1312  </Identity>
    1413  <Sound>
  • binaries/data/mods/public/simulation/templates/units/maur_elephant_archer_b.xml

     
    88    <Height>8.0</Height>
    99  </Footprint>
    1010  <ResourceGatherer disable=""/>
    1111  <Identity>
    1212    <Civ>maur</Civ>
    13     <VisibleClasses datatype="tokens">Elephant -Cavalry</VisibleClasses>
     13    <Classes datatype="tokens">Elephant</Classes>
     14    <VisibleClasses datatype="tokens">-Cavalry</VisibleClasses>
    1415    <SelectionGroupName>units/maur_elephant_archer_b</SelectionGroupName>
    1516    <GenericName>Elephant Archer</GenericName>
    1617    <SpecificName>Vachii Gaja</SpecificName>
    1718    <Icon>units/maur_cavalry_archer.png</Icon>
    1819    <Tooltip>Can run amok.</Tooltip>
  • binaries/data/mods/public/simulation/templates/units/maur_hero_chanakya.xml

     
    2424  <Health>
    2525    <Max>600</Max>
    2626  </Health>
    2727  <Identity>
    2828    <Civ>maur</Civ>
    29     <Classes datatype="tokens">Human Organic Support</Classes>
    30     <VisibleClasses datatype="tokens">Hero Healer</VisibleClasses>
     29    <Classes datatype="tokens">Human Organic</Classes>
     30    <VisibleClasses datatype="tokens">Healer Hero Support</VisibleClasses>
    3131    <GenericName>Acharya Chanakya</GenericName>
    3232    <SpecificName>Acharya Chāṇakya</SpecificName>
    3333    <Icon>units/maur_hero_chanakya.png</Icon>
    3434    <RequiredTechnology>phase_city</RequiredTechnology>
    3535  </Identity>
  • binaries/data/mods/public/simulation/templates/units/pers_hero_darius.xml

     
    66    <Height>5.0</Height>
    77  </Footprint>
    88  <Identity>
    99    <Civ>pers</Civ>
    1010    <VisibleClasses datatype="tokens">Chariot</VisibleClasses>
    11     <GenericName>Darius The Great</GenericName>
     11    <GenericName>Darius The Great</GenericName>
    1212    <SpecificName>Darayavahush I</SpecificName>
    1313    <Icon>units/pers_hero_darius.png</Icon>
    14     <Tooltip>Hero Aura: "Merchant of the Empire." Boosts profitablity of trade during his lifetime (TBD).</Tooltip>
     14    <Tooltip>Hero Aura: "Merchant of the Empire." Boosts profitablity of trade during his lifetime (TBD).</Tooltip>
    1515    <History>(King, 521 BC - 486 BC) The son of Vishtaspa (Hystaspes), the satrap of Parthia and Hyrcania; a great administrator as well as a decent general, Darius introduced the division of the empire into satrapies and conquered NW India, Thrace and Macedonia. He was called the 'Merchant of the Empire'.</History>
    1616  </Identity>
    1717  <Loot>
    1818    <xp>300</xp>
    1919    <food>0</food>
  • binaries/data/mods/public/simulation/templates/units/pers_hero_xerxes_chariot.xml

     
    55    <Square width="6.0" depth="12.0"/>
    66    <Height>5.0</Height>
    77  </Footprint>
    88  <Identity>
    99    <Civ>pers</Civ>
    10     <Classes datatype="tokens">Chariot</Classes>
    11     <GenericName>Xerxes I</GenericName>
     10    <VisibleClasses datatype="tokens">Chariot</VisibleClasses>
     11    <GenericName>Xerxes I</GenericName>
    1212    <SpecificName>Xsayarsa I</SpecificName>
    1313    <Icon>units/pers_hero_xerxes.png</Icon>
    1414    <History>(King, 485 BC - 465 BC) The son of Darius the Great and Atoosa, a daughter of Cyrus the Great, Xerxes was an able administrator, who also extended Imperial rule into Chorasmia. Apart from his failed invasion of Greece, he was famous for his extensive building program, especially at Persepolis.</History>
    1515  </Identity>
    1616  <Loot>
  • binaries/data/mods/public/simulation/templates/units/pers_support_trader.xml

     
    44    <Circle radius="2.0"/>
    55    <Height>7.5</Height>
    66  </Footprint>
    77  <Identity>
    88    <Civ>pers</Civ>
    9     <Classes datatype="tokens">Camel</Classes>
    10     <GenericName>Aramaean Merchant</GenericName>
     9    <GenericName>Aramaean Merchant</GenericName>
    1110    <SpecificName>Tamkarum Arami</SpecificName>
    1211    <History>Merchants were the working corps of the Persian economy, moving goods from one end of the vast empire to the other. Commodities included linen, carpets, perfume, cotton, salt, fruit, and even pearls. Thanks to the Aramaeans, the main language of Mesopotamia and in all directions from it was Aramaic, making trade simple. The language was eventually taken on as the official language of the Empire.</History>
    1312    <Icon>units/pers_support_trader.png</Icon>
    1413    <Tooltip>Trade resources between your own markets and those of your allies. Persians have a +25% land trading bonus.</Tooltip>
    1514  </Identity>
  • binaries/data/mods/public/simulation/templates/units/ptol_champion_juggernaut.xml

     
    1515  <Health>
    1616    <Max>4000</Max>
    1717  </Health>
    1818  <Identity>
    1919    <Civ>ptol</Civ>
    20     <GenericName>Juggernaut</GenericName>
     20    <GenericName>Juggernaut</GenericName>
    2121    <SpecificName>Tessarakonterēs</SpecificName>
    2222    <Classes datatype="tokens">Juggernaut</Classes>
    2323    <Icon>units/rome_ship_quinquereme.png</Icon>
    2424  </Identity>
    2525  <TrainingRestrictions>
  • binaries/data/mods/public/simulation/templates/units/sele_cavalry_archer_b.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_cavalry_ranged_archer">
    33  <Identity>
    44    <Civ>sele</Civ>
    55    <Lang>greek</Lang>
    6     <VisibleClasses datatype="tokens">Camel</VisibleClasses>
    76    <SelectionGroupName>units/sele_cavalry_archer_b</SelectionGroupName>
    87    <GenericName>Dahae Horse Archer</GenericName>
    98    <SpecificName>Hippotoxotès Dahae</SpecificName>
    109    <History>The Dahae or Dahaeans were a confederacy of three Ancient Iranian tribes who lived in the region to the immediate east of the Caspian Sea. They spoke an Eastern Iranian language. Known as the Dāha to the Persians, they were a staple of many Persian armies until the fall of the Achaemenid Empire. Later they freely joined the armies of Alexander as he invaded India and the armies of the Seleucids in their many battles with the other Successor states. The Dahae of the Parni clan, under Arsaces, would later invade the land of Parthia, depose its ruler, and found a dynasty that would eventually grow into the famed Parthian Empire.</History>
    1110    <Icon>units/sele_cavalry_archer.png</Icon>