(3fbeb4c70) Option to make items use the name and description of another item

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:05:16 +03:00
parent 92e4c824f4
commit 36ee088738
13 changed files with 410 additions and 84 deletions
@@ -1920,6 +1920,10 @@ namespace Barotrauma
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
if (!broken)
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
if (body == null || !body.Enabled || !inWater || ParentInventory != null || Removed) { return; }