8315 {
8316 bool can_detach;
8318 {
8319 InventoryLocation il = new InventoryLocation();
8320 if (can_detach && target.GetInventory().FindFreeLocationFor(item, flags, il))
8321 {
8323 }
8324 return false;
8325 }
8326 return super.PredictiveTakeEntityToTargetInventory(target, flags, item);
8327 }
override WeaponManager GetWeaponManager()
bool CanRedirectToWeaponManager(notnull EntityAI item, out bool isActionPossible)
bool DetachMagazine(InventoryLocation invLoc, ActionBase control_action=NULL)