Raw Telecrystal on Uplink Implants

This commit is contained in:
Fox-McCloud
2016-01-19 00:23:56 -05:00
parent 4ba3ff62d1
commit dd587ab4c5
2 changed files with 15 additions and 0 deletions
@@ -10,6 +10,14 @@
flags = NOBLUDGEON
origin_tech = "materials=6;syndicate=1"
/obj/item/stack/telecrystal/attack(mob/target as mob, mob/user as mob)
if(target == user) //You can't go around smacking people with crystals to find out if they have an uplink or not.
for(var/obj/item/weapon/implant/uplink/I in target)
if(I && I.implanted)
I.hidden_uplink.uses +=1
use(1)
user << "<span class='notice'>You press the [src] onto yourself and charge your hidden uplink.</span>"
/obj/item/stack/telecrystal/afterattack(var/obj/item/I as obj, mob/user as mob, proximity)
if(!proximity)
return