From 73906ecc967c1b7f383fcfc195e24c0ee42dd4d2 Mon Sep 17 00:00:00 2001 From: Burzah <116982774+Burzah@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:04:31 -0700 Subject: [PATCH] chem bio-chip logging (#22649) --- code/game/objects/items/weapons/implants/implant_chem.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/game/objects/items/weapons/implants/implant_chem.dm b/code/game/objects/items/weapons/implants/implant_chem.dm index 981ffc1efd9..70810e440e5 100644 --- a/code/game/objects/items/weapons/implants/implant_chem.dm +++ b/code/game/objects/items/weapons/implants/implant_chem.dm @@ -25,11 +25,18 @@ return FALSE var/mob/living/carbon/R = imp_in var/injectamount + + var/list/implant_chems = list() + for(var/datum/reagent/chems in reagents.reagent_list) + implant_chems += chems.name + var/contained_chemicals = english_list(implant_chems) + if(cause == "action_button") injectamount = reagents.total_volume else injectamount = cause reagents.trans_to(R, injectamount) + add_attack_logs(usr, R, "Chem bio-chip activated injecting [injectamount]u of [contained_chemicals]") to_chat(R, "You hear a faint beep.") if(!reagents.total_volume) to_chat(R, "You hear a faint click from your chest.")