You guys want some logs?

This commit is contained in:
SandPoot
2022-03-16 15:22:04 -03:00
parent aec888a7b6
commit fdb6413d23
4 changed files with 13 additions and 0 deletions
+4
View File
@@ -77,6 +77,10 @@
if (CONFIG_GET(flag/log_game))
WRITE_LOG(GLOB.world_game_log, "GAME: [text]")
/proc/log_mecha(text)
if (CONFIG_GET(flag/log_mecha))
WRITE_LOG(GLOB.world_mecha_log, "MECHA: [text]")
/proc/log_virus(text)
if (CONFIG_GET(flag/log_virus))
WRITE_LOG(GLOB.world_virus_log, "VIRUS: [text]")
@@ -24,6 +24,10 @@
/datum/config_entry/flag/log_game // log game events
config_entry_value = TRUE
/// log mech data
/datum/config_entry/flag/log_mecha
config_entry_value = TRUE
/datum/config_entry/flag/log_virus // log virology data
config_entry_value = TRUE
+2
View File
@@ -1159,6 +1159,8 @@
log_game(log_text)
if(LOG_GAME)
log_game(log_text)
if(LOG_MECHA)
log_mecha(log_text)
if(LOG_SHUTTLE)
log_shuttle(log_text)
else
+3
View File
@@ -19,6 +19,9 @@ LOG_SUSPICIOUS_LOGIN
## log game actions (start of round, results, etc.)
LOG_GAME
## log mecha actions
LOG_MECHA
## log player votes
LOG_VOTE