code/datums/flock/flockstats.dm
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. |
---|---|
/var/flockstats_global | Global list to handle multiple flocks existing |
/proc/save_flock_stats | In 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.