Goonstation 13 - Modules - TypesDefine Details

code/datums/flock/flockstats.dm

FLOCK_ROUNDS_SAVEDDatum for storing and processing stats from flock rounds. Each flock spawned will grab an instance of this At round end, the stats will be collated and stored Config for the last X rounds we save the stats for.
/var/flockstats_globalGlobal list to handle multiple flocks existing
/proc/save_flock_statsIn a sensible language, this would be a static class proc. Alas this is DM. This proc saves all the stats for all flocks in this round, and rotates the log so only the last FLOCK_ROUNDS_SAVED flock rounds are stored

Define Details

FLOCK_ROUNDS_SAVED

Datum for storing and processing stats from flock rounds. Each flock spawned will grab an instance of this At round end, the stats will be collated and stored Config for the last X rounds we save the stats for.