From 8eb9b5e3abeef96fd58c8e343b8f7faf79323733 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 12 Jun 2017 10:10:15 -0400 Subject: [PATCH] SM3200 warning when taking whole mind So you know it's gonna KO them. --- .../game/objects/items/devices/scanners_vr.dm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/code/game/objects/items/devices/scanners_vr.dm b/code/game/objects/items/devices/scanners_vr.dm index 4d43debe3b..362f119475 100644 --- a/code/game/objects/items/devices/scanners_vr.dm +++ b/code/game/objects/items/devices/scanners_vr.dm @@ -165,14 +165,17 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob to_chat(usr,"Target seems totally braindead.") return - usr.visible_message("[usr] begins downloading [target]'s mind!","You begin downloading [target]'s mind!") - if(do_after(usr,35 SECONDS,target)) //This is powerful, yo. - if(!stored_mind && target.mind) - stored_mind = target.mind - target.ghostize() - stored_mind.current = null - update_icon() - to_chat(usr,"Mind downloaded!") + var/choice = alert(usr,"This will remove the target's mind from their body. The only way to put it back is via a resleeving pod. Continue?","Confirmation","Continue","Cancel") + if(choice == "Continue" && usr.get_active_hand() == src && usr.Adjacent(target)) + + usr.visible_message("[usr] begins downloading [target]'s mind!","You begin downloading [target]'s mind!") + if(do_after(usr,35 SECONDS,target)) //This is powerful, yo. + if(!stored_mind && target.mind) + stored_mind = target.mind + target.ghostize() + stored_mind.current = null + update_icon() + to_chat(usr,"Mind downloaded!") return