1541 {
1542 if (GetInventory().GetCargo())
1543 {
1544 int item_count = GetInventory().GetCargo().GetItemCount();
1545 if (item_count > 0)
1546 {
1547 int random_pick = Math.RandomInt(0, item_count);
1549 if (!item.IsExplosive())
1550 {
1551 item.AddHealth("","",damage);
1552 return true;
1553 }
1554 }
1555 }
1556 return false;
1557 }