Module globals
Global functions
Functions
write_file (target_path, contents) | writes string to file |
include (source_path) | include lua code files |
print (message) | Print given strings on stdout |
print_warn (message) | Print given strings on stdout with WARN: prefix |
print_err (message) | Print given strings on stderr with ERROR: prefix |
read_file (source_path) | reads file to string |
Fields
all_bots | List of Player ids for available bots |
Functions
- write_file (target_path, contents)
-
writes string to file
Parameters:
- include (source_path)
-
include lua code files
Parameters:
- source_path string
- print (message)
-
Print given strings on stdout
Parameters:
- message string
- print_warn (message)
-
Print given strings on stdout with WARN: prefix
Parameters:
- message string
- print_err (message)
-
Print given strings on stderr with ERROR: prefix
Parameters:
- message string
- read_file (source_path)
-
reads file to string
Parameters:
- source_path string
Returns:
-
string contents of file