Make sure to keep variables at the top of the function so a non-tech person can edit the % chance of a certain item being randomly selected.
Masks should never appear on a random character (they hide too much)
Same for the cloak, it should not appear by random.
There should be a way to exclude certain items if other items have been selected. For example, you might not want a top or a skirt if a dress has been selected.
This function will probably get complicated with exceptions, so let's keep the bar pretty low for a first version and create isssues once it's been updated.
Make sure to keep variables at the top of the function so a non-tech person can edit the % chance of a certain item being randomly selected.
Masks should never appear on a random character (they hide too much) Same for the cloak, it should not appear by random.
There should be a way to exclude certain items if other items have been selected. For example, you might not want a top or a skirt if a dress has been selected.
This function will probably get complicated with exceptions, so let's keep the bar pretty low for a first version and create isssues once it's been updated.