mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Protection from impersonation. Updated to 3700
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user