Files
BarotraumaModServer/LocalMods/Thalassophobia Restored/Items/Jobgear/Clown/mime.xml
T

149 lines
12 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<!-- MIME STUFF BEGIN -->
<!-- invisible item spawned with the mime job that gives mime affliction and destroys itself -->
<Item name="mimeinflictor" identifier="thal_mimeinflictor" category="Equipment" cargocontaineridentifier="metalcrate" tags="smallitem" description="" scale="0.5" showinmenus="false" hideinmenus="true">
<Sprite name="Mime Beret" texture="%ModDir%/Items/Jobgear/headgears.png" depth="0.6" sourcerect="306,324,30,63" origin="0.5123859,0.53692484" scale="0.5" />
<Body width="40" radius="30" density="15" />
<Wearable limbtype="Head" slots="Bag" msg="ItemMsgPickUpSelect">
<sprite name="Mime Beret Wearable" texture="%ModDir%/Items/Jobgear/headgears.png" limb="Head" inheritlimbdepth="true" inherittexturescale="true" depth="0.6" sourcerect="307,326,88,98" origin="0.5127118,0.49999988" />
<StatusEffect type="Always" target="This, Parent, Character">
<Affliction identifier="thal_mimeaffliction" strength="200" amount="200" />
<RemoveItem />
</StatusEffect>
</Wearable>
</Item>
<Item nameidentifier="vent" identifier="thal_vent" category="Machine" linkable="true" allowedlinks="oxygenerator" Tags="smallitem,weapon,vent" cargocontaineridentifier="metalcrate" scale="0.4" impactsoundtag="impact_metal_light">
<Sprite texture="Content/Items/OxygenGenerator/oxygengenerator.png" depth="0.91" sourcerect="848,16,143,143" />
<DecorativeSprite texture="Content/Items/OxygenGenerator/oxygengenerator.png" depth="0.92" sourcerect="852,180,121,121" rotationspeed="360" />
<Body width="40" radius="30" density="15" />
<Holdable selectkey="Select" pickkey="Use" slots="Any,RightHand,LeftHand" PickingTime="5.0" aimpos="85,-10" handle1="0,0" attachable="True" attachedbydefault="true" aimable="True" />
<Controller UserPos="0,-20" direction="Right" canbeselected="true" AllowSelectingWhenSelectedByOther="false" selectkey="Use" drawuserbehind="true" msg="itemmsggoinside">
<limbposition limb="Head" position="74,-40" />
<limbposition limb="Torso" position="74,-40" />
<limbposition limb="Waist" position="74,-40" />
<limbposition limb="LeftHand" position="74,-40" />
<limbposition limb="RightHand" position="74,-40" />
<limbposition limb="RightLeg" position="74,-40" />
<limbposition limb="LeftLeg" position="74,-40" />
<limbposition limb="RightFoot" position="74,-40" />
<limbposition limb="LeftFoot" position="74,-40" />
<StatusEffect type="OnActive" targettype="Character" delay="0.25" stackable="true" indetectable="true" DisableFocusingOnEntities="true" invisibletimer="0.1" IgnoreMeleeWeapons="true" setvalue="true" />
<!--sound file="Content/Items/OxygenGenerator/Ventilation.ogg" type="Always" range="400.0" volumeproperty="OxygenFlow" volume="0.0005f" loop="true"/-->
</Controller>
</Item>
<Item name="" identifier="thal_mimeberet" category="Equipment" cargocontaineridentifier="metalcrate" tags="smallitem" scale="0.4">
<Sprite name="Mime Beret" texture="%ModDir%/Items/Jobgear/headgears.png" depth="0.1" sourcerect="306,324,85,63" origin="0.5123859,0.53692484" scale="0.5" />
<Body width="40" radius="30" density="15" />
<Deconstruct time="10">
<Item identifier="bikehorn" />
</Deconstruct>
<Wearable limbtype="Head" slots="Any,Head" msg="ItemMsgPickUpSelect">
<sprite name="Mime Beret Wearable" texture="%ModDir%/Items/Jobgear/headgears.png" limb="Head" inheritlimbdepth="false" inherittexturescale="false" depth="0.1" sourcerect="307,326,88,98" origin="0.5127118,0.49999988" scale="0.4" />
</Wearable>
</Item>
<Item name="" identifier="thal_mimecostume" category="Equipment" cargocontaineridentifier="metalcrate" tags="smallitem" impactsoundtag="impact_soft" scale="0.5">
<InventoryIcon name="Mime Costume Icon" texture="%ModDir%/Items/Jobgear/OutfitIcons.png" sourcerect="129,413,128,101" origin="0.5,0.5" />
<Sprite name="Mime Costume (floor)" texture="%ModDir%/Items/Jobgear/MiscJobGear.png" sourcerect="199,164,195,68" depth="0.6" origin="0.5,0.5" />
<Body width="100" height="50" density="30" friction="0.8" restitution="0.01" mass="30000" />
<Deconstruct time="40">
<Item identifier="bikehorn" />
<Item identifier="bikehorn" />
<Item identifier="bikehorn" />
</Deconstruct>
<Wearable slots="Any,InnerClothes" msg="ItemMsgPickUpSelect">
<StatusEffect type="OnWearing" target="Character" SpeedMultiplier="1.25" setvalue="true">
<Conditional HasStatusTag="mimepowers" />
</StatusEffect>
<sprite name="Mime Facepaint" texture="%ModDir%/Items/Jobgear/headgears.png" limb="Head" hidelimb="false" inherittexturescale="false" sourcerect="305,208,88,98" origin="0.44876727,0.51072276" depth="0.601" scale="0.4" />
<sprite name="Mime Torso" texture="mime.png" limb="Torso" hidelimb="false" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Right Hand" texture="mime.png" limb="RightHand" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Left Hand" texture="mime.png" limb="LeftHand" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Right Lower Arm" texture="mime.png" limb="RightArm" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Left Lower Arm" texture="mime.png" limb="LeftArm" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Right Upper Arm" texture="mime.png" limb="RightForearm" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Left Upper Arm" texture="mime.png" limb="LeftForearm" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Waist" texture="mime.png" limb="Waist" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Right Thigh" texture="mime.png" limb="RightThigh" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Left Thigh" texture="mime.png" limb="LeftThigh" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Right Leg" texture="mime.png" limb="RightLeg" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Left Leg" texture="mime.png" limb="LeftLeg" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" />
<sprite name="Mime Left Shoe" texture="mime.png" limb="LeftFoot" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" sound="footstep_clown" />
<sprite name="Mime Right Shoe" texture="mime.png" limb="RightFoot" hidelimb="true" inherittexturescale="true" inheritorigin="true" inheritsourcerect="true" sound="footstep_clown" />
<!-- HENK -->
<damagemodifier afflictiontypes="damage" armorsector="0.0,360.0" damagesound="LimbClown" />
</Wearable>
</Item>
<Item name="" identifier="thal_invisiblewall" category="Equipment" tags="smallitem" cargocontaineridentifier="metalcrate" impactsoundtag="impact_soft" scale="1">
<PreferredContainer primary="locker" />
<InventoryIcon name="inventory inviswall" texture="%ModDir%/Items/Jobgear/Clown/clown.png" sourcerect="330,4,76,79" origin="0.5,0.5" />
<Sprite name="Sprite Invisible Wall" texture="%ModDir%/Items/Jobgear/Clown/clown.png" sourcerect="340,87,39,24" origin="0.5,0.5" depth="0.55" />
<Body width="40" height="160" density="30" />
<Holdable slots="Any,RightHand+LeftHand" aimpos="60,-30" holdpos="45,-30" handle1="-10,20" handle2="-10,-5" controlpose="true" blocksplayers="true" msg="ItemMsgPickUpSelect">
<StatusEffect type="OnActive" target="UseTarget, This" condition="-2000">
<Affliction identifier="thal_silenced" amount="2" />
</StatusEffect>
<StatusEffect type="OnActive" target="Character, This" condition="100" setvalue="true">
<Conditional HasStatusTag="mimepowers" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</Holdable>
</Item>
<Item name="" identifier="thal_mimespray" category="Equipment" Tags="smallitem,mime" cargocontaineridentifier="metalcrate" Scale="0.32" impactsoundtag="impact_metal_light">
<!--<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="64,64,64,64" />-->
<InventoryIcon texture="%ModDir%/Items/Jobgear/Clown/clown.png" name="mimespray invent" sourcerect="255,-1,58,80" origin="0.5,0.5" />
<Sprite texture="%ModDir%/Items/Jobgear/Clown/clown.png" name="mimespray sprite" sourcerect="259,77,75,105" depth="0.55" origin="0.5,0.5" />
<!-- physics body -->
<Body width="30" height="90" density="10" />
<Holdable slots="Any,RightHand,LeftHand" controlpose="true" aimpos="50,0" handle1="0,0" msg="ItemMsgPickUpSelect">
<StatusEffect type="OnActive" target="UseTarget, This" condition="-2000">
<Affliction identifier="thal_silenced" amount="2" />
</StatusEffect>
<StatusEffect type="OnActive" target="Character, This" condition="100" setvalue="true">
<Conditional HasStatusTag="mimepowers" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</Holdable>
<RepairTool structurefixamount="0.0" usablein="Air" range="400" barrelpos="5,15" fireprobability="0.0" repairmultiple="true" repairthroughwalls="false" repairthroughholes="true" combatpriority="0" spread="0">
<RequiredItems items="bikehorn" type="Contained" msg="Out of Mime Spray" />
<ParticleEmitter particle="smoke" particlespersecond="20" anglemin="0" anglemax="0" velocitymin="200" velocitymax="500" />
<sound file="%ModDir%/Items/Jobgear/Clown/whipserspray.ogg" type="OnUse" range="500.0" loop="true" />
<!-- bubbles when usage fails (e.g. in water) -->
<StatusEffect type="OnFailure" target="UseTarget">
<ParticleEmitter particle="bubbles" particlespersecond="20" anglemin="-10" anglemax="10" scalemin="0.3" scalemax="0.7" velocitymin="5" velocitymax="100" copyentityangle="true" />
</StatusEffect>
<!-- do silence damage to characters -->
<StatusEffect type="OnUse" target="Character">
<Affliction identifier="thal_silenced" amount="3" />
</StatusEffect>
<StatusEffect type="OnUse" targettype="Contained" targets="bikehorn" Condition="-5.0" />
</RepairTool>
<ItemContainer hideitems="true" capacity="1" drawinventory="false" canbeselected="false" ShowConditionInContainedStateIndicator="false">
<ContainedStateIndicator texture="Content/UI/ContainerIndicators.png" sourcerect="2,121,53,22" />
<StatusEffect type="OnContained" target="This" disabledeltatime="true">
<SpawnItem identifiers="bikehorn" spawnposition="ThisInventory" />
</StatusEffect>
<Containable items="bikehorn" />
</ItemContainer>
</Item>
<Item name="" identifier="thal_mimecase" tags="crate" scale="0.35" linkable="true" pickdistance="150" showcontentsintooltip="true" impactsoundtag="impact_metal_heavy">
<Deconstruct time="20">
<Item identifier="steel" />
</Deconstruct>
<!--<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="448,128,64,64" />-->
<Sprite texture="%ModDir%/Items/Jobgear/Clown/clown.png" name="mimecase sprite" depth="0.54" sourcerect="337,84,176,156" origin="0.5,0.5" />
<Body width="150" height="85" density="50" />
<Holdable slots="Any,RightHand,LeftHand" holdpos="0,-80" handle1="-15,47" aimable="false" msg="ItemMsgPickUpSelect" />
<ItemContainer capacity="6" hideitems="true" keepopenewhenequipped="true" movableframe="true" drawinventory="false" spawnwithid="thal_invisiblewall,thal_mimespray,thal_muzzle,thal_pen,thal_sign,thal_vent">
<Containable items="smallitem,mediumitem,largeitem,bigitem,item,coilgunammo,railgunammo" />
<StatusEffect type="OnContained" target="Character, This" setvalue="true" drawinventory="false" />
<StatusEffect type="OnContained" target="Character, This" setvalue="true" drawinventory="true">
<Conditional HasStatusTag="mimepowers" />
</StatusEffect>
</ItemContainer>
</Item>
</Items>