<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_mechanical">
  <Identity>
    <GenericName>Mine</GenericName>
    <Tooltip>Mine at a much faster rate. Make sure to build next to a mill.</Tooltip>
    <Civ>hele</Civ>
    <SpecificName>Metallourgeion</SpecificName>
    <History>Need History</History>
    <Icon>structures/mill.png</Icon>
    <Classes datatype="tokens">Structure</Classes>
  </Identity>
  <Position>
    <Anchor>pitch-roll</Anchor>
    <Floating>false</Floating>
  </Position>
  <BuildRestrictions>
    <Category>Mill</Category>
    <PlacementType>land</PlacementType>
    <Territory>own</Territory>
  </BuildRestrictions>
  <Cost>
    <Population>0</Population>
    <BuildTime>80</BuildTime>
    <Resources>
      <metal>200</metal>
      <wood>100</wood>
      <food>0</food>
      <stone>50</stone>
    </Resources>
  </Cost>
  <ResourceGatherer>
    <MaxDistance>15.0</MaxDistance>
    <BaseSpeed>1.0</BaseSpeed>
    <Rates>  
          <metal>11</metal>
          <stone>11</stone>
	  <food disable=""/>
      	  <wood disable=""/>
          <treasure disable=""/>
    </Rates>
    <Capacities>
      <food>20</food>
      <wood>20</wood>
      <stone>22</stone>
      <metal>22</metal>
    </Capacities>
  </ResourceGatherer>
  <UnitMotion>
    <WalkSpeed>0.1</WalkSpeed>
    <Run>
      <Speed>0.1</Speed>
      <Range>1.0</Range>
      <RangeMin>0.0</RangeMin>
      <RegenTime>0.1</RegenTime>
      <DecayTime>0.1</DecayTime>
    </Run>
  </UnitMotion>
  <Health>
    <Max>450</Max>
    <DeathType>corpse</DeathType>
    <RegenRate>0</RegenRate>
    <Healable>false</Healable>
    <Repairable>true</Repairable>
  </Health>
  <Decay>
    <Inactive/>
    <DelayTime>0.0</DelayTime>
    <SinkRate>4.0</SinkRate>
    <SinkAccel>9.8</SinkAccel>
  </Decay>
  <Armour>
    <Hack>10.0</Hack>
    <Pierce>42.0</Pierce>
    <Crush>10.0</Crush>
  </Armour>
  <StatusBars>
    <BarWidth>6.0</BarWidth>
    <BarHeight>0.6</BarHeight>
    <HeightOffset>12.0</HeightOffset>
  </StatusBars>
  <OverlayRenderer/>
  <VisualActor>
    <SilhouetteDisplay>false</SilhouetteDisplay>
    <SilhouetteOccluder>true</SilhouetteOccluder>
    <FoundationActor>structures/fndn_3x3.xml</FoundationActor>
    <Actor>structures/mechanical_mine_motif.xml</Actor>
  </VisualActor>
  <Sound>
    <SoundGroups>
      <select>interface/select/building/sel_universal.xml</select>
      <death>attack/destruction/explode_debris.xml</death>
    </SoundGroups>
  </Sound>
  <Footprint replace="">
    <Square width="8.0" depth="8.0"/>
    <Height>10.0</Height>
  </Footprint>
  <Obstruction>
    <Unit radius="4.0"/>
    <Active>true</Active>
    <BlockMovement>true</BlockMovement>
    <BlockPathfinding>true</BlockPathfinding>
    <BlockFoundation>true</BlockFoundation>
    <BlockConstruction>true</BlockConstruction>
    <DisableBlockMovement>false</DisableBlockMovement>
    <DisableBlockPathfinding>false</DisableBlockPathfinding>
  </Obstruction>
  <Vision>
    <Range>15</Range>
    <RetainInFog>true</RetainInFog>
    <AlwaysVisible>false</AlwaysVisible>
  </Vision>
</Entity>
