<?xml version="1.0"?>
<eressea><equipment>

  <!-- one equipment-set per player-race for the first unit in a faction -->
  <set name="seed_dwarf">
    <item name="axe" amount="1"/>
    <item name="chainmail" amount="1"/>
    <skill name="melee" level="1"/>
  </set>

  <set name="seed_elf">
    <item name="fairyboot" amount="1"/>
    <callback name="equip_newunits"/>
  </set>

  <set name="seed_orc">
    <skill name="polearm" level="4"/>
    <skill name="melee" level="4"/>
    <skill name="crossbow" level="4"/>
    <skill name="catapult" level="4"/>
    <skill name="bow" level="4"/>
  </set>

  <set name="seed_goblin">
    <item name="roi" amount="1"/>
    <callback name="equip_newunits"/>
  </set>

  <set name="seed_human">
    <callback name="equip_newunits"/>
  </set>

  <set name="seed_troll">
    <skill name="building" level="1"/>
    <skill name="perception" level="3"/>
    <item name="stone" amount="50"/>
  </set>

  <set name="seed_demon">
    <skill name="stamina" level="15"/>
  </set>

  <set name="seed_insect">
    <item name="nestwarmth" amount="9"/>
  </set>

  <set name="seed_halfling">
    <skill name="trade" level="1"/>
    <skill name="riding" level="2"/>
    <item name="horse" amount="2"/>
    <item name="cart" amount="1"/>
    <item name="balm" amount="5"/>
    <item name="spice" amount="5"/>
    <item name="myrrh" amount="5"/>
    <item name="jewel" amount="5"/>
    <item name="oil" amount="5"/>
    <item name="silk" amount="5"/>
    <item name="incense" amount="5"/>
  </set>

  <set name="seed_cat">
    <item name="roi" amount="1"/>
    <callback name="equip_newunits"/>
  </set>

  <set name="seed_aquarian">
    <skill name="sailing" level="1"/>
    <callback name="equip_newunits"/>
  </set>

  <!-- equipment-sets for random encounters -->
  <set name="rand_desert">
    <skill name="melee" level="d2"/>
    <skill name="trade" level="d3"/>
    <skill name="riding" level="d2+1"/>
    <skill name="training" level="d2+1"/>
    <item name="horse" amount="1"/>
    <item name="sword" amount="1"/>
    <item name="money" amount="d30+19"/>
  </set>

  <set name="rand_swamp">
    <skill name="stealth" level="d3+1"/>
    <skill name="polearm" level="d3+1"/>
    <item name="spear" amount="1"/>
    <item name="money" amount="d20+9"/>
  </set>

  <set name="rand_glacier">
    <skill name="armorer" level="d2+1"/>
    <skill name="melee" level="d2+1"/>
    <item name="sword" amount="1"/>
    <item name="money" amount="d20+19"/>
  </set>

  <set name="rand_mountain">
    <skill name="armorer" level="d2+1"/>
    <skill name="melee" level="d2+1"/>
    <skill name="trade" level="d3"/>
    <item name="sword" amount="1"/>
    <item name="money" amount="d40+59"/>
    <subset chance="0.6">
      <set name="i_plate"/>
    </subset>
  </set>

  <set name="rand_highland">
    <skill name="melee" level="d2"/>
    <item name="sword" amount="1"/>
    <item name="money" amount="d10+19"/>
  </set>

  <set name="rand_forest">
    <skill name="stealth" level="d2"/>
    <skill name="perception" level="d2+1"/>
    <skill name="bow" level="d3+1"/>
    <item name="bow" amount="1"/>
    <item name="money" amount="d20+9"/>
    <subset chance="0.2">
      <set name="rand_herbalist"/>
    </subset>
  </set>

  <set name="rand_herbalist">
    <skill name="herbalism" level="d2"/>
  </set>

  <set name="rand_villagers">
    <item name="money" amount="d80+19"/>
    <skill name="cartmaking" level="d2-1"/>
    <skill name="mining" level="d2-1"/>
    <skill name="quarrying" level="d2-1"/>
    <skill name="forestry" level="d2-1"/>
    <item name="horse" amount="2"/>
    <item name="wagon" amount="d2-1"/>
    <item name="money" amount="d30+10"/>
  </set>

  <set name="rand_plain">
    <item name="money" amount="d80+19"/>
    <subset>
      <set name="rand_sword" chance="0.25"/>
      <set name="rand_spear" chance="0.25"/>
      <set name="rand_crossbow" chance="0.25"/>
      <set name="rand_bow" chance="0.25"/>
    </subset>
    <subset chance="0.4">
      <set name="i_chain"/>
    </subset>
    <subset chance="0.3">
      <set name="rand_rider"/>
    </subset>
  </set>

  <set name="rand_spear">
    <skill name="polearm" level="d3"/>
    <item name="spear" amount="1"/>
  </set>

  <set name="rand_sword">
    <skill name="melee" level="d3"/>
    <item name="sword" amount="1"/>
  </set>

  <set name="rand_crossbow">
    <skill name="crossbow" level="d3"/>
    <item name="crossbow" amount="1"/>
  </set>

  <set name="rand_bow">
    <skill name="bow" level="d3"/>
    <item name="bow" amount="1"/>
  </set>

  <set name="rand_rider">
    <item name="horse" amount="1"/>
    <skill name="riding" level="d3"/>
  </set>

  <set name="new_dracoid">
    <!-- dracoiden, von drachen rekrutiert -->
    <skill name="polearm" level="d4+2"/>
    <skill name="melee" level="d4+2"/>
    <skill name="bow" level="d3+1"/>
    <subset>
      <!-- dracoiden haben immer eine von drei waffen -->
      <set name="i_sword" chance="0.33"/>
      <set name="i_spear" chance="0.33"/>
      <set name="i_bow" chance="0.34"/>
    </subset>
  </set>

  <set name="rising_undead">
    <!-- untote, von den graebern auferstanden -->
    <item name="rustysword" amount="1"/>
    <item name="rustychainmail" amount="d2-1"/>
    <subset chance="0.3">
      <set name="i_rustyshield"/>
    </subset>
  </set>


  <!-- single-item sets (that can be given a percentage-chance in a subset) -->
  <set name="i_plate">
    <item name="plate" amount="1"/>
  </set>

  <set name="i_spear">
    <item name="spear" amount="1"/>
  </set>

  <set name="i_bow">
    <item name="bow" amount="1"/>
  </set>

  <set name="i_sword">
    <item name="sword" amount="1"/>
  </set>

  <set name="i_chain">
    <item name="chainmail" amount="1"/>
  </set>

  <set name="i_rustyshield">
    <item name="rustyshield" amount="1"/>
  </set>

  <set name="spo_dragon">
    <item name="dragonblood" amount="4"/>
    <item name="dragonhead" amount="1"/>
  </set>

  <set name="spo_youngdragon">
    <item name="dragonblood" amount="1"/>
  </set>

  <set name="spo_wyrm">
    <item name="dragonblood" amount="10"/>
    <item name="dragonhead" amount="1"/>
  </set>

  <!-- sets that are used by the monster-spawning code -->
  <set name="seed_dragon">
    <skill name="magic" level="4"/>
    <skill name="stealth" level="1"/>
    <skill name="stamina" level="1"/>
    <skill name="perception" level="d3"/>
    <item name="money" amount="d500+99"/>
  </set>

  <set name="seed_braineater">
    <skill name="stealth" level="1"/>
    <skill name="perception" level="1"/>
  </set>

  <set name="seed_seaserpent">
    <skill name="magic" level="4"/>
    <skill name="stealth" level="2"/>
    <skill name="stamina" level="1"/>
    <skill name="perception" level="3"/>
  </set>

  <set name="new_orc">
    <skill name="polearm" level="1"/>
    <skill name="melee" level="1"/>
  </set>

  <set name="spo_seaserpent">
    <item name="dragonblood" amount="6"/>
    <item name="seaserpenthead" amount="1"/>
  </set>

</equipment>
</eressea>