Con/Decon Part 1

This commit is contained in:
Kurfursten
2015-04-08 12:43:26 -05:00
parent 3dbb3692c7
commit 46e0549341
7 changed files with 93 additions and 27 deletions

View File

@@ -88,6 +88,14 @@ log transactions
break
/obj/machinery/atm/attackby(obj/item/I as obj, mob/user as mob)
if(iswrench(I))
user.visible_message("<span class='notice'>[user] begins to take apart the [src]!</span>", "<span class='notice'>You start to take apart the [src]</span>")
if(do_after(user, 40))
user.visible_message("<span class='notice'>[user] disassembles the [src]!</span>", "<span class='notice'>You disassemble the [src]</span>")
playsound(get_turf(src), 'sound/items/Ratchet.ogg', 100, 1)
new /obj/item/stack/sheet/metal (src.loc,4)
qdel(src)
return
if(istype(I, /obj/item/weapon/card))
var/obj/item/weapon/card/id/idcard = I
if(!held_card)