Documentation: GameStatsComponent

From Noita Wiki
Jump to navigation Jump to search
Name Type Initial Value Example Range Description
Members
name std::string no one uses the name variable on entity, so we have to do this to make it happen
stats_filename std::string also generated from the gunk
is_player bool false if true, will use the session file for loading stats
extra_death_msg std::string set when e.g. polymorphed
dont_do_logplayerkill bool false if 1, StatsLogPlayerKill must be manually called from lua
player_polymorph_count int 0 skip loading of stats if this higher than 0 and decrament this by one