8413 {
8414 bool can_detach;
8416 {
8417 InventoryLocation il = new InventoryLocation();
8418 if (can_detach && target.GetInventory().FindFreeLocationFor(item, flags, il))
8419 {
8421 }
8422 return false;
8423 }
8424 return super.PredictiveTakeEntityToTargetInventory(target, flags, item);
8425 }
override WeaponManager GetWeaponManager()
bool CanRedirectToWeaponManager(notnull EntityAI item, out bool isActionPossible)
bool DetachMagazine(InventoryLocation invLoc, ActionBase control_action=NULL)