Multi-coloured unicorn horn-like thing

Inspired by the two-colour horn by KingRahl, I recreated the model in OpenSCAD and while at it, made the number of colours parametric (as well as a number of other parameters).
NB! This object is not customizable as it uses features from the 2013.06 release of OpenSCAD and Customizer doesn't yet support that.
Versioned source: https://github.com/kintel/OpenSCAD-models
This object was designed to exercise the 5-colour 3D printer from ORD solutions (http://www.ordsolutions.com/product_p/3dpmh3000.htm).