If you can work it out in bits, you can reduce the number of variables you need drastically. Depending on how many collectibles you have,have you would set up an array whereby each index in the array can hold up to 32 collectibles. so then you would just need to store in a variable in each collectible the bit that you were going to set aside in each index of the array for that item. Optionally, you would also store in a variable in each collectible the index of the array that it uses. I say this is optional because you could, for example, have each index of the array be every four levels, for example. So you wouldn't need to store the index in the item in that case.