The best way to do this is to make an enum at the end like "max_clothing_layer", then you can use that value and it updates automatically.