The code just checks to see if there is enough settlers and if there is then it unhides the next upgrade level and hides the previous level Each level has 2 groups a permanent one and a temp one the Temp can be hidden when it needs to be All i need is someone(s) to be willing to build the settlements