-
Notifications
You must be signed in to change notification settings - Fork 683
Dialogue Coding
If you're writing dialogue with choices, simply write "menu":". All lines in a menu must be indented. Dialogue in a particular choice must have an addtional indent. (IMPORTANT: Do NOT place an expression on the line that will serve as the question, it will make the game crash.)
The line below the menu will act as the question. Choices are on the same line, but end with a colon (:).
You don't necesasarily have to write as yes or no, it can be written in any way as long as it makes sense as a choice.
If is used when a requirement is fulfilled, elif for a different requirement and else when no requirement is needed.
Use if seen_event("monika_insertlabelhere"): if you want the reader to only read some lines of dialogue that they have already seen, use if not seen_event("monika_insertlabelhere"): for the opposite.
Use if persistent.playername.lower()=='insertplayernamehere': for player names.
Simply write what is shown above.
You will need to label your choices accordingly.
To go back to the choice menu use jump.