Files
BarotraumaModServer/LocalMods/Thalassophobia Restored/Items/Installations/sprinkler.xml
T

155 lines
11 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="" description="" identifier="thal_sprinkler" variantof="waterdetector" category="Machine" Tags="smallitem,fireextinguisher,provocative" cargocontaineridentifier="metalcrate" impactsoundtag="impact_metal_light" requireaimtouse="true" scale="0.5" characterusable="false" flippedy="true">
<Fabricate suitablefabricators="fabricator" requiredtime="30">
<RequiredSkill identifier="mechanical" level="15" />
<RequiredItem identifier="fpgacircuit" amount="2" />
<RequiredItem identifier="wateringcan" />
</Fabricate>
<Pump FlowPercentage="10" canbeselected="false" maxflow="10" PowerConsumption="0" MinVoltage="0">
<StatusEffect type="OnActive" target="This" stackable="false" delay="1.0">
<UseItem />
</StatusEffect>
<StatusEffect type="OnActive" target="This" stackable="false">
<ParticleEmitter particle="waterdrop" velocitymin="10.0" velocitymax="50.0" particlespersecond="10" volume="0.02" />
<sound file="Content/Sounds/Water/FlowSmall.ogg" type="OnUse" range="250.0" loop="true" />
</StatusEffect>
</Pump>
<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="set_state" displayname="connection.setstate" />
<output name="state_out" displayname="connection.stateout" fallbackdisplayname="connection.signalout" />
</ConnectionPanel>
<RepairTool extinguishamount="120.0" range="750" barrelpos="0,0" repairthroughholes="true" characterusable="false" requireaimtouse="false" usablein="air" hititems="true" wateramount="100" barrelrotation="270">
<ParticleEmitter particle="waterdrop" velocitymin="10.0" velocitymax="50.0" particlespersecond="50" volume="0.02" />
<sound file="Content/Sounds/Water/FlowSmall.ogg" type="OnUse" range="500.0" loop="true" />
</RepairTool>
<Holdable selectkey="Select" pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetachCrowbar" PickingTime="10.0" aimpos="35,-10" handle1="0,0" attachable="true" attachedbydefault="true" aimable="true">
<requireditem identifier="crowbar" type="Equipped" />
</Holdable>
</Item>
<Item name="" identifier="thal_planter" category="Material" Tags="planter,mediumitem" scale="0.5" isshootable="true" hideinmenus="true" requireaimtouse="false" canflipy="true">
<Sprite texture="Content/Items/Gardening/GrowablePlants_Temp.png" sourcerect="896,384,128,128" depth="0.75" premultiplyalpha="false" origin="0.5,0.5" />
<Body width="95" height="106" density="40" />
<ItemLabel scrollable="true" padding="7,12,7,6" textcolor="1,1,1,1" text="">
<StatusEffect type="Always" duration="1" target="This" text="">
<Conditional isshootable="eq false" />
</StatusEffect>
<StatusEffect type="Always" duration="1" target="This" text="entityname.thal_shroomseed">
<RequiredItem items="thal_shroomseed" type="Contained" />
<Conditional IsOn="true" targetcomponent="LightComponent" />
</StatusEffect>
<StatusEffect type="Always" duration="1" target="This" text="entityname.thal_zombieseed">
<RequiredItem items="thal_zombieseed" type="Contained" />
<Conditional IsOn="true" targetcomponent="LightComponent" />
</StatusEffect>
<StatusEffect type="Always" duration="1" target="This" text="entityname.thal_wheatseed">
<RequiredItem items="thal_wheatseed" type="Contained" />
<Conditional IsOn="true" targetcomponent="LightComponent" />
</StatusEffect>
</ItemLabel>
<Holdable selectkey="Select" pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetach" PickingTime="7.0" aimpos="85,-10" handle1="0,0" attachable="true" aimable="true" />
<ItemContainer capacity="1" hideitems="true" drawinventory="false" uilabel="" allowuioverlap="true" allowdraganddrop="true" showcontainedstateindicator="false">
<Containable items="seed" />
</ItemContainer>
<ItemContainer maxstacksize="1" capacity="1" slotsperrow="3" canbeselected="true" msg="ItemMsgOpenCrowbarSelect" hideitems="false" drawinventory="true" itemrotation="0" itempos="45,-80" itemsperrow="3" iteminterval="50,-65" containedspritedepth="0.835">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="thal_produce" />
<StatusEffect target="This" type="Always" spritecolor="255,0,0,255">
<RequiredItem items="seed" type="Contained" />
<SpawnItem identifier="thal_wheatstalk" spawnposition="ThisInventory" />
</StatusEffect>
</ItemContainer>
<LightComponent range="10.0" lightcolor="160,255,150,0" IsOn="true" castshadows="false" allowingameediting="false">
<sprite texture="Content/Items/Gardening/GrowablePlants_Temp.png" depth="0.025" sourcerect="896,512,128,128" origin="0.5,0.5" alpha="1.0" />
</LightComponent>
<Planter selectkey="Select" canbepicked="true" pickingtime="3.0" msg="ItemMsgPlantSeed">
<PlantSlot slot="0" offset="0,32" size="0.25" />
<SuitableFertilizer items="fertilizer" />
<SuitableSeed items="seed" />
</Planter>
</Item>
<!--
<Item name="dontuse" identifier="thal_trashcan" category="Machine" Tags="machine,crewcab" description="" impactsoundtag="impact_metal_light" hideinmenus="false">
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="0,0,64,64" origin="0.5,0.5" />
<Sprite texture="Content/Items/InventoryIconAtlas.png" depth="0.55" sourcerect="0,0,64,64" origin="0.5,0.5" />
<Body width="17" height="48" density="5" bodytype="Kinematic" targetrotation="90"/>
<ItemContainer hideitems="true" drawinventory="true" capacity="1" canbeselected="true" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="smallitem,mediumitem" />
</ItemContainer>
</Item>
<Item name="dontuse" identifier="thal_trashchute" tags="depthchargelauncher" category="Machine" focusonselected="true" offsetonselected="700" linkable="true" allowedlinks="depthchargeammosource" scale="0.5">
<Sprite texture="TurretsAndDepthCharges.png" depth="0.01" sourcerect="259,1,85,149" origin="0.5,0.5" />
<Turret canbeselected="false" linkable="true" characterusable="false" barrelpos="42, 149" rotationlimits="90,90" powerconsumption="0.0" />
<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="trigger_in" displayname="connection.turrettriggerin" />
</ConnectionPanel>
</Item>
-->
<Item nameidentifier="op_vendingmachine1" identifier="thal_vendingmachine" width="238" height="396" texturescale="1.0,1.0" scale="0.5" category="Decorative">
<sprite name="vend base" texture="%ModDir%/Items/Containers/VendingMachine.png" sourcerect="6,4,238,396" depth="0.84" origin="0.5,0.5" />
<DecorativeSprite name="vend glass" texture="%ModDir%/Items/Containers/VendingMachine.png" sourcerect="254,4,238,396" depth="0.83" origin="0.5,0.5" />
<LightComponent range="0.0" lightcolor="255,255,255,60" IsOn="true" castshadows="false" allowingameediting="false">
<sprite texture="Content/Map/Outposts/Art/MedBayAssets.png" sourcerect="241,497,238,396" depth="0.1" origin="0.5,0.5" alpha="1.0" />
<StatusEffect type="OnActive" target="This">
<sound file="%ModDir%/Items/OxygenGenerator/OxyDock.ogg" range="350.0" loop="true" />
</StatusEffect>
</LightComponent>
<!-- enable after turret shooting nonproj implemented
<Turret canbeselected="false" linkable="false" characterusable="false" barrelpos="42, 149" rotationlimits="90,90" powerconsumption="0.0" >
<CustomInterface canbeselected="true" drawhudwhenequipped="false">
<GuiFrame relativesize="0.15,0.1" anchor="TopRight" absoluteoffset="20,20" style="ItemUI" color="0,0,0,0" />
<Button text="Visor Light">
<StatusEffect type="OnUse" targettype="This" setvalue="true" condition="90" >
<UseItem />
</StatusEffect>
</Button>
</CustomInterface>
</Turret>
-->
<ItemContainer maxstacksize="1" capacity="12" slotsperrow="3" canbeselected="true" msg="ItemMsgOpenCrowbarSelect" hideitems="false" drawinventory="true" itemrotation="-45" itempos="45,-80" itemsperrow="3" iteminterval="50,-65" containedspritedepth="0.835">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<RequiredItem item="crowbar" type="Equipped" msg="itemMsgCrowbarRequired" ignoreineditor="true" />
<Containable items="smallitem" />
</ItemContainer>
<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="trigger_in" displayname="connection.turrettriggerin" />
</ConnectionPanel>
</Item>
<Item name="Vending Machine Slot" identifier="thal_vendingslot" tags="vendingslot" category="Misc" sonarsize="5" scale="0.5" hideinmenus="true">
<Price baseprice="75">
<Price locationtype="outpost" multiplier="1.5" minavailable="1" />
<Price locationtype="city" multiplier="1.25" minavailable="2" />
<Price locationtype="research" multiplier="1.25" minavailable="1" />
<Price locationtype="military" multiplier="0.9" minavailable="4" />
<Price locationtype="mine" multiplier="1.25" minavailable="1" />
</Price>
<Deconstruct time="10">
<Item identifier="steel" />
<Item identifier="aluminium" />
</Deconstruct>
<Fabricate suitablefabricators="fabricator" requiredtime="20">
<RequiredSkill identifier="weapons" level="25" />
<RequiredItem identifier="steel" />
<RequiredItem identifier="aluminium" />
</Fabricate>
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="512,128,64,64" origin="0.5,0.5" />
<Sprite texture="Content/Items/Weapons/TurretsAndDepthCharges.png" sourcerect="0,0,1,1" depth="0.55" origin="0.5,0.5" />
<Body width="128" height="85" density="11" />
<Holdable slots="RightHand+LeftHand" holdpos="0,-50" handle1="-10,20" handle2="10,20" aimable="false" msg="ItemMsgPickUpSelect" />
<Projectile characterusable="false" launchimpulse="5.0">
<Attack structuredamage="1" damagetype="Blunt" />
</Projectile>
<ItemContainer maxstacksize="1" capacity="1" slotsperrow="1" canbeselected="false" hideitems="false" drawinventory="true" itempos="0,0" itemsperrow="1">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="smallitem" />
</ItemContainer>
</Item>
</Items>