After searching about 3h through everything with "ThoughtDefs" in it, through the Methods of the Game via ILSpy and getting nearly a "berserk"-Mood myself, i would really appreciate if anybody could tell me, how to add a thought for the following event:
- added a JoyGivers.xml
<JoyGiverDef>
<defName>WYFEatFrench_Fries</defName>
<giverClass>JoyGiver_Ingest</giverClass>
<baseChance>2.5</baseChance>
<thingDefs>
<li>French_Fries</li>
</thingDefs>
<joyKind>Gluttonous</joyKind>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
</JoyGiverDef>
-added Thoughts_Memory_Eating.xml
<Defs>
<ThoughtDef>
<defName>AteFrench_Fries</defName>
<durationDays>0.25</durationDays>
<stackLimit>1</stackLimit>
<stages>
<li>
<label>ate lavish meal</label>
<description>French Fries are everyones favorite. Even without mayonnaise... </description>
<baseMoodEffect>2</baseMoodEffect>
</li>
</stages>
</ThoughtDef>
</Defs>
- just wanted to add the new thought on the "French_Fries"-Eating event in my .dll file via Microsoft-VS, but it always ended like... confusion.
How does the ThoughtGiver method work, or how do i get there the easiest way?
Thanks in Advance, really really! :-[
Okay found it out myself, just needed to add <tasteThought>AteFrench_Fries</tasteThought>
in the Items_Food.xml