<?xml version="1.0" encoding="utf-8"?>
<Ragdoll type="Gundrone" texture="%ModDir%/Characters/Gun Drone/gun_drone.png" canentersubmarine="True" canwalk="False" spritesheetorientation="0" limbscale="0.75" jointscale="0.75" texturescale="0.75" colliderheightfromfloor="45" impacttolerance="50" draggable="True" mainlimb="Torso">
  <collider radius="96" width="1" name="Main Collider" height="0" />
  <limb id="0" name="Body" type="Torso" height="96" width="224" notes="" spriteorientation="NaN" flip="True" mirrorvertically="False" mirrorhorizontally="False" hide="False" attackpriority="1" steerforce="0" radius="0" density="10" ignorecollisions="False" angulardamping="7" pullpos="0,0" stepoffset="0,0" refjoint="-1" mouthpos="0,0" constanttorque="0" constantangle="0" scale="1" attackforcemultiplier="1" minseverancedamage="1" healthindex="0" friction="0.3" restitution="0.05">
    <sprite texture="" sourcerect="0,0,288,160" origin="0.5,0.5" depth="0.1" color="255,255,255,255" deadcolor="175,175,150,255" deadcolortime="0.1">
      <!--<StatusEffect type="OnDeath" target="This" setvalue="true" sourcerect="288,0,288,160" />-->
    </sprite>
    <damagemodifier armorsector="0,360" afflictiontypes="damage" damagemultiplier="0.5" damagesound="LimbArmor" deflectprojectiles="True" afflictionidentifiers="" probabilitymultiplier="1" />
    <damagemodifier armorsector="0,360" afflictiontypes="poison,bleeding,medical" damagemultiplier="0" damagesound="LimbArmor" deflectprojectiles="True" afflictionidentifiers="" probabilitymultiplier="0" />
    <damagemodifier armorsector="0,360" afflictionidentifiers="ek_drone_disarm" damagemultiplier="15" />
    <lightsource color="255,255,255,125" range="450">
      <lighttexture texture="%ModDir%/Characters/Gun Drone/gun_drone_lightmask.png" origin="0.5,0.5" size="1,1" />
      <sprite texture="%ModDir%/Characters/Gun Drone/gun_drone_lights.png" sourcerect="0,0,160,228" origin="0.73,0.48" size="1,1" />
    </lightsource>
  </limb>
  <limb id="1" name="Turret" type="Head" height="32" width="128" notes="" spriteorientation="NaN" flip="True" mirrorvertically="False" mirrorhorizontally="False" hide="False" attackpriority="0.5" steerforce="0" radius="0" density="10" ignorecollisions="False" angulardamping="7" pullpos="0,0" stepoffset="0,0" refjoint="-1" mouthpos="0,0" constanttorque="0" constantangle="0" scale="1" attackforcemultiplier="1" minseverancedamage="1" healthindex="0" friction="0.3" restitution="0.05">
    <VitalityMultiplier type="damage" multiplier="0.5" />
    <sprite texture="" sourcerect="0,160,160,64" origin="0.5,0.5" depth="0" color="255,255,255,255" deadcolor="180,165,150,255" deadcolortime="0.1">
      <!--<StatusEffect type="OnDeath" target="This" setvalue="true" sourcerect="160,160,160,64" />-->
    </sprite>
    <damagemodifier armorsector="0,360" afflictiontypes="damage" damagemultiplier="0.5" damagesound="LimbArmor" deflectprojectiles="True" afflictionidentifiers="" probabilitymultiplier="1" />
    <damagemodifier armorsector="0,360" afflictiontypes="poison,bleeding" damagemultiplier="0" damagesound="LimbArmor" deflectprojectiles="True" afflictionidentifiers="" probabilitymultiplier="0" />
    <attack context="Water" targettype="Character" hitdetectiontype="Distance" afterattack="FallBackUntilCanAttack" reverse="False" range="1100" damagerange="1200" duration="0.25" cooldown="0.25" secondarycooldown="0.1" cooldownrandomfactor="0.1" structuredamage="10" itemdamage="0" stun="0" onlyhumans="False" applyforceonlimbs="" force="20" torque="40" applyforcesonlyonce="True" targetimpulse="0" targetimpulseworld="0,0" targetforce="50" targetforceworld="0,0" severlimbsprobability="0.5" priority="0" structuresoundtype="StructureSlash" targetlimbtype="None" afterattackdelay="0.15" retreat="False" rootforceworldstart="0,0" rootforceworldmiddle="0,0" rootforceworldend="0,0" roottransitioneasing="Linear">
      <Affliction identifier="bleeding" strength="7" />
      <Affliction identifier="gunshotwound" strength="5" />
      <Sound file="%ModDir%/Items/Weapons/ek_drum_lmg_mono.ogg" range="1200" />
      <StatusEffect target="This" type="OnUse">
        <Explosion range="140.0" force="1" shockwave="false" smoke="false" flames="false" flash="true" sparks="false" underwaterbubble="false" camerashake="4.0" />
      </StatusEffect>
      <StatusEffect target="Limb" type="OnUse">
        <ParticleEmitter particle="bubbles" anglemin="0" anglemax="360" particleamount="1" velocitymin="0" velocitymax="50" scalemin="0.2" scalemax="0.4" distancemin="0" distancemax="128" />
      </StatusEffect>
    </attack>
  </limb>
  <joint name="Turret" limb1="0" limb2="1" limb1anchor="25,-40" limb2anchor="-22,0" canbesevered="False" severanceprobabilitymodifier="0" breaksound="gore" limitenabled="True" upperlimit="7.5" lowerlimit="-40" stiffness="0.25" scale="1" weldjoint="False" />
</Ragdoll>