Dialog Processing

Dialog Processing happens at specific points before displaying text.
It is meant to change the text given or trigger lua code at specific points.

Dialog Processing happens:

  • When a line of dialog is pushed to the UI, for example when the text of Interactions is displayed.
  • When "game.processDialog()" is used.

Dialog text is separated into multiple parts determined by a "|". Dialog text parts are only shown, and processed, if the player continues the dialog.
If you want to use the "|" character, without separating the text, you can put a "\" in front of it.

Dialog Processing includes: