Reference Manual: (offline | online) Quickstart: (offline | online)

Store Variables

This is a list of special store variables that control aspects of gameplay. These are variables that are placed in the store (the default scope of python code), and so can be updated during the course of the game. You must be careful to ensure that the values of these variables can be pickled. (For example, one should create a function with a different name inside an init block, and then assign it to one of these variables.)

Variable List

Variable: predict_say = ...

This is used to predict the images used by say . It's called with the same two arguments, and is expected to return a list of displayables used.

Variable: say = ...

A function that is called when the say statement is called with a string for a name. The default behavior of this function creates a copy of the name_only object with the supplied name, and then uses that to display the dialogue. The function takes two arguments, given the name of the character and the line of dialogue.

Variables and functions specific to menu customization are documented at Customizing the Main and Game Menus.

Reference Manual: (offline | online) Quickstart: (offline | online)