<?xml version="1.0" encoding="utf-8" ?>

<Items>
  <Item
    name="Spear"
    pickdistance="200"
    price="50">

    <Sprite texture ="spear.png" depth="0.55"/>

    <Body width="64" height="5" density="20"/>

    <Pickable slots="Any"/>
    <Projectile launchimpulse="20.0" doesstick="true">
      <Attack damage="20" bleedingdamage="2" structuredamage="50" damagetype="Blunt"/>
    </Projectile>
  </Item>
  
  <Item
    name="Harpoon Gun"
    pickdistance="200"
    price="500">
  
    <Sprite texture ="harpoongun.png" depth="0.5"/>

    <Body width="90" height="30" density="10"/>

    <Holdable slots="Any,BothHands" holdpos="35,-10" aimpos="35,-10" handle1="-15,-6" handle2="26,7"/>
    
    <RangedWeapon barrelpos="49,10">
      <Sound file="harpoon1.ogg" type="OnUse"/>
      <Sound file="harpoon2.ogg" type="OnUse"/>
      <RequiredItems name="Spear" type="Contained" msg="Spear required to shoot"/>
      <RequiredSkill name="Weapons" level="30"/>
    </RangedWeapon>

    <ItemContainer itempos="27,10" iteminterval="0,-8" hideitems="false">
      <Containable name="Spear"/>
    </ItemContainer>
  </Item>

  <Item
    name="Stun Grenade"
    pickdistance="200"
    price="200"
    tags="smallitem">

    <Sprite texture ="stungrenade.png" depth="0.5"/>

    <Body width="11" height="24" density="15" friction="0.8f"/>

    <Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="5.0" aimpos="35,-10">
      <StatusEffect type="OnUse" target="This" Condition="-100.0" delay="3.0" sound="Content/Items/Weapons/stunGrenade.ogg">
        <Explosion range="5" damage="5" stun="10" force="0.1"/>
      </StatusEffect>
    </Throwable>
  </Item>

  <Item
    name="Stun Baton"
    Tags="smallitem"
    pickdistance="150"
    price="100">

    <Sprite texture="harpoongun.png"  depth="0.5"/>
    
    <Body width="90" height="30" density="10"/>

    <MeleeWeapon slots="Any,RightHand,LeftHand"
              aimpos="50,0" handle1="-15,-6" holdangle="100">
      <Attack stun="10.0" sound="Content/Items/Electricity/zap1.ogg">
        <ParticleEmitter particle="spark" velocitymin="100" velocitymax="200" anglemin="0" anglemax="360" particleamount="10"/>
      </Attack>
    </MeleeWeapon>
  </Item>
</Items>


