mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-08 16:41:58 +00:00
59 lines
2.2 KiB
Plaintext
59 lines
2.2 KiB
Plaintext
/obj/item/weapon/implant/loyalty
|
|
name = "mindshield implant"
|
|
desc = "Stops people messing with your mind."
|
|
origin_tech = "materials=2;biotech=4;programming=4"
|
|
activated = 0
|
|
|
|
/obj/item/weapon/implant/loyalty/get_data()
|
|
var/dat = {"<b>Implant Specifications:</b><BR>
|
|
<b>Name:</b> Nanotrasen Employee Management Implant<BR>
|
|
<b>Life:</b> Ten years.<BR>
|
|
<b>Important Notes:</b> Personnel injected with this device can better resist mental compulsions.<BR>
|
|
<HR>
|
|
<b>Implant Details:</b><BR>
|
|
<b>Function:</b> Contains a small pod of nanobots that manipulate the host's mental functions.<BR>
|
|
<b>Special Features:</b> Will prevent and cure most forms of brainwashing.<BR>
|
|
<b>Integrity:</b> Implant will last so long as the nanobots are inside the bloodstream."}
|
|
return dat
|
|
|
|
|
|
/obj/item/weapon/implant/loyalty/implant(mob/target)
|
|
if(..())
|
|
if(target.mind in ticker.mode.head_revolutionaries || is_shadow_or_thrall(target))
|
|
target.visible_message("<span class='warning'>[target] seems to resist the implant!</span>", "<span class='warning'>You feel the corporate tendrils of Nanotrasen try to invade your mind!</span>")
|
|
removed(target, 1)
|
|
qdel(src)
|
|
return -1
|
|
if(target.mind in ticker.mode.revolutionaries)
|
|
ticker.mode.remove_revolutionary(target.mind)
|
|
if(target.mind in ticker.mode.cult)
|
|
to_chat(target, "<span class='warning'>You feel the corporate tendrils of Nanotrasen try to invade your mind!</span>")
|
|
else
|
|
to_chat(target, "<span class='notice'>Your mind feels hardened - more resistant to brainwashing.</span>")
|
|
return 1
|
|
return 0
|
|
|
|
/obj/item/weapon/implant/loyalty/removed(mob/target, var/silent = 0)
|
|
if(..())
|
|
if(target.stat != DEAD && !silent)
|
|
to_chat(target, "<span class='boldnotice'>You feel a sense of liberation as Nanotrasen's grip on your mind fades away.</span>")
|
|
return 1
|
|
return 0
|
|
|
|
|
|
/obj/item/weapon/implanter/loyalty
|
|
name = "implanter (mindshield)"
|
|
|
|
/obj/item/weapon/implanter/loyalty/New()
|
|
imp = new /obj/item/weapon/implant/loyalty(src)
|
|
..()
|
|
update_icon()
|
|
|
|
|
|
/obj/item/weapon/implantcase/loyalty
|
|
name = "implant case - 'mindshield'"
|
|
desc = "A glass case containing a mindshield implant."
|
|
|
|
/obj/item/weapon/implantcase/loyalty/New()
|
|
imp = new /obj/item/weapon/implant/loyalty(src)
|
|
..() |