Adds fingerprints whenever an item is put in a human's hands.

This commit is contained in:
mwerezak
2015-02-16 02:26:17 -05:00
parent c71cd925c4
commit e5d14465b0
2 changed files with 13 additions and 1 deletions
@@ -1,3 +1,16 @@
/*
Add fingerprints to items when we put them in our hands.
This saves us from having to call add_fingerprint() any time something is put in a human's hands programmatically.
*/
/mob/living/carbon/human/put_in_l_hand(var/obj/item/W)
. = ..()
if(.) W.add_fingerprint(src)
/mob/living/carbon/human/put_in_r_hand(var/obj/item/W)
. = ..()
if(.) W.add_fingerprint(src)
/mob/living/carbon/human/verb/quick_equip()
set name = "quick-equip"
set hidden = 1