Adding Textures

Does anyone know if there is a way to add more texture slots such as hat 20 has 6 textures normally how could I change it to 16 etc?