mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Fully fixed compressed-matter implanter. Tested. (GitHub #526)
Conflicts: code/game/objects/items/weapons/implants/implanter.dm
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user