Module genstat

Source
Expand description

Data structures and functions for tracking site generation statistics.

Structsยง

GenPlot
Plot generation statistics. The attempts field increments each time a plot is attempted to be generated. An attempt is counted only once even if find_roadside_aabr is called multiple times.
GenSite
Site generation statistics.
SitesGenMeta
World site generation statistics. The map is keyed by site name.

Enumsยง

GenStatPlotKind
Plot kinds for site generation statistics. These are similar but discrete from the PlotKind enum in the site2 plot module. For tracking site generation, similar plot kinds are grouped by these enum variants. For example, the House variant includes all kinds of houses (e.g. House, CoastalHouse, DesertCityHouse).
GenStatSiteKind
Site kinds for site generation statistics. Only the sites that are tracked for generation statistics are included here, which includes all sites that use the find_roadside_aabr function.

Functionsยง

append_statstr_to_file ๐Ÿ”’
get_bool_env_var ๐Ÿ”’
get_log_opts ๐Ÿ”’