hi guys, I’ve been using perchance for a few years to mess around with different things and teach myself basic HTML/CSS/JS.

recently, I’ve been trying to make a basic generator that simply outputs 4 different variables in a row, each from a separate list.

my question is, how would I make it so that once any one ombination of these 4 variables is generated, THAT specific combination will never generate again? i know how to use consumable lists, but I don’t want to get rid of a SINGULAR variable once it generates - just the specific combination that it came in.

for example: say I have 3 lists, a “color” list (blue, red, yellow), a “feeling” list (happy, sad, mad), and a “size” list (small, mid, big). my output is [color], [feeling], [size].

say, when I click the button, my output is “blue, sad, big”. how do I make it so that each separate variable in that list CAN be generated again, but that specific combination of variables cannot be?

perchance link to my actual generator: http://perchance.org/body-typegen#edit

sorry if this is weirdly-worded or hard to read. i also posted this on Reddit before realizing that the community moved to Lemmy so I posted it here as well. thank you for reading :)