<?xml version="1.0" encoding="utf-8"?>
<Character speciesname="Humanshambler" displayname="" husk="True" humanoid="True" nonhuskedspecies="human" hasinfo="True" usehuskappendage="False" needsair="False" genders="true" canspeak="True" blooddecal="blackblood" group="husk" needswater="False" noise="100" visibility="100" bleedparticleair="blackblood" bleedparticlewater="blackwaterblood" eatingspeed="10" pathfinderpriority="1" hideinsonar="False" speciestranslationoverride="husk" sonardisruption="0" bleedparticlemultiplier="1" distantsonarrange="0" disabledistance="25000" caninteract="True" usebosshealthbar="False" caneat="False" usepathfinding="True" hideinthermalgoggles="False" soundinterval="10" despawncontainer="despawncontainer">
  <ragdolls folder="default" />
  <animations folder="default" />
  <huskappendage affliction="huskheadhijacking1" path="%ModDir:Improved Husks%/Characters/Humanshambler/Shamblerheadlatched.xml" />
  <bloodemitter particle="blackblood" particleamount="5" anglemin="0" anglemax="0" scalemin="1" scalemax="1" velocitymin="0" velocitymax="0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
  <bloodemitter particle="blackwaterblood" particleamount="1" anglemin="0" anglemax="0" scalemin="1" scalemax="1" velocitymin="0" velocitymax="0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
  <gibemitter particle="blackgib" particleamount="10" velocitymin="50" velocitymax="500" anglemin="0" anglemax="360" scalemin="1" scalemax="1" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
  <gibemitter particle="blackgib" particleamount="10" velocitymin="50" velocitymax="500" anglemin="0" anglemax="360" scalemin="1" scalemax="1" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
  <health usehealthwindow="True" vitality="200" crushdepth="Infinity" doesbleed="True" bleedingreduction="30" burnreduction="0" constanthealthregeneration="1" healthregenerationwheneating="0" stunimmunity="False" applyafflictioncolors="False">
    <MedUISilhouette texture="Content/UI/Health/MedUI_Silhouette.png" columns="8" rows="2" sourcerect="0,0,1008,748" />
    <MedUIExtra texture="Content/UI/Health/MedUIExtra.png" columns="4" rows="4" sourcerect="0,0,1024,1024" />
    <Limb name="Head">
      <Sprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="1,0,126,374" highlightarea="41,0,45,54" />
      <Highlightsprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="1,515,126,374" />
      <VitalityMultiplier type="damage" multiplier="2.0" />
    </Limb>
    <Limb name="Torso">
      <Sprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="631,0,126,374" highlightarea="29,56,70,134" />
      <Highlightsprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="631,515,126,374" />
    </Limb>
    <Limb name="LeftArm">
      <Sprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="379,0,126,374" highlightarea="1,69,27,140" />
      <Highlightsprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="379,515,126,374" />
      <VitalityMultiplier type="damage" multiplier="0.5" />
    </Limb>
    <Limb name="RightArm">
      <Sprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="127,0,126,374" highlightarea="100,69,27,140" />
      <Highlightsprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="127,515,126,374" />
      <VitalityMultiplier type="damage" multiplier="0.5" />
    </Limb>
    <Limb name="LeftLeg">
      <Sprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="505,0,126,374" highlightarea="3,180,57,194" />
      <Highlightsprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="505,515,126,374" />
      <VitalityMultiplier type="damage" multiplier="0.5" />
    </Limb>
    <Limb name="RightLeg">
      <Sprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="253,0,126,374" highlightarea="68,180,57,194" />
      <Highlightsprite texture="Content/UI/Health/MedUIAtlas.png" sourcerect="253,515,126,374" />
      <VitalityMultiplier type="damage" multiplier="0.5" />
    </Limb>
  </health>
  <name firstname="Content/Characters/Human/firstnames_[GENDER].txt" lastname="Content/Characters/Human/lastnames.txt" />
  <ai combatstrength="150" sight="1" hearing="2" aggressiveboarding="True" attackwhenprovoked="True" aggressiongreed="5" aggressionhurt="150" canopendoors="True" targetouterwalls="False" fleehealththreshold="0" avoidgunfire="True" avoidtime="3" minfleetime="20" enforceaggressivebehaviorformissions="True" randomattack="True" avoidabyss="False" stayinabyss="False" startaggression="0" maxaggression="100" aggressioncumulation="0" keepdoorsclosed="False" patrolflooded="True" patroldry="True" walltargetingmethod="Target">
    <target tag="decoy" state="Attack" priority="500" reactdistance="0" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" ignoreincapacitated="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="provocative" state="Attack" priority="100" reactdistance="0" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" ignoreincapacitated="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="weapon" state="Attack" priority="100" reactdistance="0" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" ignoreincapacitated="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="human" state="Attack" priority="80" reactdistance="0" ignoreincapacitated="True" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="stronger" state="Attack" priority="80" reactdistance="0" ignoreincapacitated="True" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="weaker" state="Attack" priority="80" reactdistance="0" ignoreincapacitated="True" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="nasonov" state="Attack" priority="70" reactdistance="0" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" ignoreincapacitated="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="sonar" state="Attack" priority="30" reactdistance="0" ignoreinside="True" attackdistance="0" timer="0" ignorecontained="False" ignoreoutside="False" ignoreifnotinsamesub="False" ignoreincapacitated="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
    <target tag="room" state="Attack" priority="10" reactdistance="0" attackdistance="0" timer="0" ignorecontained="False" ignoreinside="False" ignoreoutside="False" ignoreifnotinsamesub="False" ignoreincapacitated="False" damagethreshold="0" attackpattern="Straight" sweepdistance="0" sweepstrength="10" sweepspeed="1" circlestartdistance="5000" circlerotationspeed="1" circlestrikedistancemultiplier="5" circlemaxrandomoffset="0" threshold="0" thresholdmin="-1" thresholdmax="-1" offset="0,0" />
  </ai>
  <inventory arrowslot="9" slots="Card, Headset, Head, InnerClothes, OuterClothes, LeftHand, RightHand, Bag, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any" accessiblewhenalive="False" accessiblebyowner="True" commonness="1" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/idle1.ogg" state="Idle" range="1000" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/idle2.ogg" state="Idle" range="1000" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/idle3.ogg" state="Idle" range="1000" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/idle4.ogg" state="Idle" range="1000" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/attack1.ogg" state="Attack" range="1500" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/attack2.ogg" state="Attack" range="1500" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/attack3.ogg" state="Attack" range="1500" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/damage1.ogg" state="Damage" range="1000" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/damage2.ogg" state="Damage" range="1000" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/damage3.ogg" state="Damage" range="1000" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/death1.ogg" state="Die" range="1500" volume="1" gender="None" />
  <sound file="%ModDir:Improved Husks%/Characters/Humanshambler/death2.ogg" state="Die" range="1500" volume="1" gender="None" />
  <StatusEffect type="Always" target="This" checkconditionalalways="true" comparison="and">
    <Conditional isdead="false" />
    <Affliction identifier="shamblermutation1" strength="50" />
  </StatusEffect>
  <!-- The status effects below will check for all items in the shambler's inventory. The status effects are run starting from the one with the least amount of delay. -->
  <StatusEffect type="Always" target="This" comparison="and" delay="1.3" checkconditionalalways="true" stackable="false">
    <Affliction identifier="shamblerarmed" amount="500" />
    <SpawnItem identifier="shamblershotgun" spawnposition="ThisInventory" equip="true" />
    <Conditional shamblerarmed="eq 0" />
    <Requireditem item="shotgun" type="picked" allowvariants="true" />
    <!-- If a shotgun is found, it will be the weapon used by the shambler. If it isn't found, move onto the next status effect etc.-->
  </StatusEffect>
  <StatusEffect type="Always" target="This" comparison="and" delay="1.32" checkconditionalalways="true" stackable="false">
    <Affliction identifier="shamblerarmed" amount="500" />
    <SpawnItem identifier="shamblersmg" spawnposition="ThisInventory" equip="true" />
    <Conditional shamblerarmed="eq 0" />
    <Requireditem item="smg" type="picked" allowvariants="true" />
  </StatusEffect>
  <StatusEffect type="Always" target="This" comparison="and" delay="1.34" checkconditionalalways="true" stackable="false">
    <Affliction identifier="shamblerarmed" amount="500" />
    <SpawnItem identifier="shamblerrevolver" spawnposition="ThisInventory" equip="true" />
    <Conditional shamblerarmed="eq 0" />
    <Requireditem item="revolver" type="picked" allowvariants="true" />
  </StatusEffect>
  <StatusEffect type="Always" target="This" comparison="and" delay="1.36" checkconditionalalways="true" stackable="false">
    <Affliction identifier="shamblerarmed" amount="500" />
    <SpawnItem identifier="shamblerharpoongun" spawnposition="ThisInventory" equip="true" />
    <Conditional shamblerarmed="eq 0" />
    <Requireditem item="harpoongun" type="picked" allowvariants="true" />
  </StatusEffect>
  <StatusEffect type="OnSpawn" target="This" targetlimb="Head" stackable="false">
    <SpawnItem identifier="huskmutanthumanheadhijackparticleend" spawnposition="This" count="1" />
  </StatusEffect>
</Character>