Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Functions | |
def | getNewInfo |
def | getNode |
def | getPreconditions |
def | getAllNewInfo |
def | getInitialInfo |
def | evaluateCondition |
def | evaluateConditions |
def | setB |
def | sampleNode |
def | sampleCon |
Variables | |
int | b = 1 |
def fixer_lib.evaluateCondition | ( | condition) |
Takes a string representing the condition, and returns whether it is met or not.
Definition at line 74 of file fixer_lib.py.
References campaign_lib.checkSaveValue(), and locale.str().
def fixer_lib.evaluateConditions | ( | conditions) |
Takes a list of conditions, and evaluates them.
Definition at line 92 of file fixer_lib.py.
References evaluateCondition().
def fixer_lib.getAllNewInfo | ( | conversation, | |
ref = "Root" |
|||
) |
Retrieves the suitable text and choices, as well as the sprite and mouseover text.
Definition at line 47 of file fixer_lib.py.
References evaluateConditions(), getNode(), dospath.split(), and locale.str().
def fixer_lib.getInitialInfo | ( | conversation) |
Retrieves the initial starting objects required for the CFixer class. This is the starting text, choices, and preconditions. text and choices are both strings, but the preconditions returned may be a list.
Definition at line 64 of file fixer_lib.py.
References getAllNewInfo(), getNode(), getPreconditions(), and dospath.split().
def fixer_lib.getNewInfo | ( | conversation, | |
ref = "Root" |
|||
) |
Returns two strings, the first is the text for the node, the second is the choices.
Definition at line 26 of file fixer_lib.py.
References getAllNewInfo().
def fixer_lib.getNode | ( | conversation, | |
ref = "Root" |
|||
) |
Gets the node in the conversation corresponding to \'ref\'
Definition at line 32 of file fixer_lib.py.
References dospath.split().
def fixer_lib.getPreconditions | ( | conversation) |
Gets the preconditions for the conversation.
Definition at line 39 of file fixer_lib.py.
References getNode(), dospath.split(), and locale.str().
def fixer_lib.sampleCon | ( | ) |
Definition at line 106 of file fixer_lib.py.
def fixer_lib.sampleNode | ( | ) |
Definition at line 103 of file fixer_lib.py.
def fixer_lib.setB | ( | value) |
Definition at line 99 of file fixer_lib.py.
int b = 1 |
Definition at line 7 of file fixer_lib.py.