Make random lang pack algorithm more random
Right now the algorithm that gives you a random passage does this:
look at quote dirs
pick a quote dir
pick a quote in that dir
This would be an ok algorithm if all of the quote dirs had the same number of passages in each, but in reality this isn't how it works, meaning there is a much higher chance of getting a quote if there are few quotes in a lang pack.
This behavior should be modified to instead do:
get all passages from all quote dirs
pick a quote from that pool
Thereby giving each quote an equal opportunity to get picked.
Edited by Darrien Glasser