116    {
  118        {
  120            return;
  121        }
  122        
  124 
  125        bool accepted           = false;        
  129 
  130        if (LogManager.IsActionLogEnable())
  131        {
  132            if (target)
  133            {
  134                Debug.ActionLog(
"Item = " + item + 
", " + target.DumpToString(), pickedAction.ToString() , 
"n/a", 
"DeliveredAction", 
m_Player.ToString());
 
  135            }
  136            else
  137            {
  138                Debug.ActionLog(
"Item = " + item + 
", NULL", pickedAction.ToString() , 
"n/a", 
"DeliveredAction", 
m_Player.ToString());
 
  139            }
  140        }
  141 
  143        {
  145                accepted = true;
  146        }
  147        
  148        if (accepted)
  149        {
  150            if (LogManager.IsActionLogEnable())
  151            {
  152                Debug.ActionLog(
"Action accepted", pickedAction.ToString() , 
"n/a", 
"CheckDeliveredAction", 
m_Player.ToString() );
 
  153            }
  154            
  156            {
  157                
  160            }
  161            else
  162            {
  164            }
  165        }
  166        else
  167        {
  168            if (LogManager.IsActionLogEnable())
  169            {
  170                Debug.ActionLog(
"Action rejected", pickedAction.ToString() , 
"n/a", 
"CheckDeliveredAction", 
m_Player.ToString() );
 
  171            }
  172 
  174            {
  176            }
  177            else
  178            {
  180            }
  181        }
  182    }
ref ActionData m_CurrentActionData
int m_PendingActionAcknowledgmentID
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
class GP5GasMask extends MaskBase ItemBase
bool Can(PlayerBase player, ActionTarget target, ItemBase item, int condition_mask)
bool AddActionJuncture(ActionData action_data)
override void RequestInterruptAction()
server requests action interrupt