Performing CPR on unconscious players, a "use on self" button for some items

This commit is contained in:
Regalis
2016-03-25 15:34:40 +02:00
parent 0dbfb54b5f
commit f585235887
11 changed files with 225 additions and 55 deletions
+5 -1
View File
@@ -189,6 +189,11 @@ namespace Barotrauma
get { return prefab.FireProof; }
}
public bool CanUseOnSelf
{
get { return prefab.CanUseOnSelf; }
}
public bool InWater
{
get
@@ -1056,7 +1061,6 @@ namespace Barotrauma
public bool Pick(Character picker, bool ignoreRequiredItems=false, bool forceSelectKey=false, bool forceActionKey=false)
{
bool hasRequiredSkills = true;
bool picked = false, selected = false;