192 lines
16 KiB
XML
192 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Items>
|
|
<Override>
|
|
<!--
|
|
Updating instuctions:
|
|
1) Copy-paste each Item (eg.: "divingsuit") entirely
|
|
2) Replace relative paths of textures to their absolute ones: (Notepad++, CTRL+F)
|
|
a) texture="pucs texture="Content/Items/Jobgear/Engineer/pucs
|
|
3) Replace 'Content/Lights/divinghelmetlight.png' with '%ModDir%/Lights/divinghelmetlight.png' (Notepad++, CTRL+F)
|
|
4) Replace 'Content/Lights/lightcone.png' with '%ModDir%/Lights/lightcone.png' (Notepad++, CTRL+F)
|
|
5) Change the 'range' of 'LightComponent' in:
|
|
a) cargoscooter: 500 -> 1000 (undecided yet)
|
|
6) Make sure you haven't replaced the instructions above
|
|
-->
|
|
<!-- cargoscooter -->
|
|
<Item name="" identifier="cargoscooter" category="Equipment,Diving" Tags="mediumitem,provocative,scooter,mobilecontainer" allowasextracargo="true" cargocontaineridentifier="metalcrate" description="" Scale="0.5" impactsoundtag="impact_metal_heavy" isshootable="true">
|
|
<PreferredContainer primary="divingcab" />
|
|
<Price baseprice="400" sold="false">
|
|
<Price storeidentifier="merchantoutpost" multiplier="0.9" />
|
|
<Price storeidentifier="merchantcity" multiplier="0.85" />
|
|
<Price storeidentifier="merchantresearch" />
|
|
<Price storeidentifier="merchantmilitary" />
|
|
<Price storeidentifier="merchantmine" multiplier="1.25" />
|
|
</Price>
|
|
<Deconstruct time="20">
|
|
<Item identifier="aluminium" amount="2" />
|
|
<Item identifier="titaniumaluminiumalloy" amount="2" />
|
|
<Item identifier="tin" amount="2" />
|
|
</Deconstruct>
|
|
<Fabricate suitablefabricators="fabricator" requiredtime="30" requiresrecipe="true">
|
|
<RequiredSkill identifier="mechanical" level="30" />
|
|
<RequiredItem identifier="aluminium" amount="2" />
|
|
<RequiredItem identifier="titaniumaluminiumalloy" amount="2" />
|
|
<RequiredItem identifier="tin" amount="2" />
|
|
</Fabricate>
|
|
<InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="131,123,53,58" origin="0.5,0.5" />
|
|
<Sprite texture="Content/Items/JobGear/TalentGear.png" depth="0.55" sourcerect="295,195,149,105" origin="0.5,0.5" />
|
|
<Body width="140" height="100" density="10" />
|
|
<Holdable slots="RightHand+LeftHand" aimpos="90,0" handle1="-35,32" handle2="-27,34" msg="ItemMsgPickUpSelect" holdangle="-10">
|
|
<LightComponent LightColor="220,255,150,200" range="500" powerconsumption="10" IsOn="true">
|
|
<Upgrade gameversion="1.1.2.0" powerconsumption="10" />
|
|
<LightTexture texture="%ModDir%/Lights/lightcone.png" origin="-0.01, 0.5" size="1.0,1.0" />
|
|
</LightComponent>
|
|
<!-- activates the light when holding aim -->
|
|
<StatusEffect type="OnSecondaryUse" target="This" voltage="1.0" setvalue="true">
|
|
<RequiredItem items="mobilebattery" type="Contained" />
|
|
</StatusEffect>
|
|
<!-- Battery drain when using the light, adds up with propulsion -->
|
|
<StatusEffect type="OnSecondaryUse" target="Contained" targetslot="0" Condition="-0.05" />
|
|
</Holdable>
|
|
<Propulsion force="150" usablein="water" particles="bubbles">
|
|
<RequiredItems items="mobilebattery" targetslot="0" type="Contained" msg="ItemMsgBatteryCellRequired" />
|
|
<StatusEffect type="OnUse" target="Contained" targetslot="0" Condition="-0.2">
|
|
<RequiredItem items="mobilebattery" type="Contained" />
|
|
</StatusEffect>
|
|
<sound file="Content/Items/Diving/ScooterLoop.ogg" type="OnUse" range="500.0" loop="true" />
|
|
</Propulsion>
|
|
<ItemContainer capacity="1" maxstacksize="60" slotsperrow="3" hideitems="true" containedstateindicatorslot="0" containedstateindicatorstyle="battery">
|
|
<Containable items="mobilebattery" />
|
|
<SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="128,448,64,64" origin="0.5,0.5" />
|
|
<SubContainer capacity="33" maxstacksize="60">
|
|
<Containable items="smallitem,mediumitem,ammobox,deepdiving,largeitem" />
|
|
</SubContainer>
|
|
</ItemContainer>
|
|
<AiTarget soundrange="3000" maxsightrange="3000" />
|
|
</Item>
|
|
<!-- pucs -->
|
|
<Item name="" identifier="pucs" category="Equipment,Diving" tags="diving,deepdiving,divinggear_wearableindoors,human" allowasextracargo="true" scale="0.5" fireproof="true" description="" allowdroppingonswapwith="diving" impactsoundtag="impact_metal_heavy" botpriority="5" cargocontaineridentifier="">
|
|
<PreferredContainer primary="divingsuitcontainer" spawnprobability="0.0" />
|
|
<Price baseprice="670" sold="false">
|
|
<Price storeidentifier="merchantoutpost" />
|
|
<Price storeidentifier="merchantcity" minavailable="0" maxavailable="3" sold="true">
|
|
<Reputation faction="coalition" min="70" />
|
|
</Price>
|
|
<Price storeidentifier="merchantresearch" multiplier="1.2" />
|
|
<Price storeidentifier="merchantmilitary" />
|
|
<Price storeidentifier="merchantmine" multiplier="1.1" />
|
|
</Price>
|
|
<Deconstruct time="45">
|
|
<Item identifier="titaniumaluminiumalloy" amount="2" />
|
|
<Item identifier="titaniumaluminiumalloy" amount="2" />
|
|
<Item identifier="rubber" amount="2" />
|
|
<Item identifier="lead" amount="2" />
|
|
<Item identifier="physicorium" amount="2" />
|
|
</Deconstruct>
|
|
<Fabricate suitablefabricators="fabricator" requiredtime="80" requiresrecipe="true">
|
|
<RequiredSkill identifier="electrical" level="60" />
|
|
<RequiredItem identifier="combatdivingsuit" />
|
|
<RequiredItem identifier="lead" />
|
|
<RequiredItem identifier="physicorium" />
|
|
</Fabricate>
|
|
<InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="384,704,128,128" origin="0.5,0.5" />
|
|
<Sprite name="PUCS Item" texture="Content/Items/Jobgear/Engineer/PUCS_Items.png" sourcerect="0,0,154,134" depth="0.55" origin="0.5,0.5" />
|
|
<ContainedSprite name="PUCS In Vertical Locker" allowedcontainertags="divingsuitcontainervertical" texture="Content/Items/Jobgear/Engineer/PUCS_Items.png" sourcerect="164,0,87,190" depth="0.55" origin="0.5,0.5" />
|
|
<ContainedSprite name="PUCS Behind Window" allowedcontainertags="divingsuitcontainerwindow" texture="Content/Items/Jobgear/Engineer/pucs.png" sourcerect="430,0,80,207" depth="0.55" origin="-0.12,-0.14" />
|
|
<ContainedSprite name="PUCS In Horizontal Locker" allowedcontainertags="divingsuitcontainerhorizontal" texture="Content/Items/Jobgear/Engineer/PUCS_Items.png" sourcerect="0,191,225,66" depth="0.55" origin="0.6,0.5" />
|
|
<Body radius="45" width="34" density="20" />
|
|
<Wearable slots="OuterClothes" msg="ItemMsgEquipSelect" displaycontainedstatus="true" canbeselected="false" canbepicked="true" pickkey="Select">
|
|
<sprite name="PUCS Helmet Wearable" texture="Content/Items/Jobgear/headgears.png" limb="Head" inheritlimbdepth="true" inheritscale="true" ignorelimbscale="true" scale="0.65" hidelimb="false" alphaclipotherwearables="true" sourcerect="127,520,105,124" origin="0.57,0.38">
|
|
<LightComponent range="200.0" lightcolor="250,224,165,255" powerconsumption="10" IsOn="true" allowingameediting="false">
|
|
<StatusEffect type="OnWearing" target="This,Character" Voltage="1.0" Interval="0.1" setvalue="true">
|
|
<Conditional IsDead="false" />
|
|
</StatusEffect>
|
|
<LightTexture texture="%ModDir%/Lights/divinghelmetlight.png" origin="0.05, 0.5" size="1.0,1.0" />
|
|
</LightComponent>
|
|
</sprite>
|
|
<sprite name="pucs Torso" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="Torso" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Right Hand" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="RightHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Left Hand" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="LeftHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Right Upper Arm" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="RightArm" depthlimb="RightForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Left Upper Arm" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="LeftArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Right Lower Arm" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="RightForearm" depthlimb="RightArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Left Lower Arm" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="LeftForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Waist" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="Waist" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Right Thigh" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="RightThigh" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Left Thigh" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="LeftThigh" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Right Leg" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="RightLeg" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Left Leg" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="LeftLeg" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Left Shoe" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="LeftFoot" sound="footstep_armor_heavy" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<sprite name="pucs Right Shoe" texture="Content/Items/Jobgear/Engineer/pucs.png" limb="RightFoot" sound="footstep_armor_heavy" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
|
|
<StatusEffect type="OnWearing" target="Character" UseHullOxygen="true" ObstructVision="true" PressureProtection="6000.0" SpeedMultiplier="0.9" PropulsionSpeedMultiplier="0.9" LowPassMultiplier="0.2" setvalue="true" disabledeltatime="true">
|
|
<Sound file="Content/Items/Diving/DivingSuitLoop1.ogg" range="250" loop="true" />
|
|
<Sound file="Content/Items/Diving/DivingSuitLoop2.ogg" range="250" loop="true" />
|
|
</StatusEffect>
|
|
<!-- Refill oxygen when the suit is contained. -->
|
|
<StatusEffect type="OnContained" target="Contained" Condition="1.0" targetslot="0" interval="1" disabledeltatime="true">
|
|
<Conditional Voltage="gt 0.01" targetcontainer="true" targetgrandparent="true" targetitemcomponent="Powered" />
|
|
<RequiredItem items="refillableoxygensource" type="Contained" excludebroken="false" />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnWearing" target="Contained,Character" UseHullOxygen="false" OxygenAvailable="1000.0" Condition="-0.3" comparison="And" targetslot="0">
|
|
<Conditional IsDead="false" />
|
|
<Conditional HullOxygenPercentage="lt 50" />
|
|
<Conditional InWater="false" />
|
|
<RequiredItem items="oxygensource" type="Contained" />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnWearing" target="Contained,Character" UseHullOxygen="false" OxygenAvailable="1000.0" Condition="-0.3" comparison="And" targetslot="0">
|
|
<Conditional InWater="true" />
|
|
<RequiredItem items="oxygensource" type="Contained" />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnWearing" target="Contained,Character" Oxygen="-10.0" Condition="-0.5" interval="1" disabledeltatime="true" targetslot="0">
|
|
<Conditional IsDead="false" />
|
|
<RequiredItem items="weldingfueltank" type="Contained" />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnWearing" target="Contained,Character" targetlimbs="Torso" Oxygen="-10.0" Condition="-0.5" interval="1" disabledeltatime="true" targetslot="0">
|
|
<Conditional IsDead="false" />
|
|
<RequiredItem items="incendiumfueltank" type="Contained" />
|
|
<Affliction identifier="burn" amount="3.0" />
|
|
</StatusEffect>
|
|
<damagemodifier armorsector="0.0,360.0" afflictionidentifiers="blunttrauma,gunshotwound,bitewounds,lacerations,bleeding" damagemultiplier="0.65" damagesound="LimbArmor" deflectprojectiles="true" />
|
|
<damagemodifier armorsector="0.0,360.0" afflictiontypes="burn" damagemultiplier="0.1" damagesound="" deflectprojectiles="true" />
|
|
<damagemodifier armorsector="0.0,360.0" afflictionidentifiers="radiationsickness" damagemultiplier="0.1" damagesound="LimbArmor" />
|
|
<damagemodifier armorsector="0.0,360.0" afflictionidentifiers="huskinfection" probabilitymultiplier="0.1" damagesound="LimbArmor" />
|
|
<ItemComponent IsActiveConditionalComparison="Or">
|
|
<IsActive HullOxygenPercentage="lt 50" />
|
|
<IsActive InWater="eq true" />
|
|
<StatusEffect type="OnActive" target="Contained,Character" comparison="And">
|
|
<RequiredItem items="oxygensource" type="Contained" />
|
|
<Conditional condition="lt 5.0" />
|
|
<Sound file="Content/Items/WarningBeepSlow.ogg" range="250" loop="true" />
|
|
</StatusEffect>
|
|
<StatusEffect type="OnActive" target="Contained" playsoundonrequireditemfailure="true">
|
|
<RequiredItem items="oxygensource" type="Contained" matchonempty="true" />
|
|
<Conditional condition="lte 0.0" />
|
|
<Sound file="Content/Items/WarningBeep.ogg" range="250" loop="true" />
|
|
</StatusEffect>
|
|
</ItemComponent>
|
|
</Wearable>
|
|
<Holdable slots="RightHand+LeftHand" controlpose="true" holdpos="0,-50" handle1="-10,-20" handle2="10,-20" holdangle="45" msg="ItemMsgPickUpUse" canbeselected="false" canbepicked="true" pickkey="Use" />
|
|
<ItemContainer capacity="0" maxstacksize="60" hideitems="true" containedstateindicatorstyle="tank" containedstateindicatorslot="0" autoinject="true">
|
|
<Containable items="none,ammobox,deepdiving,smallitem,mediumitem,largeitem" />
|
|
<SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="64,448,64,64" origin="0.5,0.5" />
|
|
<SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="384,448,64,64" origin="0.5,0.5" />
|
|
<SubContainer capacity="1" maxstacksize="60">
|
|
<Containable items="oxygensource,weldingtoolfuel" />
|
|
<Containable items="oxygenitetank">
|
|
<StatusEffect type="OnWearing" target="Character" SpeedMultiplier="1.3" setvalue="true" comparison="And" targetslot="0">
|
|
<Conditional IsDead="false" />
|
|
<Conditional HullOxygenPercentage="lt 50" />
|
|
<Conditional InWater="false" />
|
|
</StatusEffect>
|
|
</Containable>
|
|
</SubContainer>
|
|
<SubContainer capacity="1" maxstacksize="60">
|
|
<Containable items="chem,syringe" />
|
|
</SubContainer>
|
|
</ItemContainer>
|
|
<aitarget maxsightrange="1500" />
|
|
</Item>
|
|
<!-- -->
|
|
<!-- -->
|
|
</Override>
|
|
</Items> |