<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure">
  <BuildRestrictions>
    <Territory>neutral own</Territory>
    <Category>ArmyCamp</Category>
    <Distance>
      <FromClass>ArmyCamp</FromClass>
      <MinDistance>75</MinDistance>
    </Distance>
    <Distance>
      <FromClass>CivilCentre</FromClass>
      <MinDistance>100</MinDistance>
    </Distance>
  </BuildRestrictions>
  <Capturable>
    <CapturePoints op="mul">2</CapturePoints>
    <RegenRate>7.5</RegenRate>
    <GarrisonRegenRate>5.0</GarrisonRegenRate>
  </Capturable>
  <Cost>
    <BuildTime>120</BuildTime>
    <Resources>
      <wood>200</wood>
      <stone>50</stone>
    </Resources>
  </Cost>
  <Footprint>
    <Square width="30.0" depth="30.0"/>
    <Height>10.0</Height>
  </Footprint>
  <GarrisonHolder>
    <Max>30</Max>
    <EjectHealth>0.1</EjectHealth>
    <EjectClassesOnDestroy datatype="tokens">Unit</EjectClassesOnDestroy>
    <List datatype="tokens">Support Helot Perioikoi</List>
    <BuffHeal>0</BuffHeal>
    <LoadingRange>6</LoadingRange>
  </GarrisonHolder>
  <Population>
    <Bonus>5</Bonus>
  </Population>
  <Health>
    <Max>1750</Max>
    <SpawnEntityOnDeath>decay|rubble/rubble_rome_sb</SpawnEntityOnDeath>
  </Health>
  <Identity>
   <Civ>spart</Civ>
    <GenericName>Perioikoi Camp</GenericName>
    <SpecificName>Castra</SpecificName>
    <Tooltip>Needs to be built in neutral territory. Trains Periokoi units and used as a dropsite for resoruces.</Tooltip>
    <Classes datatype="tokens">ConquestCritical CivSpecific</Classes>
    <VisibleClasses datatype="tokens">Village Camp</VisibleClasses>
    <Icon>structures/roman_camp.png</Icon>
  </Identity>
  <Loot>
    <wood>100</wood>
  </Loot>
  <Obstruction>
    <Static width="36.0" depth="36.0"/>
  </Obstruction>
  <ProductionQueue/>
  <Resistance>
    <Entity>
      <Damage>
        <Hack>10</Hack>
        <Pierce>20</Pierce>
        <Crush>5</Crush>
      </Damage>
    </Entity>
  </Resistance>
  <ResourceDropsite>
    <Types>food wood stone metal</Types>
    <Sharable>true</Sharable>
  </ResourceDropsite>
  <Sound>
    <SoundGroups>
      <select>interface/select/building/sel_broch.xml</select>
      <constructed>interface/complete/building/complete_broch.xml</constructed>
      <attack_ranged>attack/weapon/bow_attack.xml</attack_ranged>
      <attack_impact_ranged>attack/impact/arrow_impact.xml</attack_impact_ranged>
    </SoundGroups>
  </Sound>
  <TerritoryDecay disable=""/>
  <Trainer>
    <BatchTimeModifier>0.9</BatchTimeModifier>
    <Entities datatype="tokens">
      units/{civ}/cavalry_spearman_b
      units/{civ}/infantry_spearman_b
      units/{civ}/infantry_javelineer_b
      units/{civ}/infantry_archer_b
    </Entities>
  </Trainer>
  <Vision>
    <Range>90</Range>
  </Vision>
  <VisualActor>
    <Actor>structures/romans/camp.xml</Actor>
    <FoundationActor>structures/fndn_8x8.xml</FoundationActor>
  </VisualActor>
  <WallPiece>
    <Length>29.5</Length>
    <Indent>8</Indent>
  </WallPiece>
</Entity>
