The script engine provides a set of over twenty methods for manipulating the game and handling character conversations. The table below summarises these:
Method | # Params | Description |
add_karma | 1 | Adds the specified amount to the player's karma |
ask | 0 | Prompts the user for input. Once the user has entered some text, the actual word can be determined by a set of keywords handlers. |
askc | 1 | The single parameter should be a double-quoted string whose characters represent a set of valid characters the user can respond to an input with - the interpreter will pause for input until one of these character is pressed. The actual that was pressed can then be determined in a following |