<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks">
  <Attack disable=""/>
  <BuildRestrictions>
    <Territory>own neutral</Territory>
    <Distance>
      <FromClass>MercenaryCamp</FromClass>
      <MinDistance>100</MinDistance>
    </Distance>
  </BuildRestrictions>
  <Cost>
    <BuildTime>300</BuildTime>
    <Resources>
      <wood>100</wood>
      <stone>0</stone>
      <metal>100</metal>
    </Resources>
  </Cost>
  <Footprint>
    <Square width="25.5" depth="25.5"/>
    <Height>12.0</Height>
  </Footprint>
  <Health>
    <Max>1200</Max>
    <SpawnEntityOnDeath>rubble/rubble_stone_5x5</SpawnEntityOnDeath>
  </Health>
  <Identity>
    <Civ>ptol</Civ>
    <GenericName>Mercenary Camp</GenericName>
	<SpecificName>Stratopedeía Misthophórōn</SpecificName>
    <Classes datatype="tokens">MercenaryCamp</Classes>
    <History>The Greco-Macedonian Ptolemy Dynasty relied on large numbers of Greek and foreign mercenaries for the bulk of its military force, mainly because the loyalty of native Egyptian units was often suspect. Indeed, during one native uprising, Upper Egypt was lost to the Ptolemies for decades. Mercenaries were often battle-hardened and their loyalty can be bought, sometimes cheaply, sometimes not cheaply. This was of no matter, since Egypt under the Ptolemies was so prosperous as to be the richest of Alexander's successor states.</History>
    <Tooltip>Cheap barracks-like structure that is buildable in Neutral territory, but casts no territory influence.
- Train Mercenaries. 
- Min. distance from other Military Settlements: 100 meters.</Tooltip>
    <Icon>structures/military_settlement.png</Icon>
    <RequiredTechnology>phase_town</RequiredTechnology>
  </Identity>
  <Obstruction>
    <Static width="23.5" depth="23.5"/>
  </Obstruction>
  <ProductionQueue>
    <Entities datatype="tokens">
      units/ptol_infantry_spearman_merc_b
	  units/ptol_infantry_swordsman_merc_b
      units/ptol_cavalry_spearman_merc_b
      units/ptol_cavalry_javelinist_merc_b
    </Entities>
    <Technologies datatype="tokens">
	  -unlock_champion_units
	  upgrade_rank_advanced_infantry
	  upgrade_rank_elite_infantry
	  upgrade_rank_advanced_cavalry
	  upgrade_rank_elite_cavalry
    </Technologies>
  </ProductionQueue>
  <Sound>
    <SoundGroups>
      <select>interface/select/building/sel_gymnasium.xml</select>
      <constructed>interface/complete/building/complete_gymnasium.xml</constructed>
      <death>attack/destruction/building_collapse_large.xml</death>
    </SoundGroups>
  </Sound>
  <TerritoryDecay>
    <DecayRate>1</DecayRate>
  </TerritoryDecay>
  <TerritoryInfluence disable=""/>
  <VisualActor>
    <Actor>structures/ptolemies/settlement.xml</Actor>
    <FoundationActor>structures/fndn_5x5.xml</FoundationActor>
  </VisualActor>
</Entity>
