<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_civic">
  <Armour>
    <Hack>20.0</Hack>
    <Pierce>40.0</Pierce>
    <Crush>15.0</Crush>
    <Foundation>
      <Hack>5.0</Hack>
      <Pierce>8.0</Pierce>
      <Crush>4.0</Crush>
    </Foundation>
  </Armour>
  <Attack>
    <Ranged>
      <Hack>0.0</Hack>
      <Pierce>25.0</Pierce>
      <Crush>0.0</Crush>
      <MaxRange>40.0</MaxRange>
      <MinRange>12.0</MinRange>
      <ProjectileSpeed>75.0</ProjectileSpeed>
      <PrepareTime>1200</PrepareTime>
      <RepeatTime>2000</RepeatTime>
      <Spread>1.5</Spread>
    </Ranged>
  </Attack>
  <BuildingAI>
    <DefaultArrowCount>1</DefaultArrowCount>
    <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
  </BuildingAI>
  <BuildRestrictions>
    <Category>Wall</Category>
  </BuildRestrictions>
  <Cost>
    <BuildTime>20</BuildTime>
    <Resources>
      <stone>60</stone>
    </Resources>
  </Cost>
  <Footprint>
    <Square width="6.0" depth="6.0"/>
    <Height>8.0</Height>
  </Footprint>
  <GarrisonHolder>
    <Max>5</Max>
    <EjectHealth>0.1</EjectHealth>
    <List datatype="tokens">Support Infantry</List>
    <BuffHeal>0</BuffHeal>
    <LoadingRange>2</LoadingRange>
  </GarrisonHolder>
  <Health>
    <Max>4000</Max>
    <SpawnEntityOnDeath>rubble/rubble_stone_wall_tower</SpawnEntityOnDeath>
  </Health>
  <Identity>
    <GenericName>Wall Turret</GenericName>
    <Tooltip>Shoots arrows. Garrison to defend a city wall against attackers.</Tooltip>
    <Classes datatype="tokens">Defensive -ConquestCritical StoneWall Tower</Classes>
    <Icon>structures/tower.png</Icon>
    <RequiredTechnology>phase_town</RequiredTechnology>
  </Identity>
  <Loot>
    <xp>100</xp>
    <food>0</food>
    <wood>10</wood>
    <stone>15</stone>
    <metal>0</metal>
  </Loot>
  <Obstruction>
    <Static width="6.0" depth="6.0"/>
    <ControlPersist/>
  </Obstruction>
  <Sound>
    <SoundGroups>
      <select>interface/select/building/sel_tower.xml</select>
      <constructed>interface/complete/building/complete_tower.xml</constructed>
      <attack>attack/weapon/arrowfly.xml</attack>
      <death>attack/destruction/building_collapse_large.xml</death>
    </SoundGroups>
  </Sound>
  <StatusBars>
    <HeightOffset>20.0</HeightOffset>
  </StatusBars>
  <TerritoryInfluence>
    <Root>false</Root>
    <Radius>20</Radius>
    <Weight>65536</Weight>
  </TerritoryInfluence>
  <Vision>
    <Range>60</Range>
  </Vision>
  <VisualActor>
    <FoundationActor>structures/fndn_2x2.xml</FoundationActor>
  </VisualActor>
</Entity>
