An update. Consider the following mental break XML found in MentalStates_Mood.xml:
<!-- Some parts of the XML are omitted for simplicity -->
<MentalStateDef Name="Tantrum" ParentName="BaseMentalState">
<defName>Tantrum</defName>
<label>tantrum</label>
<moodRecoveryThought>Catharsis</moodRecoveryThought>
<recoveryMessage>{0} is no longer having a tantrum.</recoveryMessage>
<beginLetter>{0} is having a tantrum.\n\n[PAWN_pronoun] will smash up random furniture, items and structures.</beginLetter>
<beginLetterDef>NegativeEvent</beginLetterDef>
<baseInspectLine>Mental state: Tantrum</baseInspectLine>
</MentalStateDef>
It can be easily found, using Dev-mode, that no error is thrown when one such mental break occurs.
Notice that, instead of using { } (curly brackets), the game uses [ ] (square brackets) to denote the pronoun symbol.
Future translations may rely on the use of [ ] to simply translations. Existing translations may also be modified to use [ ] too.
Closed: pawn kidnapped thoughts are made obsolete by vanilla pawn lost thoughts introduced in the latest v1.1 update. The vanilla "pawn lost" thoughts will be used instead when handling pawn kidnapped events.
An update. Consider the following mental break XML found in
MentalStates_Mood.xml
:It can be easily found, using Dev-mode, that no error is thrown when one such mental break occurs.
Notice that, instead of using
{ }
(curly brackets), the game uses[ ]
(square brackets) to denote the pronoun symbol.Future translations may rely on the use of
[ ]
to simply translations. Existing translations may also be modified to use[ ]
too.