Files
BarotraumaModServer/LocalMods/Thalassophobia Restored/Characters/Maggot/maggot_items.xml
T

89 lines
8.0 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<!-- maggot hive spawned by fully fed maggot -->
<Item name="Maggot Hive" identifier="thal_maggothive_small" category="Equipment" cargocontaineridentifier="metalcrate" tags="smallitem" scale="0.5" health="20" hideinmenus="false" noninteractable="false" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbyrepairtools="true" damagedbymeleeweapons="true" isshootable="true">
<Sprite name="hivefront" texture="%ModDir%/Items/Gardening/GrowablePlants_Temp.png" sourcerect="241,239,102,96" origin="0.5,0.5" depth="0.6" />
<DecorativeSprite name="hivehole" texture="%ModDir%/Items/Gardening/GrowablePlants_Temp.png" sourcerect="418,256,51,64" origin="0.5,0.5" depth="0.62" />
<DecorativeSprite name="hivemag" texture="%ModDir%/Items/Gardening/GrowablePlants_Temp.png" sourcerect="350,259,47,55" origin="0.5,0.5" depth="0.61" offset="9,9" offsetanim="Noise" offsetanimspeed="2" />
<DecorativeSprite name="hivemag2" texture="%ModDir%/Items/Gardening/GrowablePlants_Temp.png" sourcerect="493,259,47,55" origin="0.5,0.5" depth="0.61" offset="9,9" offsetanim="Noise" offsetanimspeed="1" />
<Body width="40" radius="30" density="15" bodytype="Kinematic" />
<LightComponent lightcolor="255,255,150,00" range="0" powerconsumption="0" allowingameediting="false" castshadows="false" IsOn="true">
<StatusEffect type="Always" target="This" scale="0.03">
<sound file="%ModDir%/Map/Thalamus/eye.ogg" range="500.0" loop="true" />
</StatusEffect>
<!--Destroyed-->
<StatusEffect type="OnDeath" target="This">
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs2.ogg" range="900" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs3.ogg" range="900" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs4.ogg" range="900" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs5.ogg" range="900" selectionmode="Random" />
<ParticleEmitter particle="organeruption" particleamount="50" scalemin="0.5" scalemax="1" velocitymin="100" velocitymax="500" anglemin="0" anglemax="360" />
<ParticleEmitter particle="heavygib" drawontop="true" particleamount="1" scalemin="1" scalemax="1" velocitymin="0" velocitymax="0" anglemin="0" anglemax="360" />
<ParticleEmitter particle="gib" particleamount="10" scalemin="0.25" scalemax="1" velocitymin="100" velocitymax="300" anglemin="0" anglemax="360" />
<ParticleEmitter particle="bloodsplash" particleamount="5" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1" />
<ParticleEmitter particle="whitegoosplash" particleamount="5" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1" />
<SpawnItem identifier="antibloodloss1" spawnposition="This" />
<Remove />
</StatusEffect>
<!--Burst -->
<StatusEffect type="Always" target="This" delay="1.0" stackable="false">
<Conditional scale="gt 0.75" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs2.ogg" range="900" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs3.ogg" range="900" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs4.ogg" range="900" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs5.ogg" range="900" selectionmode="Random" />
<ParticleEmitter particle="organeruption" particleamount="50" scalemin="0.5" scalemax="1" velocitymin="100" velocitymax="500" anglemin="0" anglemax="360" />
<ParticleEmitter particle="heavygib" drawontop="true" particleamount="1" scalemin="1" scalemax="1" velocitymin="0" velocitymax="0" anglemin="0" anglemax="360" />
<ParticleEmitter particle="gib" particleamount="6" scalemin="0.25" scalemax="1" velocitymin="100" velocitymax="300" anglemin="0" anglemax="360" />
<ParticleEmitter particle="whitegoosplash" particleamount="6" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1" />
<SpawnCharacter speciesname="maggot" count="1" spread="0" />
<Explosion range="100" force="10" stun="2" flash="false" shockwave="false" sparks="false" flames="false" smoke="false" camerashake="3" underwaterbubble="true" structuredamage="0" itemdamage="0" flashrange="0" flashduration="0"></Explosion>
<Remove />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
<StatusEffect type="OnDamaged" target="This">
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs6.ogg" range="800" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs7.ogg" range="800" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs8.ogg" range="800" selectionmode="Random" />
<Sound file="Content/Map/Thalamus/Sounds/CARRIER_organs9.ogg" range="800" selectionmode="Random" />
<ParticleEmitter particle="bloodsplash" particleamount="1" scalemin="1" scalemax="1.5" velocitymin="0" velocitymax="100" anglemin="0" anglemax="360" />
<ParticleEmitter particle="waterblood" particleamount="1" anglemin="0" anglemax="360" scalemin="2" scalemax="4" />
<ParticleEmitter particle="gib" particleamount="4" scalemin="0.25" scalemax="1" velocitymin="100" velocitymax="300" anglemin="0" anglemax="360" />
</StatusEffect>
</LightComponent>
</Item>
<!-- Name: Maggot Medical -->
<!-- Maggots will eat away any infected tissue but slightly hurt the player. -->
<!-- *************************************************************************************************************************************************************************** -->
<maggotmed name="Medical Maggot" description="This maggot doesnt attack the player, instead it prefers eating away infected tissue." identifier="thal_maggotmed" category="Medical" maxstacksize="32" maxstacksizecharacterinventory="8" Tags="smallitem,chem,medical,syringe" cargocontaineridentifier="mediccrate" scale="0.25" useinhealthinterface="true" RequireAimToUse="True">
<Sprite texture="%ModDir%/Items/Jobgear/Scientist/GeneLimbs/maggot.png" sourcerect="215,168,32,367" depth="0.6" origin="0.5,0.5" />
<SuitableTreatment type="infection" suitability="90" />
<Body width="35" height="65" density="10.2" waterdragcoefficient="1" />
<MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="220" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
<RequiredSkill identifier="medical" level="15" />
<StatusEffect type="OnSuccess" target="This" Condition="-100.0" setvalue="true" />
<StatusEffect type="OnFailure" target="This" Condition="-100.0" setvalue="true" />
<StatusEffect type="OnSuccess" target="UseTarget">
<Conditional entitytype="eq Character" />
<sound file="%ModDir%/Map/Thalamus/eye.ogg" range="500.0" />
</StatusEffect>
<StatusEffect type="OnFailure" target="UseTarget">
<Conditional entitytype="eq Character" />
<sound file="%ModDir%/Map/Thalamus/eye.ogg" range="500.0" />
</StatusEffect>
<StatusEffect tags="medical" type="OnSuccess" target="Limb" duration="60">
<Affliction identifier="damage" amount="0.20" />
<ReduceAffliction identifier="infection" amount="2.5" />
</StatusEffect>
<StatusEffect tags="medical" type="OnFailure" target="Limb" duration="60">
<Affliction identifier="damage" amount="0.25" />
<ReduceAffliction identifier="infection" amount="2" />
</StatusEffect>
<!-- Remove the item when fully used -->
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</MeleeWeapon>
<SkillRequirementHint identifier="medical" level="15" />
</maggotmed>
</Items>