Files
barotrauma-localmods/Prometheus/Items/Containers/custom_storagecontainers.xml
2025-03-31 13:39:15 +02:00

189 lines
17 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Items>
<!-- Diving Suit Lockers -->
<Item name="" identifier="ekdockyard_divingsuitlocker2" tags="container,divingsuitcontainer,divingsuitcontainerhorizontal" pickdistance="50" scale="0.6">
<Sprite name="Large Diving Suit Locker" texture="Content/Items/Containers/DivingSuitLocker.png" depth="0.84" sourcerect="82,0,248,338" origin="0.5,0.5" />
<DecorativeSprite name="Diving Suit Locker Frame" texture="Content/Items/Containers/DivingSuitLocker.png" depth="0.82" sourcerect="0,340,232,69" origin="0.5,0.5" offset="0,130" />
<DecorativeSprite name="Diving Suit Locker Frame" texture="Content/Items/Containers/DivingSuitLocker.png" depth="0.82" sourcerect="0,340,232,69" origin="0.5,0.5" offset="0,65" />
<DecorativeSprite name="Diving Suit Locker Frame" texture="Content/Items/Containers/DivingSuitLocker.png" depth="0.82" sourcerect="0,340,232,69" origin="0.5,0.5" />
<DecorativeSprite name="Diving Suit Locker Frame" texture="Content/Items/Containers/DivingSuitLocker.png" depth="0.82" sourcerect="0,340,232,69" origin="0.5,0.5" offset="0,-65" />
<DecorativeSprite name="Diving Suit Locker Frame" texture="Content/Items/Containers/DivingSuitLocker.png" depth="0.82" sourcerect="0,340,232,69" origin="0.5,0.5" offset="0,-130" />
<Powered powerconsumption="50" currpowerconsumption="50" isactive="true">
<GuiFrame relativesize="0.18,0.15" minsize="350,160" maxsize="420,192" anchor="Center" relativeoffset="0,-0.1" style="ItemUI" msg="ItemMsgInteractSelect" />
</Powered>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredSkill identifier="electrical" level="20" />
<StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
<Sound file="Content/Items/Weapons/ElectricalDischarger.ogg" range="1000" />
<Explosion range="100.0" stun="0" force="5.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
<Affliction identifier="stun" strength="5" />
<Affliction identifier="burn" strength="5" />
</StatusEffect>
<RequiredItem items="screwdriver" type="Equipped" />
<input name="power_in" displayname="connection.powerin" />
</ConnectionPanel>
<ItemContainer hideitems="false" drawinventory="true" capacity="5" maxstacksize="1" slotsperrow="5" itempos="132,-44" iteminterval="0,-65" itemrotation="0" containedspritedepth="0.83" canbeselected="true" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.25,0.2" anchor="Center" style="ItemUI" />
<Containable items="deepdiving,divingsuit,abyssdivingsuit,combatdivingsuit,pucs,slipsuit" />
</ItemContainer>
</Item>
<Item name="" identifier="ekdockyard_divingsuitlocker_secure" tags="container,divingsuitcontainer,divingsuitcontainerwindow" pickdistance="50" scale="0.5">
<Sprite name="Diving Suit Locker Vertical" texture="Content/Items/Containers/containers.png" depth="0.84" sourcerect="714,1,99,256" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_divinglockers.png" depth="0.82" sourcerect="4,0,99,256" origin="0.5,0.5" />
<Powered powerconsumption="10" currpowerconsumption="10" isactive="true">
<GuiFrame relativesize="0.18,0.15" minsize="350,160" maxsize="420,192" anchor="Center" relativeoffset="0,-0.1" style="ItemUI" msg="ItemMsgInteractSelect" />
</Powered>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredSkill identifier="electrical" level="20" />
<StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
<Sound file="Content/Items/Weapons/ElectricalDischarger.ogg" range="1000" />
<Explosion range="100.0" stun="0" force="5.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
<Affliction identifier="stun" strength="3" />
<Affliction identifier="burn" strength="5" />
</StatusEffect>
<RequiredItem items="screwdriver" type="Equipped" />
<input name="power_in" displayname="connection.powerin" />
</ConnectionPanel>
<ItemContainer hideitems="false" drawinventory="true" capacity="1" slotsperrow="1" itempos="0,0" iteminterval="0,0" canbeselected="true" msg="ItemMsgInteractSelect">
<RequiredItem items="idcard" type="Picked" msg="ItemMsgUnauthorizedAccess" ignoreineditor="true" />
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="deepdiving,divingsuit,abyssdivingsuit,combatdivingsuit,pucs,slipsuit" />
</ItemContainer>
</Item>
<!-- Cargo Logistics -->
<Item name="" identifier="ekdockyard_cargocompartment_style1" tags="container,crateshelf,cargocontainer" linkable="true" pickdistance="150" scale="0.5">
<Sprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.8" sourcerect="0,0,320,416" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.85" sourcerect="336,0,288,416" origin="0.5,0.5" />
<ItemContainer capacity="8" maxstacksize="1" slotsperrow="4" canbeselected="true" hideitems="false" itempos="92,-368" iteminterval="136,105" itemsperrow="2" msg="ItemMsgInteractSelect" containedspritedepths="0.81,0.82,0.81,0.82,0.81,0.82,0.81,0.82">
<GuiFrame relativesize="0.25,0.3" anchor="Center" style="ItemUI" />
<Containable items="crate,ek_ammocrate_small,coilgunammobox,coilgunammo,chaingunammo,pulselaserammo,ammobox,depthchargeammo,ita_cratebulk,duffelbag,ita_duffelbag1,ek_densifiedresource" />
</ItemContainer>
</Item>
<Item name="" identifier="ekdockyard_cargocompartment_style2" tags="container,crateshelf,cargocontainer" linkable="true" pickdistance="150" scale="0.5">
<Sprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.8" sourcerect="0,0,320,208" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.85" sourcerect="640,208,288,208" origin="0.5,0.5" />
<ItemContainer capacity="4" maxstacksize="1" slotsperrow="4" canbeselected="true" hideitems="false" itempos="92,-158" iteminterval="136,105" itemsperrow="2" msg="ItemMsgInteractSelect" containedspritedepths="0.81,0.82,0.81,0.82">
<GuiFrame relativesize="0.25,0.3" anchor="Center" style="ItemUI" />
<Containable items="crate,ek_ammocrate_small,coilgunammobox,coilgunammo,chaingunammo,pulselaserammo,ammobox,depthchargeammo,ita_cratebulk,duffelbag,ita_duffelbag1,ek_densifiedresource" />
</ItemContainer>
</Item>
<Item name="" identifier="ekdockyard_cargocompartment_style3" tags="container,crateshelf,cargocontainer" linkable="true" pickdistance="150" scale="0.5">
<Sprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.8" sourcerect="640,0,624,208" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.85" sourcerect="640,208,592,208" origin="0.5,0.5" />
<ItemContainer capacity="8" maxstacksize="1" slotsperrow="4" canbeselected="true" hideitems="false" itempos="86,-158" iteminterval="150,105" itemsperrow="4" msg="ItemMsgInteractSelect" containedspritedepths="0.81,0.82,0.81,0.82,0.81,0.82,0.81,0.82">
<GuiFrame relativesize="0.25,0.3" anchor="Center" style="ItemUI" />
<Containable items="crate,ek_ammocrate_small,coilgunammobox,coilgunammo,chaingunammo,pulselaserammo,ammobox,depthchargeammo,ita_cratebulk,duffelbag,ita_duffelbag1,ek_densifiedresource" />
</ItemContainer>
</Item>
<Item name="" identifier="ekdockyard_cargocompartment_style4" tags="container,crateshelf,cargocontainer" linkable="true" pickdistance="150" scale="0.5">
<Sprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.8" sourcerect="640,0,624,104" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.85" sourcerect="640,208,592,104" origin="0.5,0.5" />
<ItemContainer capacity="4" maxstacksize="1" slotsperrow="4" canbeselected="true" hideitems="false" itempos="86,-54" iteminterval="150,0" itemsperrow="4" msg="ItemMsgInteractSelect" containedspritedepths="0.81,0.82,0.81,0.82,0.81,0.82,0.81,0.82">
<GuiFrame relativesize="0.25,0.3" anchor="Center" style="ItemUI" />
<Containable items="crate,ek_ammocrate_small,coilgunammobox,coilgunammo,chaingunammo,pulselaserammo,ammobox,depthchargeammo,ita_cratebulk,duffelbag,ita_duffelbag1,ek_densifiedresource" />
</ItemContainer>
</Item>
<Item name="" identifier="ekdockyard_cargocompartment_style5" tags="container,crateshelf,cargocontainer" linkable="true" pickdistance="150" scale="0.5">
<Sprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.8" sourcerect="0,0,320,104" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.85" sourcerect="640,208,288,104" origin="0.5,0.5" />
<ItemContainer capacity="2" maxstacksize="1" slotsperrow="2" canbeselected="true" hideitems="false" itempos="92,-54" iteminterval="136,0" itemsperrow="2" msg="ItemMsgInteractSelect" containedspritedepths="0.81,0.82,0.81,0.82">
<GuiFrame relativesize="0.25,0.3" anchor="Center" style="ItemUI" />
<Containable items="crate,ek_ammocrate_small,coilgunammobox,coilgunammo,chaingunammo,pulselaserammo,ammobox,depthchargeammo,ita_cratebulk,duffelbag,ita_duffelbag1,ek_densifiedresource" />
</ItemContainer>
</Item>
<Item name="" identifier="ekdockyard_cargocompartment_freezer1" tags="container,crateshelf,cargocontainer" linkable="true" pickdistance="150" scale="0.5" waterproof="true">
<Sprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.8" sourcerect="0,432,336,416" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.84" sourcerect="352,432,320,416" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.85" sourcerect="688,432,96,96" rotationspeed="450" offset="-64,152">
<AnimationConditional IsActive="True" targetitemcomponent="LightComponent" />
<AnimationConditional Voltage="gt 0.5" targetitemcomponent="LightComponent" />
</DecorativeSprite>
<DecorativeSprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.85" sourcerect="688,432,96,96" rotationspeed="360" offset="64,152">
<AnimationConditional IsActive="True" targetitemcomponent="LightComponent" />
<AnimationConditional Voltage="gt 0.5" targetitemcomponent="LightComponent" />
</DecorativeSprite>
<ItemContainer capacity="8" maxstacksize="1" slotsperrow="4" canbeselected="true" hideitems="false" itempos="98,-368" iteminterval="138,105" itemsperrow="2" msg="ItemMsgInteractSelect" containedspritedepths="0.81,0.82,0.81,0.82,0.81,0.82,0.81,0.82">
<GuiFrame relativesize="0.25,0.3" anchor="Center" style="ItemUI" />
<Containable identifiers="crate,ita_cratebulk,cratetall,ita_eggcrate,ita_eggcrate2,ek_crateperishable" />
<StatusEffect type="Always" targettype="Contained" targets="ita_eggcrate2" Condition="12.5" />
</ItemContainer>
<LightComponent range="10.0" lightcolor="10,10,10,0" powerconsumption="400" IsOn="true" castshadows="false" allowingameediting="false">
<sprite texture="%ModDir%/Items/Containers/variants_cargocompartments.png" depth="0.025" sourcerect="0,418,1,1" origin="0.5,0.5" alpha="1.0" />
<StatusEffect type="OnActive" targettype="Contained" targets="ek_crateperishable,ita_eggcrate" Condition="0.15" />
<StatusEffect type="OnActive" targettype="Contained" targets="ita_eggcrate2" Condition="2.55" />
</LightComponent>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredItem items="screwdriver" type="Equipped" />
<input name="power" displayname="connection.power" />
<input name="toggle" displayname="connection.togglestate" />
<input name="set_state" displayname="connection.setstate" />
</ConnectionPanel>
<Repairable selectkey="Select" header="mechanicalrepairsheader" deteriorationspeed="0.05" mindeteriorationdelay="240" maxdeteriorationdelay="750" mindeteriorationcondition="0" RepairThreshold="90" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ItemMsgRepairWrench" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,216" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI" />
<RequiredSkill identifier="mechanical" level="55" />
<RequiredItem items="wrench" type="equipped" />
<ParticleEmitter particle="damagebubbles" particleburstamount="2" particleburstinterval="2.0" particlespersecond="2" scalemin="0.5" scalemax="1.5" anglemin="0" anglemax="359" velocitymin="-10" velocitymax="10" mincondition="0.0" maxcondition="50.0" />
<ParticleEmitter particle="smoke" particleburstamount="3" particleburstinterval="0.5" particlespersecond="2" scalemin="1" scalemax="2.5" anglemin="0" anglemax="359" velocitymin="-50" velocitymax="50" mincondition="15.0" maxcondition="50.0" />
<ParticleEmitter particle="heavysmoke" particleburstinterval="0.25" particlespersecond="2" scalemin="2.5" scalemax="5.0" mincondition="0.0" maxcondition="15.0" />
<StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
<Sound file="Content/Items/MechanicalRepairFail.ogg" range="1000" />
<Affliction identifier="burn" strength="15" />
<Affliction identifier="stun" strength="2" />
</StatusEffect>
</Repairable>
</Item>
<!-- Security Containers -->
<Item name="" identifier="ekdockyard_weaponholder_secure" tags="weaponholder" scale="0.5">
<Sprite texture="%ModDir%/Items/Containers/containers1.png" depth="0.85" sourcerect="0,64,86,86" canflipx="false" origin="0.5,0.5" />
<DecorativeSprite texture="%ModDir%/Items/Containers/containers1.png" depth="0.5" sourcerect="0,0,128,48" canflipx="false" origin="0.5,0.5" />
<ItemContainer hideitems="false" drawinventory="true" capacity="1" maxstacksize="1" slotsperrow="1" itempos="46,-47" iteminterval="0,0" itemrotation="90" containedspritedepth="0.84" canbeselected="true" msg="ItemMsgInteractSelect">
<RequiredItem items="idcard" type="Picked" msg="ItemMsgUnauthorizedAccess" ignoreineditor="true" />
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="mountableweapon" />
</ItemContainer>
</Item>
<!-- Logistics System -->
<!--
<Item name="Logistics Tube" identifier="ekdockyard_ioport_logisticstube1" tags="container,ekdockyard_ioport_logistics" category="Legacy"
description=""
linkable="true" displaysidebysidewhenlinked="true" allowedlinks="ekdockyard_ioport_logistics" pickdistance="150" scale="0.5" waterproof="true" fireproof="true" explosiondamagemultiplier="0.1" spritecolor="200,200,200,255">
<Sprite texture="Mods/EK Gunnery/Items/Containers/ekgunnery_containers.png" depth="0.84" sourcerect="528,0,400,208" origin="0.5,0.5" />
<ItemContainer autofill="False" capacity="2" slotsperrow="2" canbeselected="true" hideitems="true" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.15,0.35" anchor="Center" style="ItemUI" />
<Containable items="smallitem" />
</ItemContainer>
</Item>
-->
<!--
<Item name="" identifier="ekdockyard_fuelstoragetank1" tags="container" scale="0.5">
<Sprite texture="Content/Items/Containers/containers.png" depth="0.85" sourcerect="116,546,86,86" canflipx="false" origin="0.5,0.5"/>
<PowerContainer capacity="100.0" maxrechargespeed="0" maxoutput="0" canbeselected="false" msg="ItemMsgInteractSelect" charge="0" />
<ItemContainer autofill="False" hideitems="true" drawinventory="true" capacity="2" maxstacksize="1" canbeselected="true" msg="ItemMsgInteractSelect" >
<Containable identifiers="ekdockyard_generatorfuel" />
<SlotIcon slotindex="0" texture="%ModDir%/UI/ekdockyard_sloticons.png" sourcerect="0,0,64,64" origin="0.5,0.45" />
<SlotIcon slotindex="1" texture="%ModDir%/UI/ekdockyard_sloticons.png" sourcerect="64,0,64,64" origin="0.5,0.45" />
<StatusEffect type="OnContaining" targetslot="0" target="This" setvalue="false" charge="1" allowwhenbroken="true">
<RequiredItem identifier="ekdockyard_generatorfuel" type="Contained" />
<Conditional charge="lt 100" />
</StatusEffect>
<StatusEffect type="OnContaining" targetslot="0" target="Contained,This" setvalue="false" condition="-1" allowwhenbroken="true">
<RequiredItem identifier="ekdockyard_generatorfuel" type="Contained" />
<Conditional charge="lt 100" />
</StatusEffect>
<StatusEffect type="OnContaining" targetslot="1" target="This" setvalue="false" charge="-1" allowwhenbroken="true">
<RequiredItem identifier="ekdockyard_generatorfuel" type="Contained" matchonempty="true" />
<Conditional charge="gt 0" />
</StatusEffect>
</ItemContainer>
</Item>
-->
</Items>