[MIRROR] Adds the installed message phrase for voice analyzers to logging (bonus runtime fix) [MDB IGNORE] (#16382)

* Adds the installed message phrase for voice analyzers to logging (bonus runtime fix) (#70066)

* Adds the installed message phrase for voice analyzers to logging

Hey there,

Sometimes, it's CBT to figure out what exactly made a bomb go off, especially when a voice analyzer is involved. Now, when a voice analyzer is involved in TTV Bomb/Grenade explosions (already logged), it will also output the recorded phrase when present.

To do this, I just span up a quick `isvoice()` macro define to ensure that we would get the variable, and it would just append the message that we were already spitting out into logs. I rewrote how grenade logs currently operate a bit, let me know if I accidentally omitted something critical.

* Adds the installed message phrase for voice analyzers to logging (bonus runtime fix)

Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
SkyratBot
2022-09-24 15:35:27 -04:00
committed by GitHub
co-authored by san7890
parent 9607e0e726
commit 413d862693
3 changed files with 15 additions and 5 deletions
+2 -1
View File
@@ -13,7 +13,8 @@
verb_ask = "beeps"
verb_exclaim = "beeps"
var/listening = FALSE
var/recorded = "" //the activation message
/// The activation message is tracked using this var.
var/recorded = ""
var/mode = INCLUSIVE_MODE
var/static/list/modes = list(
"inclusive",