The dev used Utility.RandomMinMax in order to get a number and then uses a SWITCH STATEMENT in order to get the value that he wants out of a poor man's collection of items.
It's insane. This needs to change.
Utility has a thing where you can pass it an arbitrary list of items and it'll give you an item from that list that we can use instead.
The dev used Utility.RandomMinMax in order to get a number and then uses a SWITCH STATEMENT in order to get the value that he wants out of a poor man's collection of items.
It's insane. This needs to change.
Utility has a thing where you can pass it an arbitrary list of items and it'll give you an item from that list that we can use instead.