52 lines
3.5 KiBLFS
XML
Executable File
52 lines
3.5 KiBLFS
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<Items>
|
|
<Override>
|
|
<Item name="" identifier="handcuffs" category="Equipment" maxstacksize="8" cargocontaineridentifier="metalcrate" tags="smallitem,handlocker" scale="0.5" impactsoundtag="impact_metal_light" equipconfirmationtext="handcuffequipconfirmation">
|
|
<Upgrade gameversion="0.10.0.0" scale="0.5" />
|
|
<PreferredContainer secondary="wreckarmcab,abandonedarmcab,outpostarmcab" amount="1" spawnprobability="0.05" />
|
|
<PreferredContainer primary="armcab" secondary="secarmcab" />
|
|
<Price baseprice="30">
|
|
<Price storeidentifier="merchantoutpost" minavailable="1" />
|
|
<Price storeidentifier="merchantcity" multiplier="0.9" minavailable="2" sold="false" />
|
|
<Price storeidentifier="merchantresearch" sold="false" />
|
|
<Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
|
|
<Price storeidentifier="merchantmine" sold="false" />
|
|
<Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
|
|
</Price>
|
|
<Deconstruct time="5" />
|
|
<Fabricate suitablefabricators="fabricator" requiredtime="10">
|
|
<RequiredSkill identifier="weapons" level="20" />
|
|
<RequiredItem identifier="steel" />
|
|
</Fabricate>
|
|
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="192,0,64,64" origin="0.5,0.5" />
|
|
<Sprite texture="Content/Items/Jobgear/Mechanic/safetyharness.png" sourcerect="405,0,56,49" depth="0.6" origin="0.5,0.5" />
|
|
<Body width="50" height="34" density="30" />
|
|
<Wearable slots="Any,RightHand+LeftHand" msg="ItemMsgPickUpSelect" autoequipwhenfull="false">
|
|
<sprite texture="Content/Items/Jobgear/Mechanic/safetyharness.png" limb="RightHand" sourcerect="462,1,25,16" origin="0.5,0.8" depth="0.09" inheritlimbdepth="false" inherittexturescale="true" />
|
|
<sprite texture="Content/Items/Jobgear/Mechanic/safetyharness.png" limb="LeftHand" sourcerect="487,1,25,16" origin="0.5,0.8" depth="0.09" inheritlimbdepth="true" inherittexturescale="true" />
|
|
<StatusEffect type="OnWearing" target="Character" lockhands="true" setvalue="true" />
|
|
<StatusEffect type="OnWearing" target="Character,This" setvalue="true" SpeedMultiplier="0.0">
|
|
<Conditional isshootable="eq true" />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnWearing" target="Character,This" setvalue="true" condition="100">
|
|
<Conditional stun="gt 0" />
|
|
</StatusEffect>
|
|
<CustomInterface canbeselected="false" drawhudwhenequipped="true">
|
|
<GuiFrame relativesize="0.3,0.1" anchor="BottomCenter" absoluteoffset="0,0" style="ItemUI" />
|
|
<Tickbox text="itemmsgstruggle">
|
|
<StatusEffect type="OnUse" target="This" condition="-0.015" IsOn="true">
|
|
<Sound file="%ModDir%/Items/Jobgear/Security/cuffsbreakout.ogg" range="800" loop="true" />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnUse" target="This" setvalue="true" IsOn="true" isshootable="true" />
|
|
<StatusEffect type="OnSecondaryUse" target="This" condition="100" setvalue="true" IsOn="false" isshootable="false" />
|
|
</Tickbox>
|
|
</CustomInterface>
|
|
<StatusEffect type="OnBroken" target="This">
|
|
<SpawnItem identifier="handcuffs" spawnposition="This" />
|
|
<Sound file="%ModDir%/Items/Jobgear/Security/cuffbreak.ogg" range="1200" />
|
|
<Remove />
|
|
</StatusEffect>
|
|
</Wearable>
|
|
</Item>
|
|
</Override>
|
|
</Items> |