8330 {
8331 bool can_detach;
8333 {
8334 InventoryLocation il = new InventoryLocation();
8335 if (can_detach && GetInventory().FindFreeLocationFor(item, flags, il))
8336 {
8338 }
8339 return false;
8340 }
8341 return super.PredictiveTakeEntityToInventory(flags, item);
8342 }
override WeaponManager GetWeaponManager()
bool CanRedirectToWeaponManager(notnull EntityAI item, out bool isActionPossible)
bool DetachMagazine(InventoryLocation invLoc, ActionBase control_action=NULL)