Merge pull request #3284 from Fox-McCloud/telecrystal-change

Raw Telecrystal on Uplink Implants
This commit is contained in:
TheDZD
2016-01-20 18:24:53 -05:00
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