From 7dddd0d122fcd1364796b724cf5e3fc2acd69239 Mon Sep 17 00:00:00 2001 From: Joan Lung Date: Mon, 4 Jul 2016 08:23:27 -0400 Subject: [PATCH 1/2] Adds logging to that one fucking toxin --- code/modules/reagents/chemistry/reagents/toxin_reagents.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm index 8da685439b5..7f86666915c 100644 --- a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm @@ -589,7 +589,10 @@ metabolization_rate = 0.5 * REAGENTS_METABOLISM /datum/reagent/toxin/amanitin/on_mob_delete(mob/living/M) - M.adjustToxLoss(current_cycle*3*REM) + var/toxdamage = current_cycle*3*REM + M.adjustToxLoss(toxdamage) + if(M) + add_logs(M, null, "has taken [toxdamage] toxin damage from amanitin toxin") ..() /datum/reagent/toxin/lipolicide From 9c865c5cbbfa3d0d4b8bf1b2f55cdb4425f78a52 Mon Sep 17 00:00:00 2001 From: Joan Lung Date: Mon, 4 Jul 2016 17:05:53 -0400 Subject: [PATCH 2/2] loc --- code/modules/reagents/chemistry/reagents/toxin_reagents.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm index 7f86666915c..afd5d590ce9 100644 --- a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm @@ -592,7 +592,7 @@ var/toxdamage = current_cycle*3*REM M.adjustToxLoss(toxdamage) if(M) - add_logs(M, null, "has taken [toxdamage] toxin damage from amanitin toxin") + add_logs(M, get_turf(M), "has taken [toxdamage] toxin damage from amanitin toxin") ..() /datum/reagent/toxin/lipolicide