From 3343185e9f68c245e199e8673cd24039c99d62de Mon Sep 17 00:00:00 2001 From: Alex Noir Date: Sun, 17 Dec 2017 23:25:17 +0300 Subject: [PATCH] Make radios drain battery when idle so they're no longer infinite when not equipped in face slot Reduce drainage rate due to original drain rate being too quick though However: radios will still drain battery even when dropped or put in a locker. This could be solved by either implementing a conditional into .xml which would check if a character exists, orrrr by adding a toggle in-inventory button, orrrr by allowing a third "toggle" param for booleans e.g. "OnUse" IsActive="toggle" --- .../BarotraumaShared/Content/Items/Jobgear/misc.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Barotrauma/BarotraumaShared/Content/Items/Jobgear/misc.xml b/Barotrauma/BarotraumaShared/Content/Items/Jobgear/misc.xml index cdb8cb115..c94e03422 100644 --- a/Barotrauma/BarotraumaShared/Content/Items/Jobgear/misc.xml +++ b/Barotrauma/BarotraumaShared/Content/Items/Jobgear/misc.xml @@ -14,13 +14,16 @@ - - - - + + + + + + + + -