-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeywords.json
More file actions
31 lines (31 loc) · 2.14 KB
/
keywords.json
File metadata and controls
31 lines (31 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"label": "Defines a named section of the script.",
"dialogue": "Displays a line of dialogue to the player.",
"choice": "Generates a clickable button with the provided text.",
"jump": "Jumps execution to the specified label within the current script.",
"after": "Specifies one or more actions to run after the label has finished.",
"speaker": "When added to a dialogue, defines which character is shown as the speaker.",
"sound": "Plays the specified sound event by name.",
"mixer": "Specifies the target mixer for the sound being played.",
"music": "Plays the specified sound event as background music.",
"bg": "Loads an image asset as the background for this label.",
"input": "Displays an input box for the player to type into.",
"char": "Defines a character to display for this label.",
"exp": "When added to a character definition, sets the expression that character will display.",
"cond": "Gates execution of the surrounding keyword on a condition. Only proceeds if the condition is truthy.",
"set": "Sets a variable to the provided value.",
"defun": "Defines a named function with a parameter list and a body.",
"pow": "Returns the first value raised to the power of the second value.",
"sqrt": "Returns the square root of the provided number value.",
"body": "Evaluates multiple expressions in sequence and returns the value of the last one.",
"load": "Loads and switches to a script at the given file path.",
"start": "Specifies which label the script begins execution at.",
"end": "Concludes the script.",
"true": "Boolean literal representing a true value.",
"false": "Boolean literal representing a false value.",
"if": "Evaluates a condition; executes the 'then' expression if truthy, otherwise the optional 'else' expression.",
"when": "Evaluates a condition; if truthy, executes all remaining expressions in sequence and returns the last value.",
"and": "Returns true only if all provided conditions are truthy. Short-circuits on the first falsy value.",
"or": "Returns true if any provided condition is truthy. Short-circuits on the first truthy value.",
"not": "Inverts a boolean value. Returns true if the value is falsy, and false if truthy."
}