Better roundend logging

This commit is contained in:
Putnam
2019-11-09 01:00:35 -08:00
parent 80448c0abb
commit d0d469a45a
6 changed files with 21 additions and 14 deletions

View File

@@ -78,7 +78,7 @@ GLOBAL_VAR_INIT(war_declared, FALSE)
var/datum/game_mode/dynamic/mode = SSticker.mode
var/threat_spent = CONFIG_GET(number/dynamic_warops_cost)
mode.spend_threat(threat_spent)
mode.threat_log += "[worldtime2text()]: Nuke ops spent [threat_spent] on war ops."
mode.log_threat("Nuke ops spent [threat_spent] on war ops.")
SSblackbox.record_feedback("amount", "nuclear_challenge_mode", 1)
qdel(src)

View File

@@ -106,7 +106,7 @@
if(is_dynamic)
var/threat_spent = CONFIG_GET(number/dynamic_hijack_cost)
mode.spend_threat(threat_spent)
mode.threat_log += "[worldtime2text()]: Traitor spent [threat_spent] on hijack."
mode.log_threat("[owner.name] spent [threat_spent] on hijack.")
return
@@ -123,7 +123,7 @@
if(is_dynamic)
var/threat_spent = CONFIG_GET(number/dynamic_hijack_cost)
mode.spend_threat(threat_spent)
mode.threat_log += "[worldtime2text()]: Traitor spent [threat_spent] on glorious death."
mode.log_threat("[owner.name] spent [threat_spent] on glorious death.")
return
else

View File

@@ -498,7 +498,7 @@
var/datum/game_mode/dynamic/mode = SSticker.mode
var/threat_spent = CONFIG_GET(number/dynamic_summon_guns_cost)
mode.spend_threat(threat_spent)
mode.threat_log += "[worldtime2text()]: Wizard spent [threat_spent] on summon guns."
mode.log_threat("Wizard spent [threat_spent] on summon guns.")
return 1
/datum/spellbook_entry/summon/magic
@@ -524,7 +524,7 @@
var/datum/game_mode/dynamic/mode = SSticker.mode
var/threat_spent = CONFIG_GET(number/dynamic_summon_magic_cost)
mode.spend_threat(threat_spent)
mode.threat_log += "[worldtime2text()]: Wizard spent [threat_spent] on summon magic."
mode.log_threat("Wizard spent [threat_spent] on summon magic.")
return 1
/datum/spellbook_entry/summon/events
@@ -551,7 +551,7 @@
var/datum/game_mode/dynamic/mode = SSticker.mode
var/threat_spent = CONFIG_GET(number/dynamic_summon_events_cost)
mode.spend_threat(threat_spent)
mode.threat_log += "[worldtime2text()]: Wizard spent [threat_spent] on summon events."
mode.log_threat("Wizard spent [threat_spent] on summon events.")
return 1
/datum/spellbook_entry/summon/events/GetInfo()