This commit is contained in:
Fox-McCloud
2016-07-26 13:23:58 -04:00
parent e06933ec09
commit c05a7d5b75
+1 -17
View File
@@ -15,20 +15,4 @@
deductcharge(hitcost)
do_teleport(user, get_turf(user), 50)//honk honk
else if(iscarbon(M) && !M.anchored)
do_teleport(M, get_turf(M), 15)
/obj/item/weapon/melee/baton/cattleprod/attackby(obj/item/I, mob/user, params)//handles sticking a crystal onto a stunprod to make a teleprod
if(istype(I, /obj/item/weapon/ore/bluespace_crystal))
if(!bcell)
var/obj/item/weapon/melee/baton/cattleprod/teleprod/S = new /obj/item/weapon/melee/baton/cattleprod/teleprod
if(!remove_item_from_storage(user))
user.unEquip(src)
user.unEquip(I)
user.put_in_hands(S)
to_chat(user, "<span class='notice'>You clamp the bluespace crystal securely with the wirecutters.</span>")
qdel(I)
qdel(src)
else
to_chat(user, "<span class='warning'>You can't put the crystal onto the stunprod while it has a power cell installed!</span>")
else
return ..()
do_teleport(M, get_turf(M), 15)