<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_tower">
  <Attack>
    <Ranged>
      <Origin>
        <X>0</X>
        <Y>9</Y>
        <Z>0</Z>
      </Origin>
    </Ranged>
  </Attack>
  <BuildingAI>
    <MaxArrowCount>6</MaxArrowCount>
  </BuildingAI>
  <Cost>
    <BuildTime>60</BuildTime>
    <Resources>
      <wood>100</wood>
      <stone>50</stone>
    </Resources>
  </Cost>
  <Footprint>
    <Square width="9.5" depth="8.5"/>
    <Height>9.0</Height>
  </Footprint>
  <GarrisonHolder>
    <Max>4</Max>
  </GarrisonHolder>
  <Health>
    <Max>500</Max>
  </Health>
  <Identity>
    <GenericName>Sentry Tower</GenericName>
    <SelectionGroupName>template_structure_defensive_tower_sentry</SelectionGroupName>
    <Tooltip>Garrison Infantry for additional arrows. Needs the “Murder Holes” technology to protect its foot.</Tooltip>
    <VisibleClasses datatype="tokens">SentryTower</VisibleClasses>
    <Icon>structures/sentry_tower.png</Icon>
    <Requirements>
      <Techs datatype="tokens">phase_village</Techs>
    </Requirements>
  </Identity>
  <Loot>
    <wood>20</wood>
  </Loot>
  <Obstruction>
    <Static width="9.0" depth="7.5"/>
  </Obstruction>
  <ProductionQueue/>
  <Researcher>
    <Technologies datatype="tokens">
      tower_watch
    </Technologies>
  </Researcher>
  <TerritoryInfluence>
    <Root>false</Root>
    <Radius>16</Radius>
    <Weight>30000</Weight>
  </TerritoryInfluence>
  <Upgrade>
    <Tower>
      <Entity>structures/{civ}/defense_tower</Entity>
      <Tooltip>Reinforce with stone and upgrade to a defense tower.</Tooltip>
      <Cost>
        <wood>50</wood>
        <stone>100</stone>
      </Cost>
      <Variant>upgrading</Variant>
      <Time>100</Time>
      <Requirements>
        <Techs datatype="tokens">phase_town</Techs>
      </Requirements>
    </Tower>
  </Upgrade>
</Entity>
