Exclusion System

Say you have 12 different types of animals.

Each animal has a specific set of 3 traits while there being 6 traits in total.

I have a menu allowing players to go through a slider menu to select the 3 pieces of traits and then based on those 3 traits it will allow them to select an animal.

How would I make it so that they can only select an animal that the traits they selected would apply to?

You will need to do some filtering based on conditions. So if you store your animals in a table with their traits, you can iterate through that table and check if an animal has the traits that you are looking for.

3 Likes