ThoughtExtensions - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

This DefModExtension can be added to ThoughtDef. It can currently be used to remove other thoughts when a pawn gains a thought with this extension. Below an example of use:

<ThoughtDef>
  <defName>RG_Wet</defName>
  <durationDays>0.1</durationDays>
  <stackLimit>1</stackLimit>
  <stages>
    <li>
      <label>wet</label>
      <description>I'm wet.</description>
      <baseMoodEffect>-1</baseMoodEffect>
    </li>
  </stages>
  <modExtensions>
    <li Class="VFECore.ThoughtExtensions">
      <removeThoughtsWhenAdded>
        <li>RG_ExtremelyWet</li>
	<li>SoakingWet</li>
      </removeThoughtsWhenAdded>
    </li>
  </modExtensions>
</ThoughtDef>
⚠️ **GitHub.com Fallback** ⚠️