Files
BarotraumaModServer/LocalMods/Thalassophobia Restored/Items/Jobgear/Scientist/GeneLimbs/Crawlerhead.xml
T

33 lines
3.1 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<huskappendage>
<limb id="13" name="CrawlerHead" type="None" width="10" height="3" notes="" flip="True" healthindex="1" attackpriority="2" steerforce="5" stepoffset="0,0" radius="20" mass="0" density="1" pullpos="0,0" refjoint="-1" ignorecollisions="False" friction="0.3" restitution="0.05" spriteorientation="NaN" mirrorvertically="False" mirrorhorizontally="False" hide="False" angulardamping="7" mouthpos="4,-3" constanttorque="0" constantangle="0" scale="0.8" attackforcemultiplier="1" minseverancedamage="0.8" severedfadeouttime="10" applytailangle="False" applysinemovement="True">
<sprite sourcerect="162,7,97,78" origin="0.44556922,0.5" depth="0.03" color="255,255,255,255" ignoretint="true" deadcolor="255,255,255,255" deadcolortime="0" texture="Content/Characters/Crawler/crawler.png" />
<attack context="Any" cooldown="2" afterattack="Pursue" range="50" damagerange="50" duration="0.2" structuredamage="0" itemdamage="0" structuresoundtype="StructureSlash" targetforce="0" severlimbsprobability="0.3" torque="100" force="30" applyforceonlimbs="1, 3" targettype="Any" hitdetectiontype="Distance" stun="0" onlyhumans="False" applyforcesonlyonce="True" targetimpulse="20" targetimpulseworld="0,0" targetforceworld="0,-5" stickchance="0" priority="1" secondarycooldown="0" cooldownrandomfactor="0.5" reverse="False" targetlimbtype="None" afterattackdelay="0" retreat="False" rootforceworldstart="0,0" rootforceworldmiddle="0,0" rootforceworldend="0,0" roottransitioneasing="Linear">
<Affliction identifier="stun" strength="1" probability="1" />
<Affliction identifier="bitewounds" strength="10" probability="1" />
<Affliction identifier="bleeding" strength="2" probability="0.4" />
<StatusEffect type="OnUse" target="This,UseTarget" Comparison="And">
<!-- vampire effect is target is alive -->
<Conditional IsDead="false" />
<ReduceAffliction identifier="damage" strength="6" />
<ReduceAffliction identifier="bleeding" strength="2" />
</StatusEffect>
<!-- Re-inflict healed damage on victim -->
<!-- TODO: STEM Merger/Cooking: make crawler function like a cleaver where meat can be torn off of dead bodies -->
<StatusEffect type="Always" target="This" Comparison="And">
<!-- UPGRADE: no food poisoning -->
<ReduceAffliction identifier="thal_foodpoisoning" strength="10" />
<Conditional thal_disordercrawler="gt 0" />
<Conditional thal_foodpoisoning="gt 0" />
</StatusEffect>
</attack>
<!--
<lightsource color="255,255,255,255" range="30" offset="0,0" castshadows="false">
<lighttexture texture="Content/Lights/pointlight_bright.png" origin="0.5,0.5" size="1,1" />
<deformablesprite texture="Content/Characters/Watcher/gazerage.png" sourcerect="124,0,100,54" origin="0.5,0.5" size="1,1" />
</lightsource>
-->
</limb>
<!-- Head to husk appendage -->
<joint name="Head to Mudraptor Append" limb1="1" limb2="13" limb1anchor="2,-1" limb2anchor="-2,0" upperlimit="0" weldjoint="true" lowerlimit="-10" canbesevered="False" limitenabled="True" />
</huskappendage>