8663 {
8664 bool can_detach;
8666 {
8667 InventoryLocation il = new InventoryLocation();
8668 if (can_detach && target.GetInventory().FindFreeLocationFor(item, flags, il))
8669 {
8671 }
8672 return false;
8673 }
8674 return super.PredictiveTakeEntityToTargetInventory(target, flags, item);
8675 }
override WeaponManager GetWeaponManager()
bool CanRedirectToWeaponManager(notnull EntityAI item, out bool isActionPossible)
bool DetachMagazine(InventoryLocation invLoc, ActionBase control_action=NULL)