8428 {
8429 bool can_detach;
8431 {
8432 InventoryLocation il = new InventoryLocation();
8433 if (can_detach && GetInventory().FindFreeLocationFor(item, flags, il))
8434 {
8436 }
8437 return false;
8438 }
8439 return super.PredictiveTakeEntityToInventory(flags, item);
8440 }
override WeaponManager GetWeaponManager()
bool CanRedirectToWeaponManager(notnull EntityAI item, out bool isActionPossible)
bool DetachMagazine(InventoryLocation invLoc, ActionBase control_action=NULL)