Gunsmoke open sorce help

hi I’ve used the gunsmoke open-source
and I’ve made a Equus using the code in the gunsmoke horse to make more than one material generate on the Equus when it spawns

I’ve got the generation of the materials working
but the random colorization does not work on the Equus

does anyone know how to get the colors working

thanks