stick id's in computer by using id on it, better ear examine text

This commit is contained in:
Tastyfish
2011-12-22 01:47:40 -05:00
parent db806b85d0
commit cee9634606
3 changed files with 22 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
/obj/machinery/computer/med_data/attackby(O as obj, user as mob)
if(istype(O, /obj/item/weapon/card/id))
var/obj/item/weapon/card/id/idcard = O
if(!scan)
usr.drop_item()
idcard.loc = src
scan = idcard
else
..()
/obj/machinery/computer/med_data/attack_ai(user as mob)
return src.attack_hand(user)

View File

@@ -1,3 +1,13 @@
/obj/machinery/computer/secure_data/attackby(O as obj, user as mob)
if(istype(O, /obj/item/weapon/card/id))
var/obj/item/weapon/card/id/idcard = O
if(!scan)
usr.drop_item()
idcard.loc = src
scan = idcard
else
..()
/obj/machinery/computer/secure_data/attack_ai(mob/user as mob)
return attack_hand(user)

View File

@@ -31,10 +31,10 @@
usr << "\blue [src.name] has a \icon[src.wear_suit] [src.wear_suit.name] on."
if (src.l_ear)
usr << "\blue [src.name] has a \icon[src.l_ear] [src.l_ear.name] on [t_his] ear."
usr << "\blue [src.name] has a \icon[src.l_ear] [src.l_ear.name] on [t_his] left ear."
if (src.r_ear)
usr << "\blue [src.name] has a \icon[src.r_ear] [src.r_ear.name] on [t_his] ear."
usr << "\blue [src.name] has a \icon[src.r_ear] [src.r_ear.name] on [t_his] right ear."
if (src.wear_mask)
if (src.wear_mask.blood_DNA)