Mote releaser - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

CompMoteReleaser is very similar to Attach effecter only it attaches a MoteDef and releases it periodically, instead of an EffecterDef, to an animal

         public ThingDef moteDef;

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag.

<comps>
	<li Class="VEF.AnimalBehaviours.CompProperties_MoteReleaser">
		<moteDef>Mote_DrunkBubble</moteDef>
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️