Updated and refactored how items and characters are chosen for interactions in the world. The new system has more precision, with items under the cursor taking priority (this helps with small items which are in front of large items). A new method CanInteractWith(Item) has been added to the Character class which does all validation of interaction with items, including new distance calculations based on bounding boxes. This gives more consistency in selecting and interacting with all sizes and shapes of items. Because of this pickdistance (not interactdistance) has been removed from all item configurations (in their XML config files) and the default InteractDistance for all items is now 120.

This commit is contained in:
Faerdan
2017-06-18 22:30:54 +01:00
parent 5cd2a5a838
commit a09367c78f
45 changed files with 483 additions and 476 deletions
@@ -4,7 +4,7 @@
name="Skyholder Artifact"
category="Alien"
Tags="alien"
pickdistance="150">
>
<Sprite texture="artifact.png" depth="0.7" sourcerect="59,0,60,61"/>
@@ -26,7 +26,7 @@
name="Thermal Artifact"
category="Alien"
Tags="alien"
pickdistance="150">
>
<Sprite texture="artifact.png" depth="0.7" sourcerect="0,0,58,56"/>
@@ -49,7 +49,7 @@
<Item
name="Faraday Artifact"
Tags="alien"
pickdistance="150">
>
<Sprite texture="artifact.png" depth="0.7" sourcerect="0,56,60,49"/>
@@ -68,7 +68,7 @@
<Item
name="Oxygenite Shard"
category="Alien"
pickdistance="150"
tags="alien,smallitem"
impacttolerance="8">
@@ -88,7 +88,7 @@
<Item
name="Sulphurite Shard"
category="Alien"
pickdistance="150"
tags="alien,smallitem"
impacttolerance="8"
spritecolor="1.0,0.0,0.0,1.0">
@@ -113,7 +113,7 @@
name="Ancient Weapon"
category="Alien"
Tags="alien,smallitem"
pickdistance="200">
>
<Deconstruct time="20">
<Item name="Steel Bar"/>
@@ -164,7 +164,7 @@
category="Alien"
Tags="alien"
linkable="true"
pickdistance="150.0">
>
<Sprite texture="Content/Map/ruins.png" sourcerect="747,0,260,95" depth="0.8" origin="0.5,0.5"/>
@@ -186,7 +186,7 @@
category="Alien"
linkable="true"
Tags="alien"
pickdistance="150.0">
>
<Sprite texture="Content/Map/ruins.png" sourcerect="746,101,93,259" depth="0.8" origin="0.5,0.5"/>
@@ -208,7 +208,7 @@
linkable="true"
category="Alien"
Tags="alien"
pickdistance="150.0">
>
<Sprite texture="Content/Map/ruins.png" sourcerect="55,608,81,103" depth="0.8" origin="0.5,0.5"/>
@@ -225,7 +225,7 @@
linkable="true"
category="Alien"
Tags="alien"
pickdistance="150.0">
>
<Sprite texture="artifactholder.png" depth="0.8"/>
+1 -1
View File
@@ -3,7 +3,7 @@
category="Electrical"
linkable="true"
tags="smallitem"
pickdistance="150.0"
price="10">
<Sprite texture ="button.png" depth="0.8"/>
@@ -4,7 +4,7 @@
name="Oxygen Tank"
category="Equipment,Misc"
Tags="smallitem"
pickdistance="150"
price="50">
<Deconstruct time="10">
@@ -26,7 +26,7 @@
name="Diving Mask"
category="Equipment"
Tags="smallitem,diving"
pickdistance="200"
price="50"
description="Small enough to carry around in case of need, but won't protect you from the water pressure in the event of a full-blown hull breach.">
@@ -63,7 +63,7 @@
name="Diving Suit"
category="Equipment"
tags="diving"
pickdistance="200"
price="200"
fireproof="true"
description="An atmospheric diving suit capable of withstanding the immense pressure under Europa's crust.">
@@ -113,7 +113,7 @@
name="Underwater Scooter"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="50"
description="A battery-powered underwater propulsion device.">
+5 -5
View File
@@ -2,7 +2,7 @@
<Item
name="Door"
linkable="true"
pickdistance="150.0">
>
<Sprite texture ="door.png" sourcerect="1,0,48,208" depth="0.01" origin="0.5,0.5"/>
@@ -30,7 +30,7 @@
<Item
name="Windowed Door"
linkable="true"
pickdistance="150.0">
>
<Sprite texture ="door.png" sourcerect="1,0,48,208" depth="0.01" origin="0.5,0.5"/>
@@ -58,7 +58,7 @@
<Item
name="Hatch"
linkable="true"
pickdistance="150.0">
>
<Sprite texture ="door.png" sourcerect="0,209,128,46" depth="0.01" origin="0.5,0.5"/>
@@ -86,7 +86,7 @@
<Item
name="Docking Port"
linkable="true"
pickdistance="150.0">
>
<Sprite texture ="dockingport.png" sourcerect="0,0,112,208" depth="0.94" origin="0.5,0.5"/>
@@ -117,7 +117,7 @@
<Item
name="Docking Hatch"
linkable="true"
pickdistance="150.0">
>
<Sprite texture ="dockingport2.png" sourcerect="0,0,128,112" depth="0.94" origin="0.5,0.5"/>
@@ -6,7 +6,7 @@
name="Lamp"
category="Electrical"
Tags="smallitem"
pickdistance="150">
>
<Sprite texture="lamp.png" sourcerect="0,0,16,32" depth="0.8"/>
@@ -26,7 +26,7 @@
name="Emergency Light"
category="Electrical"
Tags="smallitem"
pickdistance="150">
>
<Sprite texture="lamp.png" sourcerect="0,48,48,16" depth="0.8"/>
@@ -2,7 +2,7 @@
<Item
name="Monitor"
linkable="true"
pickdistance="150">
>
<Sprite texture ="monitor.png" depth="0.85"/>
@@ -4,7 +4,7 @@
name="Junction Box"
category="Electrical"
linkable="true"
pickdistance="150"
description="Serves as a hub for power distribution and relaying signals between devices.">
<Sprite texture="junctionbox.png" depth="0.8" canflipx="false"/>
@@ -40,7 +40,7 @@
name="Battery"
category="Electrical"
linkable="true"
pickdistance="150"
description="Generally used for storing backup power in case of a reactor failure.">
<Sprite texture ="battery.png" depth="0.8"/>
@@ -68,7 +68,7 @@
name="Supercapacitor"
category="Electrical"
linkable="true"
pickdistance="150"
description="Can deliver charge much faster than batteries.">
<Sprite texture ="supercapacitor.png" depth="0.8"/>
@@ -6,7 +6,7 @@
name="Wire"
category="Electrical"
Tags="smallitem,wire"
pickdistance="150"
linkable="true"
canbepicked="true"
price="10">
@@ -29,7 +29,7 @@
category="Electrical"
Tags="smallitem,wire"
spritecolor="1.0,0.0,0.0,1.0"
pickdistance="150"
linkable="true"
canbepicked="true"
price="10">
@@ -51,7 +51,7 @@
category="Electrical"
Tags="smallitem,wire"
spritecolor="0.0,0.6,1.0,1.0"
pickdistance="150"
linkable="true"
canbepicked="true"
price="10">
@@ -73,7 +73,7 @@
category="Electrical"
Tags="smallitem,wire"
spritecolor="1.0,0.5,0.0,1.0"
pickdistance="150"
linkable="true"
canbepicked="true"
price="10">
@@ -94,7 +94,7 @@
name="FPGA Circuit"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="100"
description="Field-programmable gate array - a multi-purpose circuit which can be reconfigured for use in a large variety of electrical devices.">
@@ -110,7 +110,7 @@
name="And Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Sends a signal when both inputs receive a signal within a set period of each other.">
@@ -145,7 +145,7 @@
name="Or Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Sends a signal if either of the inputs receive a signal.">
@@ -179,7 +179,7 @@
name="Not Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Sends a signal when the input is NOT receiving a signal.">
@@ -211,7 +211,7 @@
name="Relay Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="When switched on, forwards all received signals from the input connections to the outputs.">
@@ -257,7 +257,7 @@
name="Delay Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Delays all received signals for a specific amount of time.">
@@ -289,7 +289,7 @@
name="Light Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10">
@@ -324,7 +324,7 @@
name="Oxygen Detector"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Sends out a value between 0-100 depending on the quality of the surrounding air.">
@@ -355,7 +355,7 @@
name="Water Detector"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Sends out a signal when the detector is submerged.">
@@ -386,7 +386,7 @@
name="Signal Check Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Sends a signal when a signal matching a specific value is received.">
@@ -420,7 +420,7 @@
name="RegEx Find Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10"
description="Sends a signal if the received signal matches a specific regular expression pattern.">
@@ -452,7 +452,7 @@
name="Wifi Component"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="20"
description="Allows remote communication between other Wifi Components that are using the same channel.">
@@ -484,7 +484,7 @@
name="Emergency Siren"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10">
@@ -517,7 +517,7 @@
name="Alarm Buzzer"
category="Electrical"
Tags="smallitem"
pickdistance="150"
linkable="true"
price="10">
@@ -550,7 +550,7 @@
name="Camera"
category="Electrical"
Tags="smallitem"
pickdistance="150"
focusonselected="true"
offsetonselected="500"
linkable="true"
+4 -4
View File
@@ -6,7 +6,7 @@
linkable="true"
category="Machine"
pickthroughwalls="true"
pickdistance="150">
>
<Sprite texture ="engine.png" depth="0.8" sourcerect="0,0,373,113" canflipx="true"/>
@@ -34,7 +34,7 @@
linkable="true"
category="Machine"
pickthroughwalls="true"
pickdistance="150">
>
<Sprite texture ="engine.png" depth="0.8" sourcerect="0,115,224,73" canflipx="true"/>
@@ -60,7 +60,7 @@
name="Navigation Terminal"
linkable="true"
category="Machine"
pickdistance="150">
>
<Sprite texture="Content/Items/machines.png" depth="0.8" sourcerect="0,0,64,128"/>
@@ -96,7 +96,7 @@
name="Sonar Monitor"
linkable="true"
category="Machine"
pickdistance="150">
>
<Sprite texture="Content/Items/machines.png" depth="0.8" sourcerect="64,0,64,128"/>
@@ -3,7 +3,7 @@
<Item
name="Fabricator"
linkable="true"
pickdistance="150"
category="Machine"
description="A machine capable of manufacturing a wide range of items out of basic raw materials.">
@@ -84,7 +84,7 @@
<Item
name="Medical Fabricator"
linkable="true"
pickdistance="150"
category="Machine"
description="A machine that can be used to manufacture various medicines.">
@@ -157,7 +157,7 @@
<Item
name="Deconstructor"
linkable="true"
pickdistance="150"
category="Machine"
description="Disassembles and breaks down items to reusable components and material bars.">
@@ -4,7 +4,7 @@
name="Steel Bar"
category="Material"
Tags="smallitem"
pickdistance="150"
canbepicked="true"
price="50">
@@ -24,7 +24,7 @@
name="Uranium Bar"
category="Material"
Tags="smallitem"
pickdistance="150"
spritecolor="0.2,0.35,0.06,1.0"
canbepicked="true"
price="100">
@@ -45,7 +45,7 @@
name="Copper Bar"
category="Material"
Tags="smallitem"
pickdistance="150"
spritecolor="0.78,0.55,0.2,1.0"
canbepicked="true"
price="50">
@@ -61,7 +61,7 @@
name="Polycarbonate Bar"
category="Material"
Tags="smallitem"
pickdistance="150"
spritecolor="0.9,0.9,1.0,0.9"
canbepicked="true"
price="50">
@@ -77,7 +77,7 @@
name="Incendium Bar"
category="Material"
Tags="smallitem"
pickdistance="150"
spritecolor="0.5,0.0,0.0,1.0"
canbepicked="true">
@@ -97,7 +97,7 @@
name="Fulgurium Bar"
category="Material"
Tags="smallitem"
pickdistance="150"
spritecolor="1.0,0.7,0.05,1.0"
canbepicked="true">
@@ -2,7 +2,7 @@
<Item
name="Captain's Cap"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="A token of the Captain's unquestionable authority.">
@@ -18,7 +18,7 @@
<Item
name="Captain's Jacket"
category="Equipment"
pickdistance="150"
tags="smallitem">
<Sprite texture ="captainLegs.png" sourcerect="0,49,52,17" depth="0.6"/>
@@ -39,7 +39,7 @@
<Item
name="Captain's Trousers"
category="Equipment"
pickdistance="150"
tags="smallitem">
<Sprite texture ="captainLegs.png" sourcerect="0,67,51,13" depth="0.6"/>
@@ -2,7 +2,7 @@
<Item
name="Health Scanner HUD"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="A heads-up display that displays information of the vital signs and status of nearby humans.">
@@ -20,7 +20,7 @@
<Item
name="Doctor's Coat"
category="Equipment"
pickdistance="150"
tags="smallitem">
<Sprite texture ="doctorgear.png" sourcerect="75,0,53,18" depth="0.6"/>
@@ -45,7 +45,7 @@
<Item
name="Doctor's Trousers"
category="Equipment"
pickdistance="150"
tags="smallitem">
<Sprite texture ="doctorgear.png" sourcerect="76,19,51,13" depth="0.6"/>
@@ -2,7 +2,7 @@
<Item
name="Orange Jumpsuit"
category="Equipment"
pickdistance="150"
tags="smallitem"
fireproof="true"
description="The fire-resistant fabric offers some protection against fires. Plenty of pockets for carrying any extra gear an engineer might need.">
@@ -30,7 +30,7 @@
<Item
name="Blue Jumpsuit"
category="Equipment"
pickdistance="150"
tags="smallitem"
fireproof="true"
description="The fire-resistant fabric offers some protection against fires. Plenty of pockets for carrying any extra gear a mechanic might need.">
+3 -3
View File
@@ -2,7 +2,7 @@
<Item
name="Headset"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="Allows remote communication between the crew.">
@@ -28,7 +28,7 @@
<Item
name="Clown Mask"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="Praise the honkmother.">
@@ -44,7 +44,7 @@
<Item
name="Clown Costume"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="Praise the honkmother.">
@@ -2,7 +2,7 @@
<Item
name="Body Armor"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="While the body armor won't offer adequate protection against most of the inhabitants of the subsurface ocean, it can be extremely useful if there are traitors on board.">
@@ -20,7 +20,7 @@
<Item
name="Ballistic Helmet"
category="Equipment"
pickdistance="150"
tags="smallitem"
description="While the helmet won't offer adequate protection against most of the inhabitants of the subsurface ocean, it can be extremely useful if there are traitors on board.">
@@ -41,7 +41,7 @@
<Item
name="Handcuffs"
category="Equipment"
pickdistance="150"
tags="smallitem" >
<Sprite texture = "securitygear.png" sourcerect="0,63,32,14" depth="0.6"/>
+22 -22
View File
@@ -4,7 +4,7 @@
name="Medical Syringe"
category="Equipment"
Tags="smallitem,medical"
pickdistance="150"
price="50"
canuseonself="true"
description="Injection is often a much more effective method of administering drugs than taking them orally.">
@@ -31,7 +31,7 @@
name="Bandage"
category="Equipment"
Tags="smallitem,medical"
pickdistance="150"
canuseonself="true"
price="20"
description="Treated with a hemostatic agent that quickly seals most minor wounds.">
@@ -51,7 +51,7 @@
name="Iron Powder"
category="Material"
Tags="smallitem,chem"
pickdistance="150"
price="5">
<Sprite texture ="med.png" sourcerect="24,16,8,16" depth="0.6" color="0.2,0.2,0.2,1.0"/>
@@ -66,7 +66,7 @@
category="Material"
spritecolor="1.0,1.0,0.7,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
description="A mild stimulant which is used as an incredient in the manufacture of various medicines."
price="10">
@@ -91,7 +91,7 @@
category="Material"
spritecolor="0.5,0.5,1.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
canuseonself="true"
description="Most commonly used for treating oxygen deprivation."
price="50">
@@ -112,7 +112,7 @@
category="Material"
spritecolor="0.6,0.4,0.2,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
canuseonself="true"
description="A hemostatic agent that slows down bleeding."
price="50">
@@ -138,7 +138,7 @@
category="Material"
spritecolor="0.8,0.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
canuseonself="true"
description="Highly effective at treating various types of physical trauma."
price="50">
@@ -164,7 +164,7 @@
category="Material"
spritecolor="1.0,1.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
description="A highly potent corrigodone-based stimulant."
price="150">
@@ -184,7 +184,7 @@
category="Material"
spritecolor="1.0,1.0,1.0,0.6"
Tags="smallitem,chem,medical"
pickdistance="150"
price="20">
<Sprite texture ="med.png" sourcerect="15,15,8,17" depth="0.6"/>
@@ -204,7 +204,7 @@
spritecolor="0.0,0.9,0.1,1.0"
Tags="smallitem,chem,medical"
canuseonself="true"
pickdistance="150"
price="20">
<ItemComponent>
@@ -228,7 +228,7 @@
category="Material"
spritecolor="0.7,0.7,0.7,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
price="20">
<Sprite texture ="med.png" sourcerect="24,16,8,16" depth="0.6"/>
@@ -247,7 +247,7 @@
category="Material"
spritecolor="0.8,0.8,0.8,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
price="20">
<Sprite texture ="med.png" sourcerect="24,16,8,16" depth="0.6"/>
@@ -266,7 +266,7 @@
category="Material"
spritecolor="0.1,0.1,0.1,1.0"
Tags="smallitem,chem,explosive"
pickdistance="150"
price="50">
<Sprite texture ="med.png" sourcerect="24,16,8,16" depth="0.6"/>
@@ -287,7 +287,7 @@
category="Material"
spritecolor="1.0,1.0,1.0,0.8"
Tags="smallitem,chem,medical"
pickdistance="150"
price="20">
<Sprite texture ="med.png" sourcerect="15,15,8,17" depth="0.6"/>
@@ -306,7 +306,7 @@
category="Material"
spritecolor="0.5,0.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
price="20">
<Sprite texture ="med.png" sourcerect="24,16,8,16" depth="0.6"/>
@@ -325,7 +325,7 @@
category="Material"
spritecolor="0.5,0.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
price="50">
<Sprite texture ="med.png" sourcerect="15,15,8,17" depth="0.6"/>
@@ -344,7 +344,7 @@
category="Material"
spritecolor="0.2,0.35,0.06,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
price="50">
<Sprite texture ="med.png" sourcerect="24,16,8,16" depth="0.6"/>
@@ -363,7 +363,7 @@
category="Material"
spritecolor="0.8,0.3,0.8,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
description="A potent muscle stimulant."
price="50">
@@ -383,7 +383,7 @@
category="Material"
spritecolor="0.0,0.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
description="A highly potent neurotoxin."
price="200">
@@ -403,7 +403,7 @@
category="Material"
spritecolor="0.0,0.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
description="Dormant eggs of the Europan lifeform colloquially referred to as 'husk parasite'."
price="200">
@@ -423,7 +423,7 @@
category="Material"
spritecolor="0.0,0.0,0.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
description="An antiparasitic drug used in the treatment of husk parasite infections."
price="300">
@@ -443,7 +443,7 @@
category="Material"
spritecolor="0.6,0.8,1.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
canuseonself="true"
description="A mildy toxic solution that slowly releases oxygen into the bloodstream when injected.">
+1 -1
View File
@@ -3,7 +3,7 @@
aliases="MiniMap"
category="Machine"
linkable="true"
pickdistance="150">
>
<Sprite texture="Content/Items/machines.png" depth="0.8" sourcerect="64,0,64,128"/>
+2 -2
View File
@@ -3,7 +3,7 @@
name="Pump"
linkable="true"
category="Machine"
pickdistance="200">
>
<Sprite texture ="pump.png" depth="0.8"/>
@@ -26,7 +26,7 @@
name="Small Pump"
linkable="true"
category="Machine"
pickdistance="150">
>
<Sprite texture ="smallpump.png" depth="0.8" sourcerect="0,0,64,48"/>
+3 -3
View File
@@ -55,7 +55,7 @@
<Item
name="Fuel Rod"
Tags="smallitem"
pickdistance="150"
price="200">
<Deconstruct time="10">
@@ -73,7 +73,7 @@
<Item
name="Incendium Fuel Rod"
Tags="smallitem"
pickdistance="150"
spritecolor="0.5,0.0,0.0,1.0">
<Deconstruct time="10">
@@ -92,7 +92,7 @@
<Item
name="Heat Absorber"
Tags="smallitem"
pickdistance="150">
>
<Sprite texture ="heatabsorber.png"/>
+9 -9
View File
@@ -4,7 +4,7 @@
name="Welding Tool"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="100"
description="One of the most crucial tools on board the submarine. Also works underwater.">
@@ -60,7 +60,7 @@
name="Plasma Cutter"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="100"
description="Cuts through various materials using a jet of ionized oxygen.">
@@ -105,7 +105,7 @@
name="Welding Fuel Tank"
category="Equipment"
Tags="smallitem"
pickdistance="150"
price="50">
<Deconstruct time="10">
@@ -127,7 +127,7 @@
name="Fire Extinguisher"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="100"
description="A handheld carbon dioxide extinguisher.">
@@ -156,7 +156,7 @@
name="Screwdriver"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="10">
<Sprite texture ="tools.png" sourcerect="0,58,31,6" depth="0.55"/>
@@ -171,7 +171,7 @@
name="Wrench"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="10">
<Sprite texture ="tools.png" sourcerect="0,50,26,7" depth="0.55"/>
@@ -188,7 +188,7 @@
name="Handheld Sonar"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="10">
<Sprite texture ="tools.png" sourcerect="42,0,22,9" depth="0.55"/>
@@ -218,7 +218,7 @@
name="Flashlight"
category="Equipment"
Tags="smallitem"
pickdistance="200"
price="10">
<Deconstruct time="15">
@@ -249,7 +249,7 @@
<Item
name="Flare"
category="Equipment"
pickdistance="150"
price="5"
spritecolor="1.0,0.0,0.0,1.0"
tags="smallitem">
@@ -6,7 +6,7 @@
focusonselected="true"
offsetonselected="700"
linkable="true"
pickdistance="150">
>
<Sprite texture ="railgunetc.png" depth="0.01" sourcerect="64,180,47,76"/>
@@ -24,7 +24,7 @@
name="Depth Charge Loader"
category="Machine"
linkable="true"
pickdistance="150">
>
<Sprite texture="railgunetc.png" depth="0.8" sourcerect="0,160,61,96"/>
@@ -37,7 +37,7 @@
<Item
name="Depth Charge Shell"
category="Misc"
pickdistance="150"
price="200">
<Deconstruct time="10">
@@ -65,7 +65,7 @@
<Item
name="Nuclear Depth Charge"
category="Misc"
pickdistance="150"
price="500">
<Deconstruct time="20">
@@ -4,7 +4,7 @@
name="C-4 Block"
category="Equipment"
Tags="smallitem,explosive"
pickdistance="150"
price="100">
<Sprite texture="weapons.png" depth="0.8" sourcerect="112,0,16,7"/>
@@ -22,7 +22,7 @@
name="Compound N"
category="Equipment"
Tags="smallitem,explosive"
pickdistance="150">
>
<Sprite texture="weapons.png" depth="0.8" sourcerect="112,0,16,7"/>
@@ -40,7 +40,7 @@
name="Volatile Compound N"
category="Equipment"
Tags="smallitem,explosive"
pickdistance="150">
>
<Sprite texture="weapons.png" depth="0.8" sourcerect="112,0,16,7"/>
@@ -60,7 +60,7 @@
description="A compound made of C-4 and incendium."
category="Equipment"
Tags="smallitem,explosive"
pickdistance="150">
>
<Sprite texture="weapons.png" depth="0.8" sourcerect="112,0,16,7"/>
@@ -80,7 +80,7 @@
description="A device that detonates any contained explosive when receiving a signal."
category="Equipment"
Tags="smallitem"
pickdistance="150"
price="50">
<Sprite texture="weapons.png" depth="0.8" sourcerect="112,7,16,9"/>
@@ -109,7 +109,7 @@
description="A highly unstable liquid that may explode when subjected to heat or physical shock."
spritecolor="1.0,1.0,1.0,1.0"
Tags="smallitem,chem,medical"
pickdistance="150"
impacttolerance="4">
<Sprite texture ="Content/Items/Medical/med.png" sourcerect="24,16,8,16" depth="0.6"/>
+5 -5
View File
@@ -5,7 +5,7 @@
focusonselected="true"
offsetonselected="700"
linkable="true"
pickdistance="150">
>
<Sprite texture ="railgunbase.png" depth = "0.01"/>
@@ -30,7 +30,7 @@
category="Machine"
type="Controller"
linkable="true"
pickdistance="150">
>
<Sprite texture ="railgunetc.png" depth="0.8" sourcerect="182,0,61,97"/>
@@ -53,7 +53,7 @@
name="Railgun Loader"
category="Machine"
linkable="true"
pickdistance="150">
>
<Sprite texture ="railgunetc.png" depth="0.8" sourcerect="0,0,177,128"/>
@@ -67,7 +67,7 @@
<Item
name="Railgun Shell"
category="Misc"
pickdistance="200"
price="200">
<Deconstruct time="10">
@@ -98,7 +98,7 @@
<Item
name="Nuclear Shell"
category="Misc"
pickdistance="200"
price="500">
<Deconstruct time="10">
+8 -8
View File
@@ -4,7 +4,7 @@
<Item
name="Spear"
category="Equipment"
pickdistance="200"
pickthroughwalls="true"
price="50">
@@ -25,7 +25,7 @@
<Item
name="Harpoon Gun"
category="Equipment"
pickdistance="200"
price="500"
tags="weapon">
@@ -57,7 +57,7 @@
<Item
name="Stun Grenade"
category="Equipment"
pickdistance="200"
price="200"
tags="smallitem,weapon">
@@ -75,7 +75,7 @@
<Item
name="Incendium Grenade"
category="Equipment"
pickdistance="200"
tags="smallitem,weapon">
<Sprite texture="weapons.png" sourcerect="98,0,11,24" depth="0.55"/>
@@ -94,7 +94,7 @@
name="Stun Baton"
category="Equipment"
Tags="smallitem,weapon"
pickdistance="150"
price="100"
description="If verbal orders are insufficient, a high-voltage shock from a Stun Baton may be enough to beat an unruly crew member into submission.">
@@ -129,7 +129,7 @@
<Item
name="Battery Cell"
category="Equipment,Electrical"
pickdistance="150"
tags="smallitem,loadable"
price="50"
description="Used as a power source for various handheld devices. Most submarines have several stationary backup batteries with recharge docks for battery cells.">
@@ -150,7 +150,7 @@
<Item
name="Fulgurium Battery Cell"
category="Equipment,Electrical"
pickdistance="150"
tags="smallitem,loadable"
description="A battery cell contructed of the rare and poorly understood compound Fulgurium.">
@@ -170,7 +170,7 @@
<Item
name="Bike Horn"
category="Equipment"
pickdistance="200"
tags="weapon,smallitem"
description="HONK">
+1 -1
View File
@@ -4,7 +4,7 @@
name="ID Card"
category="Equipment"
Tags="smallitem"
pickdistance="150">
>
<Sprite texture ="idcard.png" depth="0.8"/>