dynamic_snapshot ![code/game/gamemodes/dynamic/dynamic_logging.dm 3](git.png)
A "snapshot" of dynamic at an important point in time. Exported to JSON in the dynamic.json log file.
Vars | |
alive_antags | The number of alive antags |
---|---|
alive_players | The number of alive players |
dead_players | The number of dead players |
observers | The number of observers |
remaining_threat | The remaining midround threat |
ruleset_chosen | The rulesets chosen this snapshot |
serialization | The cached serialization of this snapshot |
time | The world.time when the snapshot was taken |
total_players | The total number of players in the server |
Procs | |
to_list | Convert the snapshot to an associative list |
Var Details
alive_antags ![code/game/gamemodes/dynamic/dynamic_logging.dm 23](git.png)
The number of alive antags
alive_players ![code/game/gamemodes/dynamic/dynamic_logging.dm 14](git.png)
The number of alive players
dead_players ![code/game/gamemodes/dynamic/dynamic_logging.dm 17](git.png)
The number of dead players
observers ![code/game/gamemodes/dynamic/dynamic_logging.dm 20](git.png)
The number of observers
remaining_threat ![code/game/gamemodes/dynamic/dynamic_logging.dm 5](git.png)
The remaining midround threat
ruleset_chosen ![code/game/gamemodes/dynamic/dynamic_logging.dm 26](git.png)
The rulesets chosen this snapshot
serialization ![code/game/gamemodes/dynamic/dynamic_logging.dm 31](git.png)
The cached serialization of this snapshot
time ![code/game/gamemodes/dynamic/dynamic_logging.dm 8](git.png)
The world.time when the snapshot was taken
total_players ![code/game/gamemodes/dynamic/dynamic_logging.dm 11](git.png)
The total number of players in the server
Proc Details
to_list
Convert the snapshot to an associative list