terminal_command 
Vars | |
core_skill | The skill which is checked |
---|---|
man_entry | Shown when man name is entered. Can be a list of strings, which will then be shown on separate lines. |
name | The name of the command. Used for display and also in syntax checking. |
pattern | Matched using regex against terminal input |
regex | The actual regex, produced from above. |
regex_flags | Used in the regex |
req_access | Access needed, if any |
skill_needed | How much skill the user needs to use this. This is not for critical failure effects at unskilled; those are handled globally. |
Procs | |
get_arguments | Returns list of arguments (if any), or null on syntax error |
parse | null return: continue. "" return will break and show a blank line. Return list() to break and not show anything. |
proper_input_entered | Should not return null unless you want parser to continue. |
Var Details
core_skill 
The skill which is checked
man_entry 
Shown when man name is entered. Can be a list of strings, which will then be shown on separate lines.
name 
The name of the command. Used for display and also in syntax checking.
pattern 
Matched using regex against terminal input
regex 
The actual regex, produced from above.
regex_flags 
Used in the regex
req_access 
Access needed, if any
skill_needed 
How much skill the user needs to use this. This is not for critical failure effects at unskilled; those are handled globally.
Proc Details
get_arguments
Returns list of arguments (if any), or null on syntax error
parse
null return: continue. "" return will break and show a blank line. Return list() to break and not show anything.
proper_input_entered
Should not return null unless you want parser to continue.