Documentation: GlobalStats

From Noita Wiki
Jump to navigation Jump to search
Name Type Initial Value Example Range Description
Members
STATS_VERSION int 4 used to help with stats parsing
DEBUG_HOW_MANY_RESETS int 0 how many times have reset this?
DEBUG_FIXED_STATS bool false this gets set true, if -fix_stats has been used
session_dead bool false is player dead?
Objects
session GameStats the current run stats
highest GameStats stores the highest values of each
global GameStats stores the total value of each
prev_best GameStats stores the total value of each
Custom data types
KEY_VALUE_STATS STATS_KEY_VALUE_MAP tracks causes and counts
Privates
DEBUG_HOW_MANY_TIMES_DONE int 0 debug tracker
DEBUG_IS_ON bool false is debug on