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:

  • target_path string path to file
  • contents string contenst of file
include (source_path)
include lua code files

Parameters:

print (message)
Print given strings on stdout

Parameters:

print_warn (message)
Print given strings on stdout with WARN: prefix

Parameters:

print_err (message)
Print given strings on stderr with ERROR: prefix

Parameters:

read_file (source_path)
reads file to string

Parameters:

Returns:

    string contents of file

Fields

all_bots
List of Player ids for available bots
generated by LDoc 1.4.3 Last updated 2022-06-27 20:24:33