I have learnt how to generated random numbers within a range, and how to make a table.
How do I say “Roll on this table a number of times equal to the number generated”?
i.e. You have 4 Cookies. For each cookie, choose from this table what type of cookie they are (Chocolate Chip, Snickerdoodle, Christmas Cookie etc.)