<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_civic">
  <Identity>
    <GenericName>Tower</GenericName>
    <Tooltip>Garrison to defend a city wall against attackers.</Tooltip>
    <Classes datatype="tokens">Village Defensive</Classes>
    <Icon>structures/tower.png</Icon>
  </Identity>
  <BuildRestrictions>
    <Category>Wall</Category>
  </BuildRestrictions>
  <Cost>
    <BuildTime>25</BuildTime>
    <Resources>
      <stone>125</stone>
    </Resources>
  </Cost>
  <Health>
    <Max>2500</Max>
  </Health>
  <Armour>
    <Hack>20.0</Hack>
    <Pierce>40.0</Pierce>
    <Crush>15.0</Crush>
  </Armour>
  <VisualActor>
    <FoundationActor>structures/fndn_2x2.xml</FoundationActor>
  </VisualActor>
  <StatusBars>
    <HeightOffset>20.0</HeightOffset>
  </StatusBars>
  <Footprint>
    <Square width="6.0" depth="6.0"/>
    <Height>8.0</Height>
  </Footprint>
  <Obstruction>
    <Static width="6.0" depth="6.0"/>
  </Obstruction>
  <Vision>
    <Range>64</Range>
  </Vision>
  <Sound>
    <SoundGroups>
      <select>interface/select/building/sel_wall.xml</select>
      <constructed>interface/complete/building/complete_wall.xml</constructed>
      <death>attack/destruction/building_collapse_large.xml</death>
    </SoundGroups>
  </Sound>
  <GarrisonHolder>
    <Max>5</Max>
	<EjectHealth>0.1</EjectHealth>
	<List datatype="tokens">Support Infantry</List>
	<BuffHeal>1</BuffHeal>
  </GarrisonHolder>
  <Attack>
    <Ranged>
      <Hack>0.0</Hack>
      <Pierce>25.0</Pierce>
      <Crush>0.0</Crush>
      <MaxRange>40.0</MaxRange>
      <MinRange>12.0</MinRange>
      <ProjectileSpeed>60.0</ProjectileSpeed>
      <PrepareTime>1200</PrepareTime>
      <RepeatTime>2000</RepeatTime>
    </Ranged>
  </Attack>
  <BuildingAI>
    <DefaultArrowCount>1</DefaultArrowCount>
    <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
  </BuildingAI>
</Entity>
