From 8eb9b5e3abeef96fd58c8e343b8f7faf79323733 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 12 Jun 2017 10:10:15 -0400 Subject: [PATCH 1/2] 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 From b62240b9454ee068a4f58cbc09d949054c073027 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 12 Jun 2017 10:11:22 -0400 Subject: [PATCH 2/2] SC list cleanup Harder cleanup for this list so you can clear nulls if you need to. --- code/modules/nifsoft/software/13_soulcatcher.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/nifsoft/software/13_soulcatcher.dm b/code/modules/nifsoft/software/13_soulcatcher.dm index eeea9fd130..422944b573 100644 --- a/code/modules/nifsoft/software/13_soulcatcher.dm +++ b/code/modules/nifsoft/software/13_soulcatcher.dm @@ -120,10 +120,10 @@ if("Erase Contents") var/mob/living/carbon/brain/caught_soul/brainpick = input(nif.human,"Select a mind to delete:","Erase Mind") as null|anything in brainmobs - if(!brainpick) return - var/warning = alert(nif.human,"Are you SURE you want to erase [brainpick.name]?","Erase Mind","CANCEL","DELETE","CANCEL") + var/warning = alert(nif.human,"Are you SURE you want to erase \"[brainpick]\"?","Erase Mind","CANCEL","DELETE","CANCEL") if(warning == "DELETE") + brainmobs -= brainpick qdel(brainpick) return TRUE