byond - Modules - TypesVar Details - Proc Details

Nightmare

Vars

contextsList of nightmare context types, mapped to their instance
rootsList of parsed file nodes

Procs

get_scenario_valueReturns a value from the global scenario
load_fileReads a JSON file, returns a branch nmnode representing contents of file
load_map_configLoad nightmare steps relevant to a map
parse_fileReads a JSON file, returns list of config nodes in the file
parse_treeInstanciates nmnodes from parsed JSON
read_nodeInstanciate a single nmnode from its JSON definition
set_scenario_valueOverride a value from the global scenario.

Var Details

contexts

List of nightmare context types, mapped to their instance

roots

List of parsed file nodes

Proc Details

get_scenario_value

Returns a value from the global scenario

load_file

Reads a JSON file, returns a branch nmnode representing contents of file

load_map_config

Load nightmare steps relevant to a map

parse_file

Reads a JSON file, returns list of config nodes in the file

parse_tree

Instanciates nmnodes from parsed JSON

read_node

Instanciate a single nmnode from its JSON definition

set_scenario_value

Override a value from the global scenario.