Ticket #3904: tooltip.diff

File tooltip.diff, 27.4 KB (added by fatherbushido, 8 years ago)
  • binaries/data/mods/public/globalscripts/Templates.js

    function GetTemplateDataHelper(template,  
    130130                    "description": aura.auraDescription || null
    131131                };
    132132        }
    133133    }
    134134
     135    if (template.BuildingAI)
     136    {
     137        ret.buildingAI = {};
     138        if (template.BuildingAI.DefaultArrowCount) ret.buildingAI.defaultArrowCount = func("BuildingAI/DefaultArrowCount", +template.BuildingAI.DefaultArrowCount, player, template);
     139        if (template.BuildingAI.GarrisonArrowMultiplier) ret.buildingAI.garrisonArrowMultiplier = func("BuildingAI/GarrisonArrowMultiplier", +template.BuildingAI.GarrisonArrowMultiplier, player, template);
     140        if (template.BuildingAI.MaxArrowCount) ret.buildingAI.maxArrowCount = func("BuildingAI/MaxArrowCount", +template.BuildingAI.MaxArrowCount, player, template);
     141    }
     142
    135143    if (template.BuildRestrictions)
    136144    {
    137145        // required properties
    138146        ret.buildRestrictions = {
    139147            "placementType": template.BuildRestrictions.PlacementType,
    function GetTemplateDataHelper(template,  
    181189            ret.footprint.circle = {"radius": +template.Footprint.Circle["@radius"]};
    182190        else
    183191            warn("GetTemplateDataHelper(): Unrecognized Footprint type");
    184192    }
    185193
     194    if (template.GarrisonHolder)
     195    {
     196        ret.garrisonHolder = {};
     197        if (template.GarrisonHolder.Max) ret.garrisonHolder.max = func("GarrisonHolder/Max", +template.GarrisonHolder.Max, player, template);
     198    }
     199
    186200    if (template.Obstruction)
    187201    {
    188202        ret.obstruction = {
    189203            "active": ("" + template.Obstruction.Active == "true"),
    190204            "blockMovement": ("" + template.Obstruction.BlockMovement == "true"),
  • binaries/data/mods/public/gui/common/tooltips.js

    function attackRateDetails(entState, typ  
    5757        "time": time,
    5858        "second": g_TooltipTextFormats.unit[0] + translatePlural("second", "seconds", time) + g_TooltipTextFormats.unit[1]
    5959    });
    6060
    6161    // or multiple arrows shot by BuildingAI
    62     if (!entState.buildingAI)
     62    if (!entState.buildingAI || type != "Ranged")
    6363        return timeString;
    6464
    65     let arrows = entState.buildingAI.arrowCount;
     65    // return defaultArrowCount when called from training panel
     66    let arrows = entState.buildingAI.arrowCount || entState.buildingAI.defaultArrowCount;
    6667    let arrowString = sprintf(translatePlural("%(arrowcount)s %(arrow)s", "%(arrowcount)s %(arrow)s", arrows), {
    6768        "arrowcount": arrows,
    6869        "arrow": g_TooltipTextFormats.unit[0] + translatePlural("arrow", "arrows", arrows) + g_TooltipTextFormats.unit[1]
    6970    });
    7071
    function getAttackTooltip(template)  
    160161{
    161162    let attacks = [];
    162163    if (!template.attack)
    163164        return "";
    164165
    165     let rateLabel = g_TooltipTextFormats.header[0] + (template.buildingAI ? translate("Interval:") : translate("Rate:")) + g_TooltipTextFormats.header[1];
     166//  let rateLabel = g_TooltipTextFormats.header[0] + (template.buildingAI ? translate("Interval:") : translate("Rate:")) + g_TooltipTextFormats.header[1];
    166167
    167168    for (let type in template.attack)
    168169    {
    169170        if (type == "Slaughter")
    170171            continue; // Slaughter is not a real attack, so do not show it.
    171172        if (type == "Charge")
    172173            continue; // Charging isn't implemented yet and shouldn't be displayed.
    173174
     175        let rateLabel = g_TooltipTextFormats.header[0] + (template.buildingAI && type == "Ranged" ? translate("Interval:") : translate("Rate:")) + g_TooltipTextFormats.header[1];
     176
    174177        let rate = sprintf(translate("%(label)s %(details)s"), {
    175178            "label": rateLabel,
    176179            "details": attackRateDetails(template, type)
    177180        });
    178181
    function getEntityCostTooltip(template,  
    392395
    393396    return "";
    394397}
    395398
    396399/**
     400 * Returns the garrison information to display in the specified entity's construction and training button tooltip.
     401 */
     402function getGarrisonTooltip(template)
     403{
     404    let garrison = "";
     405    if (template.garrisonHolder && template.garrisonHolder.max)
     406        garrison = "\n" + sprintf(translate("%(label)s %(max)s"), {
     407            "label": translate("Garrison Limit:"),
     408            "max": template.garrisonHolder.max
     409        });
     410    return garrison;
     411}
     412
     413/**
     414 * Returns the information about building arrows to display in the specified entity's construction and training button tooltip.
     415 */
     416function getArrowTooltip(template)
     417{
     418    let arrow = "";
     419    if (!template.buildingAI)
     420        return arrow;
     421    if (template.buildingAI.maxArrowCount)
     422        arrow += "\n" + sprintf(translate("%(label)s %(arrowLimit)s"), {
     423            "label": translate("Projectiles limit:"),
     424            "arrowLimit": template.buildingAI.maxArrowCount
     425        });
     426    if (template.buildingAI.garrisonArrowMultiplier)
     427        arrow += "\n" + sprintf(translate("%(label)s %(arrowMultiplier)s"), {
     428            "label": translate("Projectiles per garrisonned unit:"),
     429            "arrowMultiplier": template.buildingAI.garrisonArrowMultiplier
     430        });
     431    return arrow;
     432}
     433
     434/**
    397435 * Returns the population bonus information to display in the specified entity's construction button tooltip.
    398436 */
    399437function getPopulationBonusTooltip(template)
    400438{
    401439    let popBonus = "";
  • binaries/data/mods/public/gui/session/selection_panels.js

    g_SelectionPanels.Construction = {  
    312312        tooltip += getAurasTooltip(template);
    313313
    314314        if (template.tooltip)
    315315            tooltip += "\n[font=\"sans-13\"]" + template.tooltip + "[/font]";
    316316
     317        tooltip += "[font=\"sans-13\"]" + getGarrisonTooltip(template) + "[/font]";
     318        tooltip += "[font=\"sans-13\"]" + getArrowTooltip(template) + "[/font]";
    317319        tooltip += "\n" + getEntityCostTooltip(template);
    318320        tooltip += getPopulationBonusTooltip(template);
    319321
    320322        tooltip += formatLimitString(limits.entLimit, limits.entCount, limits.entLimitChangers);
    321323
    g_SelectionPanels.Training = {  
    996998        tooltip += getAurasTooltip(template);
    997999
    9981000        if (template.tooltip)
    9991001            tooltip += "\n[font=\"sans-13\"]" + template.tooltip + "[/font]";
    10001002
     1003        tooltip += "[font=\"sans-13\"]" + getGarrisonTooltip(template) + "[/font]";
     1004        tooltip += "[font=\"sans-13\"]" + getArrowTooltip(template) + "[/font]";
    10011005        tooltip += "\n" + getEntityCostTooltip(template, trainNum, data.unitEntState.id);
    10021006
    10031007        let limits = getEntityLimitAndCount(data.playerState, data.item);
    10041008
    10051009        tooltip += formatLimitString(limits.entLimit, limits.entCount, limits.entLimitChangers);
  • binaries/data/mods/public/simulation/templates/other/hellenic_epic_temple.xml

     
    2727  <Identity>
    2828    <Civ>gaia</Civ>
    2929    <GenericName>Epic Temple</GenericName>
    3030    <SpecificName>Naos Parthenos</SpecificName>
    3131    <History>The Hellenes built marvelous temples in order to honour their polytheistic pantheon. While all gods were venerated, a specific patron deity was supposed to watch over each polis.</History>
    32     <Tooltip>Garrison up to 30 units to heal them at a quick rate.</Tooltip>
     32    <Tooltip>Garrison units to heal them at a quick rate.</Tooltip>
    3333  </Identity>
    3434  <Loot>
    3535    <xp>50</xp>
    3636    <food>0</food>
    3737    <wood>0</wood>
  • binaries/data/mods/public/simulation/templates/structures/athen_fortress.xml

     
    55    <Height>8.0</Height>
    66  </Footprint>
    77  <Identity>
    88    <Civ>athen</Civ>
    99    <SpecificName>Epiteíkhisma</SpecificName>
    10     <Tooltip>Build siege engines. Garrison up to 20 soldiers inside for stout defense.</Tooltip>
     10    <Tooltip>Build siege engines. Garrison soldiers inside for stout defense.</Tooltip>
    1111    <History>Fortresses (also called "Phroúria") were built to guard passes and atop hills in order to command plains and valleys below. One such Athenian fortress, Gyphtokastro, guarded the pass from Attica into Boeotia.</History>
    1212  </Identity>
    1313  <Obstruction>
    1414    <Static width="24.0" depth="26.0"/>
    1515  </Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/athen_wonder.xml

     
    1212  </GarrisonHolder>
    1313  <Identity>
    1414    <Civ>athen</Civ>
    1515    <SpecificName>Naós Parthenṓn</SpecificName>
    1616    <History>The Hellenes built marvelous temples in order to honour their polytheistic pantheon. While all gods were venerated, a specific patron deity was supposed to watch over each polis.</History>
    17     <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison up to 30 units to heal them at an extremely quick rate.</Tooltip>
     17    <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison units to heal them at an extremely quick rate.</Tooltip>
    1818  </Identity>
    1919  <Obstruction>
    2020    <Static width="27.0" depth="57.0"/>
    2121  </Obstruction>
    2222  <VisualActor>
  • binaries/data/mods/public/simulation/templates/structures/cart_temple.xml

     
    1111  </Footprint>
    1212  <Identity>
    1313    <Civ>cart</Civ>
    1414    <SpecificName>Maqdaš</SpecificName>
    1515    <History>What little we know of the Carthaginian religion has be pieced together from scattered sources. Tanit, a fertility goddess, was one of two principle gods in the Carthaginian pantheon, the other being her consort Ba'al, a deity of Phoenician origin.</History>
    16     <Tooltip>Train priestesses to heal your troops. Train Sacred Band pikemen. Garrison up to 20 units to heal them at a quick rate.</Tooltip>
     16    <Tooltip>Train priestesses to heal your troops. Train Sacred Band pikemen. Garrison units to heal them at a quick rate.</Tooltip>
    1717  </Identity>
    1818  <Obstruction>
    1919    <Static width="17.0" depth="30.0"/>
    2020  </Obstruction>
    2121  <ProductionQueue>
  • binaries/data/mods/public/simulation/templates/structures/cart_wonder.xml

     
    1212  </GarrisonHolder>
    1313  <Identity>
    1414   <Civ>cart</Civ>
    1515    <SpecificName>Temple of Ba'al Hammon</SpecificName>
    1616    <History>Dating from the 2nd Century BC, the Mausoleum of Atban in northern Tunisia is over twenty metres high and was built by the inhabitants of Dougga for a Numidian prince.</History>
    17     <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison up to 30 units to heal them at an extremely quick rate.</Tooltip>
     17    <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison units to heal them at an extremely quick rate.</Tooltip>
    1818  </Identity>
    1919  <Obstruction>
    2020    <Static width="27.0" depth="57.0"/>
    2121  </Obstruction>
    2222  <VisualActor>
  • binaries/data/mods/public/simulation/templates/structures/mace_fortress.xml

     
    1111    <Height>8.0</Height>
    1212  </Footprint>
    1313  <Identity>
    1414    <Civ>mace</Civ>
    1515    <SpecificName>Teíchisma</SpecificName>
    16     <Tooltip>Train Champions and Heroes. Garrison up to 20 soldiers inside for stout defense.</Tooltip>
     16    <Tooltip>Train Champions and Heroes. Garrison soldiers inside for stout defense.</Tooltip>
    1717    <History>The Akropolis was usually a fortified citadel in the upper part of the city. The Athenian Akropolis was renowned for its marvelous temples, among which was the Parthenon, while the Acro-Corinthus was highly prized by the Macedonians for its strategic location and good defenses. Fortresses (also called a "phrourion") were also built to guard passes and atop hills in order to command plains and valleys below.</History>
    1818  </Identity>
    1919  <Obstruction>
    2020    <Static width="24.0" depth="26.0"/>
    2121  </Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/mace_wonder.xml

     
    1212  </GarrisonHolder>
    1313  <Identity>
    1414    <Civ>mace</Civ>
    1515    <SpecificName>Naós Parthenṓn</SpecificName>
    1616    <History>The Hellenes built marvelous temples in order to honour their polytheistic pantheon. While all gods were venerated, a specific patron deity was supposed to watch over each polis.</History>
    17     <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison up to 30 units to heal them at an extremely quick rate.</Tooltip>
     17    <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison units to heal them at an extremely quick rate.</Tooltip>
    1818  </Identity>
    1919  <Obstruction>
    2020    <Static width="27.0" depth="57.0"/>
    2121  </Obstruction>
    2222  <VisualActor>
  • binaries/data/mods/public/simulation/templates/structures/ptol_barracks.xml

     
    1313    <SpawnEntityOnDeath>rubble/rubble_stone_5x5</SpawnEntityOnDeath>
    1414  </Health>
    1515  <Identity>
    1616    <Civ>ptol</Civ>
    1717    <SpecificName>ḥwt-n-mš'</SpecificName>
    18     <Tooltip>Train Egyptian and Middle-Eastern citizen-soldiers. Research training improvements. Garrison: 10.</Tooltip>
     18    <Tooltip>Train Egyptian and Middle-Eastern citizen-soldiers. Research training improvements.</Tooltip>
    1919  </Identity>
    2020  <Obstruction>
    2121    <Static width="20.0" depth="20.0"/>
    2222  </Obstruction>
    2323  <VisualActor>
  • binaries/data/mods/public/simulation/templates/structures/ptol_wonder.xml

     
    1212  </GarrisonHolder>
    1313  <Identity>
    1414    <Civ>ptol</Civ>
    1515    <SpecificName>Temple of Edfu</SpecificName>
    1616    <History>The Temple of Edfu is an ancient Egyptian temple located on the west bank of the Nile in the city of Edfu which was known in Greco-Roman times as Apollonopolis Magna, after the chief god Horus-Apollo.The temple, dedicated to the falcon god Horus, was built in the Ptolemaic period between 237 and 57 BCE. In modern times, it is one of the best preserved temples of Egypt.</History>
    17     <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison up to 30 units to heal them at an extremely quick rate.</Tooltip>
     17    <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison units to heal them at an extremely quick rate.</Tooltip>
    1818  </Identity>
    1919  <Obstruction>
    2020    <Static width="44.0" depth="60.0"/>
    2121  </Obstruction>
    2222  <VisualActor>
  • binaries/data/mods/public/simulation/templates/structures/rome_temple_mars.xml

     
    1010  <Identity>
    1111    <Civ>rome</Civ>
    1212    <GenericName>Temple of Mars</GenericName>
    1313    <SpecificName>Aedes Martis</SpecificName>
    1414    <History>Roman temples in general were not meant for congregational worship. Instead the temple housed a statue of whatever deity the temple was dedicated to and what was needed to carry out the ceremonial and cultic practice necessary for worship. Any actual worship activity was performed outside.</History>
    15     <Tooltip>Train healers. Garrison up to 30 units to heal them at a quick rate.</Tooltip>
     15    <Tooltip>Train healers. Garrison units to heal them at a quick rate.</Tooltip>
    1616  </Identity>
    1717  <Obstruction>
    1818    <Static width="20.0" depth="40.0"/>
    1919  </Obstruction>
    2020  <TerritoryInfluence>
  • binaries/data/mods/public/simulation/templates/structures/rome_wonder.xml

     
    1111    <BuffHeal>8</BuffHeal>
    1212  </GarrisonHolder>
    1313  <Identity>
    1414    <Civ>rome</Civ>
    1515    <SpecificName>Aedes Iovis Optimi Maximi</SpecificName>
    16     <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison up to 30 units to heal them at an extremely quick rate.</Tooltip>
     16    <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison units to heal them at an extremely quick rate.</Tooltip>
    1717  </Identity>
    1818  <Obstruction>
    1919    <Static width="20.0" depth="40.0"/>
    2020  </Obstruction>
    2121  <VisualActor>
  • binaries/data/mods/public/simulation/templates/structures/sele_fortress.xml

     
    55    <Height>8.0</Height>
    66  </Footprint>
    77  <Identity>
    88    <Civ>sele</Civ>
    99    <SpecificName>Phrourion</SpecificName>
    10     <Tooltip>Build siege engines and train Champions. Garrison up to 20 soldiers inside for stout defense.</Tooltip>
     10    <Tooltip>Build siege engines and train Champions. Garrison soldiers inside for stout defense.</Tooltip>
    1111    <History>Fortresses were built to guard passes and atop hills in order to command plains and valleys below.</History>
    1212  </Identity>
    1313  <Obstruction>
    1414    <Static width="24.0" depth="26.0"/>
    1515  </Obstruction>
  • binaries/data/mods/public/simulation/templates/structures/spart_wonder.xml

     
    1212  </GarrisonHolder>
    1313  <Identity>
    1414    <Civ>spart</Civ>
    1515    <SpecificName>Naós Parthenṓn</SpecificName>
    1616    <History>The Hellenes built marvelous temples in order to honour their polytheistic pantheon. While all gods were venerated, a specific patron deity was supposed to watch over each polis.</History>
    17     <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison up to 30 units to heal them at a quick rate.</Tooltip>
     17    <Tooltip>Bring glory to your civilization and add large tracts of land to your empire. Garrison units to heal them at a quick rate.</Tooltip>
    1818  </Identity>
    1919  <Obstruction>
    2020    <Static width="27.0" depth="57.0"/>
    2121  </Obstruction>
    2222  <VisualActor>
  • binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre.xml

     
    6464    <Max>3000</Max>
    6565    <SpawnEntityOnDeath>rubble/rubble_stone_6x6</SpawnEntityOnDeath>
    6666  </Health>
    6767  <Identity>
    6868    <GenericName>Civic Center</GenericName>
    69     <Tooltip>Build to acquire large tracts of territory. Train citizens. Garrison: 20.</Tooltip>
     69    <Tooltip>Build to acquire large tracts of territory. Train citizens.</Tooltip>
    7070    <Classes datatype="tokens">Defensive CivCentre</Classes>
    7171    <VisibleClasses datatype="tokens">CivilCentre</VisibleClasses>
    7272    <Icon>structures/civic_centre.png</Icon>
    7373  </Identity>
    7474  <Loot>
  • binaries/data/mods/public/simulation/templates/template_structure_civic_temple.xml

     
    2727    <Max>2000</Max>
    2828    <SpawnEntityOnDeath>rubble/rubble_stone_4x6</SpawnEntityOnDeath>
    2929  </Health>
    3030  <Identity>
    3131    <GenericName>Temple</GenericName>
    32     <Tooltip>Train healers. Garrison up to 20 units to heal them at a quick rate (3 HP per second). Research healing and religious improvements.</Tooltip>
     32    <Tooltip>Train healers. Garrison units to heal them at a quick rate (3 HP per second). Research healing and religious improvements.</Tooltip>
    3333    <VisibleClasses datatype="tokens">Town Temple</VisibleClasses>
    3434    <Icon>structures/temple.png</Icon>
    3535    <RequiredTechnology>phase_town</RequiredTechnology>
    3636  </Identity>
    3737  <Loot>
  • binaries/data/mods/public/simulation/templates/template_structure_military_barracks.xml

     
    2525    <Max>2000</Max>
    2626    <SpawnEntityOnDeath>rubble/rubble_stone_4x4</SpawnEntityOnDeath>
    2727  </Health>
    2828  <Identity>
    2929    <GenericName>Barracks</GenericName>
    30     <Tooltip>Train citizen-soldiers. Research training improvements. Garrison: 10.</Tooltip>
     30    <Tooltip>Train citizen-soldiers. Research training improvements.</Tooltip>
    3131    <VisibleClasses datatype="tokens">Village Barracks</VisibleClasses>
    3232    <Icon>structures/barracks.png</Icon>
    3333    <RequiredTechnology>phase_village</RequiredTechnology>
    3434  </Identity>
    3535  <Loot>
  • binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml

     
    5959    <Max>4200</Max>
    6060    <SpawnEntityOnDeath>rubble/rubble_stone_6x6</SpawnEntityOnDeath>
    6161  </Health>
    6262  <Identity>
    6363    <GenericName>Fortress</GenericName>
    64     <Tooltip>Train heroes, champions, and siege weapons. Research siege weapon improvements. Garrison: 20.</Tooltip>
     64    <Tooltip>Train heroes, champions, and siege weapons. Research siege weapon improvements.</Tooltip>
    6565    <Classes datatype="tokens">GarrisonFortress</Classes>
    6666    <VisibleClasses datatype="tokens">Defensive City Fortress</VisibleClasses>
    6767    <Icon>structures/fortress.png</Icon>
    6868    <RequiredTechnology>phase_city</RequiredTechnology>
    6969  </Identity>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_ship_bireme.xml

     
    4545  </Health>
    4646  <Identity>
    4747    <GenericName>Light Warship</GenericName>
    4848    <Classes datatype="tokens">Warship Light Bow Ranged</Classes>
    4949    <RequiredTechnology>phase_town</RequiredTechnology>
    50     <Tooltip>Garrison up to 20 units for transport. Garrison increases the firepower up to 10 arrows.</Tooltip>
     50    <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
    5151  </Identity>
    5252  <ResourceGatherer disable=""/>
    5353  <Sound>
    5454    <SoundGroups>
    5555      <attack>attack/weapon/arrowfly.xml</attack>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_ship_quinquereme.xml

     
    5151  <Health>
    5252    <Max>2000</Max>
    5353  </Health>
    5454  <Identity>
    5555    <GenericName>Heavy Warship</GenericName>
    56     <Tooltip>Garrison up to 10 catapults to increase fire power.</Tooltip>
     56    <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
    5757    <Classes datatype="tokens">Warship Heavy Ranged</Classes>
    5858    <RequiredTechnology>phase_city</RequiredTechnology>
    5959  </Identity>
    6060  <Sound>
    6161    <SoundGroups>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_ship_trireme.xml

     
    4545  </Health>
    4646  <Identity>
    4747    <GenericName>Medium Warship</GenericName>
    4848    <VisibleClasses datatype="tokens">Warship Medium Ranged</VisibleClasses>
    4949    <RequiredTechnology>phase_town</RequiredTechnology>
    50     <Tooltip>Garrison up to 30 units for transport. Garrison increases the firepower up to 13 arrows.</Tooltip>
     50    <Tooltip>Garrison units for transport and to increase firepower.</Tooltip>
    5151  </Identity>
    5252  <ResourceGatherer disable=""/>
    5353  <Sound>
    5454    <SoundGroups>
    5555      <attack>attack/weapon/arrowfly.xml</attack>
  • binaries/data/mods/public/simulation/templates/template_unit_mechanical_siege_tower.xml

     
    5353    <Max>500</Max>
    5454  </Health>
    5555  <Identity>
    5656    <GenericName>Siege Tower</GenericName>
    5757    <Classes datatype="tokens">Ranged SiegeTower</Classes>
    58     <Tooltip>Garrison up to 20 infantry inside to increase arrow count from 0 to 10.</Tooltip>
     58    <Tooltip>Garrison units to increase firepower.</Tooltip>
    5959  </Identity>
    6060  <Selectable>
    6161    <Overlay>
    6262      <Texture>
    6363        <MainTexture>circle/256x256.png</MainTexture>