COLLECT_TO_CURSOR

The inventory is searched for the same material, and they are put on the cursor up to getMaxStackSize.