3 override void CreateActionComponent()
21 override void CreateConditionComponents()
29 if ( item.GetNumberOfItems() > 0 )
36 override bool HasTarget()
41 override void OnFinishProgressServer(
ActionData action_data )
43 if ( action_data.m_MainItem && action_data.m_MainItem.GetHierarchyRootPlayer() == action_data.m_Player )
47 string itemName = action_data.m_MainItem.GetType();
49 results.Insert(
"PlateCarrierBlank");
53 case "PlateCarrierHolster":
54 results.Insert(
"CarrierHolsterSolo");
57 case "PlateCarrierPouches":
58 results.Insert(
"CarrierPouches");
61 case "PlateCarrierComplete":
62 results.Insert(
"CarrierPouches");
63 results.Insert(
"CarrierHolsterSolo");
67 for (
int i = 0; i < results.Count(); i++ )
70 object.SetHealth(
"",
"",action_data.m_MainItem.GetHealth(
"",
""));
72 action_data.m_MainItem.Delete();
73 action_data.m_MainItem = NULL;