"Publicfy", clean up of auto-generated code, and changed to valid weapon-attachment combinations only