Allowing people to photocopy their bums

This commit is contained in:
ZomgPonies
2013-10-27 22:57:51 -04:00
parent f28a5ef516
commit 7221ca3a53
5 changed files with 120 additions and 3 deletions
@@ -733,3 +733,28 @@ It can still be worn/put on as normal.
if(source.machine == target)
target.show_inv(source)
del(src)
/mob/proc/get_item_by_slot(slot_id)
switch(slot_id)
if(slot_l_hand)
return l_hand
if(slot_r_hand)
return r_hand
return null
/mob/living/carbon/human/get_item_by_slot(slot_id)
switch(slot_id)
if(slot_back)
return back
if(slot_wear_mask)
return wear_mask
if(slot_handcuffed)
return handcuffed
if(slot_legcuffed)
return legcuffed
if(slot_l_hand)
return l_hand
if(slot_r_hand)
return r_hand
return null