So im trying to make make a “spin” crate type thing, and each item has a different percent chance to land on, how would I start going about it? like my first thought was making a table and selecting a random reward from the table, but then the percentages would all be equal so that wouldn’t work.

I was also wondering about items going into the crate, because i’ll have dozens of items in my game, and I would only like 25 in a crate, so how do people usually go about it? like is there a percent chance for the item to even be in the crate? if so wouldnt that increase the percentage by alot? I hope you understand what I mean

Thanks in advance,