Protection from impersonation. Updated to 3700

This commit is contained in:
Zap-zapper
2018-08-22 17:47:11 +07:00
parent 02b58fdb99
commit b0a0a1e276
2 changed files with 8 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
//SleeveMate!
/obj/item/device/sleevemate
name = "\improper SleeveMate 3200"
name = "\improper SleeveMate 3700"
desc = "A hand-held sleeve management tool for performing one-time backups and managing mindstates."
icon = 'icons/obj/device_alt.dmi'
icon_state = "sleevemate"
@@ -225,10 +225,15 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
to_chat(usr,"<span class='warning'>\The [src] no longer has a stored mind.</span>")
return
if(!istype(target))
return
if(istype(target, /mob/living/carbon/human))
var/mob/living/carbon/human/H = target
if(H.resleeve_lock && stored_mind.loaded_from_ckey != H.resleeve_lock)
to_chat(usr,"<span class='warning'>\[H] is protected from impersonation!</span>")
return
usr.visible_message("<span class='warning'>[usr] begins uploading someone's mind into [target]!</span>","<span class='notice'>You begin uploading a mind into [target]!</span>")
if(do_after(usr,35 SECONDS,target))
if(!stored_mind)

View File

@@ -30,7 +30,7 @@
sort_string = "TAAAC"
/datum/design/item/sleevemate
name = "SleeveMate 3200"
name = "SleeveMate 3700"
id = "sleevemate"
req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 2, TECH_BIO = 2)
materials = list(DEFAULT_WALL_MATERIAL = 4000, "glass" = 4000)