<?xml version="1.0" encoding="utf-8"?>
<Entity parent="builder|template_unit_support">
  <Builder>
    <Rate>0.5</Rate>
  </Builder>
  <Cost>
    <Population>0</Population>
    <BuildTime>15</BuildTime>
    <Resources>
      <metal>50</metal>
    </Resources>
  </Cost>
  <Health>
    <RegenRate>-0.25</RegenRate>
    <Unhealable>true</Unhealable>
  </Health>
  <Identity>
    <GenericName>Slave</GenericName>
    <SelectionGroupName>template_unit_support_slave</SelectionGroupName>
    <Tooltip>Gatherer with a finite life span. Bonused at mining and lumbering.</Tooltip>
    <VisibleClasses datatype="tokens">Worker Slave</VisibleClasses>
  </Identity>
  <Loot>
    <xp>10</xp>
    <metal>5</metal>
  </Loot>
  <ResourceGatherer>
    <MaxDistance>2.0</MaxDistance>
    <BaseSpeed>1.0</BaseSpeed>
    <Rates>
      <food.fish>0.5</food.fish>
      <food.fruit>0.5</food.fruit>
      <food.grain>0.35</food.grain>
      <food.meat>1</food.meat>
      <wood.tree>1.0</wood.tree>
      <wood.ruins>5</wood.ruins>
      <stone.rock>1.0</stone.rock>
      <stone.ruins>5</stone.ruins>
      <metal.ore>1.0</metal.ore>
    </Rates>
    <Capacities>
      <food>10</food>
      <wood>10</wood>
      <stone>10</stone>
      <metal>10</metal>
    </Capacities>
  </ResourceGatherer>
  <TreasureCollector disable=""/>
  <Sound>
    <SoundGroups>
      <build>resource/construction/con_wood.xml</build>
      <gather_fruit>resource/foraging/forage_leaves.xml</gather_fruit>
      <gather_grain>resource/farming/farm.xml</gather_grain>
      <gather_wood>resource/lumbering/lumbering.xml</gather_wood>
      <gather_stone>resource/mining/pickaxe.xml</gather_stone>
      <gather_metal>resource/mining/mining.xml</gather_metal>
      <invalid_building_placement>interface/alarm/alarm_invalid_building_placement.xml</invalid_building_placement>
      <order_build>voice/{lang}/civ/civ_{phenotype}_build.xml</order_build>
      <order_repair>voice/{lang}/civ/civ_{phenotype}_repair.xml</order_repair>
      <trained>actor/singlesteps/steps_gravel_trained.xml</trained>
    </SoundGroups>
  </Sound>
</Entity>
