Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

ThoughtExtensions

KylianB edited this page Feb 24, 2022 · 1 revision

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>

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Apparel

Cuisine

Furniture

Plants

Clone this wiki locally