Throw Mote - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

CompProperties_ThrowMote allows a building to... well, throw motes. Note that the building will need a ticker, or it will do nothing

        public ThingDef mote;
        public int emissionInterval = -1;

        public int moteScale = 1;
        public int solidTime = -1;
        public int fadeOutTime = -1;
        public FloatRange speedRange = new FloatRange(0.6f, 0.75f);
        public FloatRange angleRange = new FloatRange(0f, 360f);
        public FloatRange rotationRange = new FloatRange(-60f, 60f);

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag. Currently not in use by any of our projects

⚠️ **GitHub.com Fallback** ⚠️