8678 {
8679 bool can_detach;
8681 {
8682 InventoryLocation il = new InventoryLocation();
8683 if (can_detach && GetInventory().FindFreeLocationFor(item, flags, il))
8684 {
8686 }
8687 return false;
8688 }
8689 return super.PredictiveTakeEntityToInventory(flags, item);
8690 }
override WeaponManager GetWeaponManager()
bool CanRedirectToWeaponManager(notnull EntityAI item, out bool isActionPossible)
bool DetachMagazine(InventoryLocation invLoc, ActionBase control_action=NULL)