Files
BarotraumaModServer/LocalMods/Thalassophobia Restored/Items/Tools/tools.xml
T

144 lines
9.8 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="" identifier="thal_sign" category="Decorative" tags="smallitem,button" cargocontaineridentifier="metalcrate" scale="0.5" impactsoundtag="impact_metal_light" spritecolor="0.95,0.95,0.95,1.0">
<Sprite name="sign" texture="%ModDir%/Map/Walls.png" sourcerect="43,232,200,80" depth="0.55" origin="0.5,0.5" />
<Body width="200" height="80" density="40" />
<Price baseprice="30">
<Price locationtype="outpost" multiplier="1" minavailable="4" />
<Price locationtype="city" multiplier="0.9" minavailable="6" />
<Price locationtype="research" multiplier="1.25" minavailable="1" />
<Price locationtype="military" multiplier="1.25" minavailable="1" />
<Price locationtype="mine" multiplier="1.25" minavailable="8" />
</Price>
<Fabricate suitablefabricators="fabricator" requiredtime="30">
<RequiredSkill identifier="helm" level="20" />
<RequiredItem identifier="thal_memo" usecondition="false" />
<RequiredItem identifier="thal_memo" usecondition="false" />
<RequiredItem identifier="thal_memo" usecondition="false" />
</Fabricate>
<Deconstruct time="20">
<Item identifier="thal_memo" />
<Item identifier="thal_memo" />
</Deconstruct>
<ItemLabel textscale="0.6" fontscale="0.6" textcolor="0,0,0,0">
<CustomInterface canbeselected="true" drawhudwhenequipped="false" msg="ItemMsgWriteSelectPen">
<GuiFrame relativesize="0.70,0.10" anchor="Center" absoluteoffset="20,20" style="ItemUI" />
<TextBox text="Sign Contents" propertyname="text" />
<StatusEffect type="OnNotContained" target="This" setvalue="true" textcolor="0,0,0,1" />
<StatusEffect type="OnContained" target="This" setvalue="true" textcolor="0,0,0,0" />
<StatusEffect type="OnFire" target="This" setvalue="true" spritecolor="0,0,0,1" />
<RequiredItem identifier="thal_pen" type="Equipped" />
</CustomInterface>
</ItemLabel>
<Holdable pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetachWrench" PickingTime="2.0" aimpos="35,-10" handle1="0,0" attachable="true" attachedbydefault="true" aimable="true">
<requireditem identifier="thal_pen" type="Equipped" />
</Holdable>
</Item>
<Item name="" identifier="thal_foldingchair" tags="chair,mediumitem" allowattachitems="false" texturescale="1.0,1.0" scale="0.5" category="Decorative,Weapon" canflipy="false">
<Price baseprice="75">
<Price locationtype="outpost" multiplier="1" minavailable="3" />
<Price locationtype="city" multiplier="0.9" minavailable="3" />
<Price locationtype="research" multiplier="1.25" minavailable="3" />
<Price locationtype="military" multiplier="1.25" minavailable="4" />
<Price locationtype="mine" multiplier="1.25" minavailable="3" />
</Price>
<Fabricate suitablefabricators="fabricator" requiredtime="35">
<RequiredSkill identifier="mechanical" level="15" />
<RequiredItem identifier="steel" />
<RequiredItem identifier="plastic" />
<RequiredItem identifier="rubber" />
</Fabricate>
<Deconstruct time="25">
<Item identifier="steel" />
<Item identifier="rubber" />
</Deconstruct>
<InventoryIcon texture="%ModDir%/Items/Tools/foldingchair.png" sourcerect="0,0,144,208" />
<Sprite texture="%ModDir%/Items/Tools/foldingchair.png" depth="0.54" sourcerect="0,0,0,0" />
<BrokenSprite texture="%ModDir%/Items/Tools/foldingchair_weapon.png" sourcerect="0,0,40,208" depth="0.54" mincondition="90" maxcondition="101" fadein="false" />
<BrokenSprite texture="%ModDir%/Items/Tools/foldingchair.png" sourcerect="0,0,144,208" depth="0.54" mincondition="0" maxcondition="90" fadein="false" />
<Body width="118" height="192" density="60" />
<MeleeWeapon msg="ItemMsgDetach" pickkey="Action" slots="RightHand+LeftHand" controlpose="true" aimangle="105" aimpos="100,70" holdpos="35,-70" handle1="2,45" handle2="2,30" holdangle="15" reload="1.25" range="75" combatpriority="15">
<StatusEffect type="OnContained" target="This" condition="100" disabledeltatime="true" setvalue="true" />
<StatusEffect type="OnNotContained" target="This" condition="1" disabledeltatime="true" setvalue="true" />
<Attack structuredamage="2" itemdamage="4" targetimpulse="4">
<Affliction identifier="blunttrauma" strength="10" />
<Affliction identifier="stun" strength="1" />
<StatusEffect type="OnUse" target="UseTarget">
<Conditional entitytype="eq Character" />
<Sound file="Content/Items/Weapons/Smack1.ogg" selectionmode="random" range="500" />
<Sound file="Content/Items/Weapons/Smack2.ogg" range="500" />
</StatusEffect>
</Attack>
</MeleeWeapon>
<Controller UserPos="0,15" direction="Right" issecondaryitem="true" hidehud="false" canbeselected="true" AllowSelectingWhenSelectedByOther="false" drawuserbehind="true">
<limbposition limb="Head" position="65,100" />
<limbposition limb="Torso" position="60,30" />
<limbposition limb="Waist" position="75,-25" />
<limbposition limb="RightLeg" position="190,-50" />
<limbposition limb="LeftLeg" position="190,-50" />
<limbposition limb="RightHand" position="145,-25" allowusinglimb="true" />
<limbposition limb="LeftHand" position="145,-25" allowusinglimb="true" />
</Controller>
</Item>
<Item name="Loot Beacon" identifier="thal_lootbeacon" category="Equipment" Tags="smallitem,sonar" cargocontaineridentifier="metalcrate" Scale="0.5" impactsoundtag="impact_metal_light">
<Sprite texture="Content/Items/InventoryIconAtlas.png" sourcerect="832,320,64,64" depth="0.55" origin="0.5,0.5" />
<Body width="27" height="60" density="12" bodytype="Kinematic" />
<Holdable slots="Any,RightHand,LeftHand" holdangle="30" handle1="-10,0" msg="ItemMsgPickUpSelect" />
<!--600K range = 6000m -->
<AiTarget soundrange="600000" minsoundrange="600000" sonarlabel="lootlabel.weapons" static="true" sonaricon="artifact" />
<LightComponent LightColor="0.0,1.0,0.0,1.0" range="50" powerconsumption="0" blinkfrequency="2" IsOn="true" canbeselected="false">
<StatusEffect type="OnActive" targettype="This, NearbyCharacters" delay="5.0" stackable="false" range="200" Condition="0" setvalue="true">
<Conditional IsPlayer="true" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This">
<RemoveItem />
</StatusEffect>
</LightComponent>
<CustomInterface canbeselected="false" drawhudwhenequipped="true" allowuioverlap="true">
<GuiFrame relativesize="0.16,0.15" anchor="CenterLeft" pivot="BottomLeft" relativeoffset="0.006,-0.05" style="ItemUI" />
<!--
<TickBox text="sonarbeacon.beaconactive">
<StatusEffect type="OnUse" targettype="This" IsOn="true" />
<StatusEffect type="OnSecondaryUse" targettype="This" IsOn="false" />
</TickBox>
-->
<!--
<TextBox text="sonarbeacon.beaconsignal" propertyname="SonarLabel"/>
-->
</CustomInterface>
<ItemContainer capacity="1" hideitems="true" maxstacksize="1" containedstateindicatorstyle="battery">
<SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="128,448,64,64" origin="0.5,0.5" />
<Containable items="mobilebattery">
<StatusEffect type="OnContaining" targettype="This" Voltage="1.0" setvalue="true" />
</Containable>
</ItemContainer>
</Item>
<Item name="" description="" identifier="thal_locator" hideinmenus="true" category="Equipment" cargocontaineridentifier="metalcrate" tags="smallitem" impactsoundtag="impact_soft" scale="0.3" hideconditionbar="true" canflipx="false">
<Sprite name="radio" texture="%ModDir%/Items/Electricity/poweritems.png" sourcerect="340,380,325,380" depth="0.6" origin="0.5,0.5" />
<Body width="130" height="80" density="400" />
<ItemLabel scrollable="true" padding="7,12,7,6" textcolor="1,1,1,1" text="" />
<CustomInterface canbeselected="true" drawhudwhenequipped="false" msg="ItemMsgLocatorInteract">
<GuiFrame relativesize="0.4,0.5" anchor="BottomCenter" absoluteoffset="0,-30" style="ItemUI" />
<Button text="label.weapons">
<!-- glowsaber -->
<StatusEffect type="OnUse" targettype="This" IsOn="false" canbeselected="true" text="">
<TriggerEvent identifier="thal_radiodropoff" />
<sound volume="2.0" file="%ModDir%/Items/Tools/sidequest.ogg" range="200.0" loop="false" />
</StatusEffect>
</Button>
</CustomInterface>
<Holdable handle1="0,0" pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetachWrench" PickingTime="10.0" aimpos="35,-10" attachable="true" attachedbydefault="true" aimable="true">
<requireditem identifier="wrench" type="Equipped" />
</Holdable>
<LightComponent range="150" lightcolor="255,245,200,200" IsOn="true" powerconsumption="0" flicker="0.2" pulseamount="0.5" pulsefrequency="0.3" allowingameediting="false" castshadows="false">
<sound file="%ModDir%/Items/Electricity/static.ogg" type="OnActive" range="400.0" loop="true" />
<StatusEffect type="OnActive" target="This" stackable="false" disabledeltatime="true" />
</LightComponent>
</Item>
<!--Item name="credit" description="This coin repistants 1 mark" identifier="thal_mark" category="weapon" subcategory="Blueprints" Tags="smallitem" maxstacksize="8" Scale="0.45" impactsoundtag="impact_soft" hideinmenus="true">
<InventoryIcon texture="%ModDir%/Img/headgears.png" sourcerect="172,253,313,288" origin="0.5,0.5" />
<Sprite texture="%ModDir%/Img/headgears.png" sourcerect="321,174,38,37" depth="0.55" origin="0.5,0.5" />
<Body width="28" height="36" density="120" />
<Holdable slots="Any,RightHand,LeftHand" aimable="false" aimpos="40,-20" handle1="-4,0" holdangle="80" msg="ItemMsgPickUpSelect"/>
</Item-->
</Items>