mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Add logging for malf upgrades (#67113)
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
if (CONFIG_GET(flag/log_uplink))
|
||||
WRITE_LOG(GLOB.world_uplink_log, "UPLINK: [text]")
|
||||
|
||||
/// Logging for upgrades purchased by a malfunctioning (or combat upgraded) AI
|
||||
/proc/log_malf_upgrades(text)
|
||||
if (CONFIG_GET(flag/log_uplink))
|
||||
WRITE_LOG(GLOB.world_uplink_log, "MALF UPGRADE: [text]")
|
||||
|
||||
/// Logging for changeling powers purchased
|
||||
/proc/log_changeling_power(text)
|
||||
if (CONFIG_GET(flag/log_uplink))
|
||||
|
||||
@@ -122,4 +122,5 @@
|
||||
action.desc = "[initial(action.desc)] It has [action.uses] use\s remaining."
|
||||
action.UpdateButtons()
|
||||
processing_time -= AM.cost
|
||||
log_malf_upgrades("[key_name(AI)] purchased [AM.name]")
|
||||
SSblackbox.record_feedback("nested tally", "malfunction_modules_bought", 1, list("[initial(AM.name)]", "[AM.cost]"))
|
||||
|
||||
Reference in New Issue
Block a user