From ad5e71c9da85240cfb518aa0582ba70c77eca223 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Sat, 23 Sep 2023 23:53:43 -0400 Subject: [PATCH] add blackbox stats for mail scans/deliveries (#22508) --- code/game/objects/mail.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/mail.dm b/code/game/objects/mail.dm index 6e6a2af8590..4343bcc79d3 100644 --- a/code/game/objects/mail.dm +++ b/code/game/objects/mail.dm @@ -242,6 +242,7 @@ to_chat(user, "You add [envelope] to the active database.") playsound(loc, 'sound/mail/mailscanned.ogg', 50, TRUE) saved = A + SSblackbox.record_feedback("amount", "successful_mail_scan", 1) return if(isliving(A)) var/mob/living/M = A @@ -270,3 +271,4 @@ to_chat(user, "Successful delivery acknowledged! [MAIL_DELIVERY_BONUS] credits added to Supply account!") playsound(loc, 'sound/mail/mailapproved.ogg', 50, TRUE) GLOB.station_money_database.credit_account(SSeconomy.cargo_account, MAIL_DELIVERY_BONUS, "Mail Delivery Compensation", "Messaging and Intergalactic Letters", supress_log = FALSE) + SSblackbox.record_feedback("amount", "successful_mail_delivery", 1)