<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit">
  <Armour>
    <Hack>2</Hack>
    <Pierce>4</Pierce>
    <Crush>15</Crush>
  </Armour>
  <Attack>
    <Capture>
      <Capture>2</Capture>
      <MaxRange>4</MaxRange>
      <RepeatTime>1000</RepeatTime>
      <RestrictedClasses datatype="tokens">Field Palisade SiegeWall StoneWall</RestrictedClasses>
    </Capture>
    <Slaughter>
      <Damage>
        <Hack>50.0</Hack>
        <Pierce>0.0</Pierce>
        <Crush>0.0</Crush>
      </Damage>
      <MaxRange>2</MaxRange>
    </Slaughter>
  </Attack>
  <Builder>
    <Rate>1.0</Rate>
    <Entities datatype="tokens">
      structures/{civ}_outpost
      structures/wallset_palisade
      structures/{civ}_wallset_stone        
    </Entities>
  </Builder>
  <Cost>
    <BuildTime>10</BuildTime>
    <Resources>
      <food>50</food>
      <wood>0</wood>
      <stone>0</stone>
      <metal>0</metal>
    </Resources>
  </Cost>
  <Footprint>
    <Circle radius="1.5"/>
    <Height>2.5</Height>
  </Footprint>
  <Health>
    <Max>80</Max>
  </Health>
  <Identity>
    <Classes datatype="tokens">Human CitizenSoldier</Classes>
    <VisibleClasses datatype="tokens">Citizen Worker Soldier Infantry</VisibleClasses>
    <GenericName>Infantry</GenericName>
    <Rank>Basic</Rank>
  </Identity>
  <Loot>
    <xp>100</xp>
    <food>5</food>
    <wood>0</wood>
    <stone>0</stone>
    <metal>0</metal>
  </Loot>
  <Promotion>
    <RequiredXp>100</RequiredXp>
  </Promotion>
  <Selectable>
    <Overlay>
      <Texture>
        <MainTexture>circle/128x128.png</MainTexture>
        <MainTextureMask>circle/128x128_mask.png</MainTextureMask>
      </Texture>
    </Overlay>
  </Selectable>
  <Sound>
    <SoundGroups>
      <select>voice/{lang}/civ/civ_{phenotype}_select.xml</select>
      <order_walk>voice/{lang}/civ/civ_{phenotype}_walk.xml</order_walk>
      <order_attack>voice/{lang}/civ/civ_{phenotype}_attack.xml</order_attack>
      <order_gather>voice/{lang}/civ/civ_{phenotype}_gather.xml</order_gather>
      <order_repair>voice/{lang}/civ/civ_{phenotype}_repair.xml</order_repair>
      <order_garrison>voice/{lang}/civ/civ_{phenotype}_garrison.xml</order_garrison>
      <walk>actor/human/movement/walk.xml</walk>
      <run>actor/human/movement/run.xml</run>
      <attack_impact_ranged>attack/impact/arrow_metal.xml</attack_impact_ranged>
      <attack_melee>attack/weapon/sword.xml</attack_melee>
      <attack_ranged>attack/weapon/arrowfly.xml</attack_ranged>
      <death>actor/human/death/{phenotype}_death.xml</death>
      <build>resource/construction/con_wood.xml</build>
      <gather_fruit>resource/foraging/forage_leaves.xml</gather_fruit>
      <gather_grain>resource/farming/farm.xml</gather_grain>
      <gather_tree>resource/lumbering/lumbering.xml</gather_tree>
      <gather_rock>resource/mining/pickaxe.xml</gather_rock>
      <gather_ore>resource/mining/mining.xml</gather_ore>
      <gather_ruins>resource/mining/mining.xml</gather_ruins>
      <trained>interface/alarm/alarm_create_infantry.xml</trained>
    </SoundGroups>
  </Sound>
  <Vision>
    <Range>80</Range>
  </Vision>
</Entity>
