Fully fixed compressed-matter implanter. Tested. (GitHub #526)

Conflicts:
	code/game/objects/items/weapons/implants/implanter.dm
This commit is contained in:
Rob Nelson
2014-02-19 16:51:58 -08:00
committed by ZomgPonies
parent 59b231e657
commit c7774b3a41
@@ -113,6 +113,9 @@
return
/obj/item/weapon/implanter/compressed/attack(mob/M as mob, mob/user as mob)
// Attacking things in your hands tends to make this fuck up.
if(!istype(M))
return
var/obj/item/weapon/implant/compressed/c = imp
if (!c) return
if (c.scanned == null)
@@ -126,9 +129,11 @@
if (c.scanned)
user << "\red Something is already scanned inside the implant!"
return
imp:scanned = A
A.loc.contents.Remove(A)
update()
if(user)
user.u_equip(I)
user.update_icons() //update our overlays
c.scanned = I
c.scanned.loc = c
/obj/item/weapon/implanter/deadman
@@ -149,4 +154,4 @@
src.imp = new /obj/item/weapon/implant/death_alarm(src)
..()
update()
return
return