<?xml version="1.0" encoding="utf-8" ?>
<Ragdoll type="Legacyendworm" jointscale="2.0" limbscale="2.0" canentersubmarine="false" canwalk="False" texture="Content/Characters/Legacyendworm/endworm.png">

  <collider radius="300" height="400"/>
    
  <!-- head -->
  <limb id = "0" radius="250" type="Head" steerforce="3.0">
    <sprite sourcerect="0,478,720,546" depth="0.05"/>
  </limb>

  <!-- body -->
  <limb id = "1" radius="300" type="Torso">
    <sprite sourcerect="0,0,702,448" depth="0.01" origin="0.5,0.5"/>
  </limb>

  <!-- body -->
  <limb id = "2" radius="300" type="Torso" steerforce="0.0">
    <sprite sourcerect="0,0,702,448" depth="0.02" origin="0.5,0.5"/>
  </limb>

  <limb id = "3" radius="300" type="Torso" steerforce="0.0">
    <sprite sourcerect="0,0,702,448" depth="0.03" origin="0.5,0.5"/>
  </limb>

  <limb id = "4" radius="300" type="Tail" steerforce="0.0">
    <sprite sourcerect="0,0,702,448" depth="0.04" origin="0.5,0.5"/>
  </limb>

  <limb id = "5" radius="300" type="Tail" steerforce="0.0">
    <sprite sourcerect="0,0,702,448" depth="0.05" origin="0.5,0.5"/>
  </limb>

  <limb id = "6" radius="300" type="Tail" steerforce="0.0">
    <sprite sourcerect="0,0,702,448" depth="0.06" origin="0.5,0.5"/>
  </limb>

  <limb id = "7" radius="150" type="Tail" steerforce="0.0">
    <sprite sourcerect="704,0,320,400" depth="0.07" origin="0.5,0.5"/>
  </limb>

  <limb id = "8" width="50" height="320">
    <sprite sourcerect="755,552,137,470" depth="0.08" origin="0.5,0.5"/>
    <attack range="1000" hitdetectiontype="Contact" duration="0.25" force="100" torque="-100" structuredamage="500" structuresoundtype="StructureBlunt">
      <Affliction identifier="bitewounds" strength="30"/>
      <Affliction identifier="stun" strength="5"/>        
    </attack>
  </limb>
    
  <limb id = "9" width="50" height="320">
    <sprite sourcerect="892,552,137,470" depth="0.08" origin="0.6,0.5"/>
    <attack range="1000" hitdetectiontype="Contact" duration="0.25" force="100" torque="100" structuredamage="500" structuresoundtype="StructureBlunt">
      <Affliction identifier="bitewounds" strength="30"/>
      <Affliction identifier="stun" strength="5"/>
    </attack>
  </limb>        

  <!-- head to body -->
  <joint limb1="0" limb1anchor="0,-80" limb2="1" limb2anchor="0,170" lowerlimit="-10" upperlimit="10"/>

  <joint limb1="1" limb1anchor="0,-160" limb2="2" limb2anchor="0,160" lowerlimit="-30" upperlimit="30"/>

  <joint limb1="2" limb1anchor="0,-160" limb2="3" limb2anchor="0,160" lowerlimit="-30" upperlimit="30"/>

  <joint limb1="3" limb1anchor="0,-160" limb2="4" limb2anchor="0,160" lowerlimit="-30" upperlimit="30"/>

  <joint limb1="4" limb1anchor="0,-160" limb2="5" limb2anchor="0,160" lowerlimit="-30" upperlimit="30"/>

  <joint limb1="5" limb1anchor="0,-160" limb2="6" limb2anchor="0,160" lowerlimit="-30" upperlimit="30"/>

  <joint limb1="6" limb1anchor="0,-160" limb2="7" limb2anchor="100,0" lowerlimit="80" upperlimit="100"/>

  <joint limb1="0" limb1anchor="-160,50" limb2="8" limb2anchor="0,-200" lowerlimit="-20" upperlimit="50"/>

  <joint limb1="0" limb1anchor="160,50" limb2="9" limb2anchor="0,-200" lowerlimit="-50" upperlimit="20"/>
</Ragdoll>
