diff --git a/Barotrauma/BarotraumaShared/Content/Items/Medical/medical.xml b/Barotrauma/BarotraumaShared/Content/Items/Medical/medical.xml
index 80b7dc920..83684b61a 100644
--- a/Barotrauma/BarotraumaShared/Content/Items/Medical/medical.xml
+++ b/Barotrauma/BarotraumaShared/Content/Items/Medical/medical.xml
@@ -62,6 +62,10 @@
+
+
+
+
@@ -81,6 +85,10 @@
+
+
+
+
@@ -107,6 +115,10 @@
+
+
+
+
@@ -126,6 +138,10 @@
+
+
+
+
@@ -151,6 +167,10 @@
+
+
+
+
@@ -170,6 +190,10 @@
+
+
+
+
@@ -193,6 +217,10 @@
+
+
+
+
@@ -212,6 +240,10 @@
+
+
+
+
@@ -236,6 +268,10 @@
+
+
+
+
@@ -257,6 +293,10 @@
+
+
+
+
@@ -277,6 +317,10 @@
+
+
+
+
@@ -303,7 +347,11 @@
-
+
+
+
+
+
@@ -318,8 +366,7 @@
category="Material"
spritecolor="1.0,1.0,0.0,1.0"
cargocontainername="Chemical Crate"
- Tags="smallitem,chem,medical"
-
+ Tags="smallitem,chem,medical"
description="A highly potent corrigodone-based stimulant."
price="150">
@@ -331,6 +378,10 @@
+
+
+
+
@@ -351,6 +402,10 @@
+
+
+
+
@@ -381,6 +436,10 @@
+
+
+
+
@@ -403,6 +462,10 @@
+
+
+
+
@@ -427,6 +490,10 @@
+
+
+
+
@@ -451,6 +518,14 @@
+
+
+
+
+
+
+
+
@@ -470,6 +545,10 @@
+
+
+
+
@@ -489,6 +568,10 @@
+
+
+
+
@@ -508,6 +591,10 @@
+
+
+
+
@@ -530,6 +617,10 @@
+
+
+
+
@@ -550,6 +641,10 @@
+
+
+
+
@@ -573,6 +668,7 @@
+
@@ -602,6 +698,10 @@
+
+
+
+
diff --git a/Barotrauma/BarotraumaShared/Content/Items/Weapons/depthcharge.xml b/Barotrauma/BarotraumaShared/Content/Items/Weapons/depthcharge.xml
index ae3ec930a..c6ade8ce4 100644
--- a/Barotrauma/BarotraumaShared/Content/Items/Weapons/depthcharge.xml
+++ b/Barotrauma/BarotraumaShared/Content/Items/Weapons/depthcharge.xml
@@ -5,8 +5,7 @@
category="Machine"
focusonselected="true"
offsetonselected="700"
- linkable="true"
- >
+ linkable="true">
@@ -23,8 +22,7 @@
-
+ linkable="true">
@@ -53,7 +51,9 @@
-
+
+
+
@@ -85,7 +85,9 @@
-
+
+
+
diff --git a/Barotrauma/BarotraumaShared/Content/Items/Weapons/explosives.xml b/Barotrauma/BarotraumaShared/Content/Items/Weapons/explosives.xml
index 0656bba51..84c56f6e6 100644
--- a/Barotrauma/BarotraumaShared/Content/Items/Weapons/explosives.xml
+++ b/Barotrauma/BarotraumaShared/Content/Items/Weapons/explosives.xml
@@ -11,9 +11,10 @@
-
+
+
@@ -30,9 +31,10 @@
-
+
+
@@ -50,9 +52,15 @@
-
+
+
+
+
+
+
+
@@ -70,10 +78,11 @@
-
+
+
@@ -101,7 +110,7 @@
-
+
diff --git a/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml b/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml
index 07f406431..abbd6718c 100644
--- a/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml
+++ b/Barotrauma/BarotraumaShared/Content/Items/Weapons/railgun.xml
@@ -132,7 +132,9 @@
-
+
+
+
diff --git a/Barotrauma/BarotraumaShared/Source/StatusEffects/StatusEffect.cs b/Barotrauma/BarotraumaShared/Source/StatusEffects/StatusEffect.cs
index 4ba46553b..ba79c6577 100644
--- a/Barotrauma/BarotraumaShared/Source/StatusEffects/StatusEffect.cs
+++ b/Barotrauma/BarotraumaShared/Source/StatusEffects/StatusEffect.cs
@@ -58,6 +58,8 @@ namespace Barotrauma
private readonly int useItemCount;
+ private readonly bool removeItem;
+
public readonly ActionType type;
private Explosion explosion;
@@ -211,6 +213,10 @@ namespace Barotrauma
case "useitem":
useItemCount++;
break;
+ case "remove":
+ case "removeitem":
+ removeItem = true;
+ break;
case "requireditem":
case "requireditems":
RelatedItem newRequiredItem = RelatedItem.Load(subElement);
@@ -368,6 +374,14 @@ namespace Barotrauma
}
}
+ if (removeItem)
+ {
+ foreach (Item item in targets.FindAll(t => t is Item).Cast- ())
+ {
+ Entity.Spawner.AddToRemoveQueue(item);
+ }
+ }
+
if (duration > 0.0f)
{
DurationListElement element = new DurationListElement();