Files
barotrauma-localmods/Lua Linker/Item.xml
2025-03-31 13:19:47 +02:00

73 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="Lua Linker" identifier="lualinker" category="" cargocontaineridentifier="metalcrate" tags="smallitem,mountableweapon" Scale="0.12" impactsoundtag="impact_metal_light" description="A tool to link or unlink objects">
<Fabricate suitablefabricators="fabricator" requiredtime="60">
<RequiredSkill identifier="electrical" level="75" />
<RequiredSkill identifier="mechanical" level="55" />
<RequiredItem identifier="fpgacircuit" />
<RequiredItem identifier="fpgacircuit" />
<RequiredItem identifier="titaniumaluminiumalloy" />
<RequiredItem identifier="titaniumaluminiumalloy" />
<RequiredItem identifier="copper" />
</Fabricate>
<Deconstruct time="30">
<Item identifier="fpgacircuit" />
<Item identifier="fpgacircuit" />
<Item identifier="titaniumaluminiumalloy" />
<Item identifier="titaniumaluminiumalloy" />
<Item identifier="copper" />
</Deconstruct>
<InventoryIcon texture="%ModDir%/toolgun.png" sourcerect="0,0,444,299" origin="0.5,0.5" />
<Sprite texture="%ModDir%/toolgun.png" sourcerect="0,0,444,299" origin="0.5,0.5" depth="0.55" />
<Body width="72" height="40" density="50" />
<Holdable slots="Any,RightHand,LeftHand" controlpose="true" aimpos="70,5" handle1="-170,-90" msg="ItemMsgPickUpSelect" />
<RangedWeapon barrelpos="29,11" spread="0" unskilledspread="2" combatPriority="70" drawhudwhenequipped="true" crosshairscale="0.2">
<Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
<CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png" sourcerect="256,256,256,256" />
<Sound file="%ModDir%/Lualinker.ogg" type="OnUse" range="1000" />
<ParticleEmitter particle="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
<StatusEffect type="OnUse">
<Explosion range="150.0" force="1.5" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="6.0" />
</StatusEffect>
<StatusEffect type="OnUse" target="Character">
<LuaHook name="luaLinker.onUse" />
</StatusEffect>
</RangedWeapon>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="Lua Display manipulator" identifier="luaDisplaySideBySide" category="" cargocontaineridentifier="metalcrate" tags="smallitem,mountableweapon" Scale="0.12" spritecolor="255,120,0,255" inventoryiconcolor="255,120,0,255" impactsoundtag="impact_metal_light" description="A tool to add or remove display side by side feature">
<Fabricate suitablefabricators="fabricator" requiredtime="60">
<RequiredSkill identifier="electrical" level="75" />
<RequiredSkill identifier="mechanical" level="55" />
<RequiredItem identifier="fpgacircuit" />
<RequiredItem identifier="fpgacircuit" />
<RequiredItem identifier="titaniumaluminiumalloy" />
<RequiredItem identifier="titaniumaluminiumalloy" />
<RequiredItem identifier="copper" />
</Fabricate>
<Deconstruct time="30">
<Item identifier="fpgacircuit" />
<Item identifier="fpgacircuit" />
<Item identifier="titaniumaluminiumalloy" />
<Item identifier="titaniumaluminiumalloy" />
<Item identifier="copper" />
</Deconstruct>
<InventoryIcon texture="%ModDir%/toolgun.png" sourcerect="0,0,444,299" origin="0.5,0.5" />
<Sprite texture="%ModDir%/toolgun.png" sourcerect="0,0,444,299" origin="0.5,0.5" depth="0.55" />
<Body width="72" height="40" density="50" />
<Holdable slots="Any,RightHand,LeftHand" controlpose="true" aimpos="70,5" handle1="-170,-90" msg="ItemMsgPickUpSelect" />
<RangedWeapon barrelpos="29,11" spread="0" unskilledspread="2" combatPriority="70" drawhudwhenequipped="true" crosshairscale="0.2">
<Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
<CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png" sourcerect="256,256,256,256" />
<Sound file="%ModDir%/Lualinker.ogg" type="OnUse" range="1000" />
<ParticleEmitter particle="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
<StatusEffect type="OnUse">
<Explosion range="150.0" force="1.5" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="6.0" />
</StatusEffect>
<StatusEffect type="OnUse" target="Character">
<LuaHook name="luaDisplaySideBySide.onUse" />
</StatusEffect>
</RangedWeapon>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
</Items>