mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Hand refactor (#10045)
* hand refactor (COMPILES) * Works pretty much * Test martians * Martians * Fix human UI * Fix find_organ_by_grasp_index() returning arms * CL + tweaks * Last fixes * a * Better CL * Fix weird issue! * Fix virologist job * Resolves a very important issue * I thought I had already fixed this oh well * Fix grabs * Shat
This commit is contained in:
@@ -162,18 +162,7 @@
|
||||
|
||||
if(istype(usr,/mob/living/carbon))
|
||||
// place the item in the usr's hand if possible
|
||||
if(!usr.r_hand)
|
||||
P.loc = usr
|
||||
usr.r_hand = P
|
||||
P.layer = 20
|
||||
else if(!usr.l_hand)
|
||||
P.loc = usr
|
||||
usr.l_hand = P
|
||||
P.layer = 20
|
||||
|
||||
if(istype(usr,/mob/living/carbon/human))
|
||||
usr:update_inv_l_hand()
|
||||
usr:update_inv_r_hand()
|
||||
usr.put_in_hands(P)
|
||||
|
||||
/obj/item/weapon/autopsy_scanner/attack(mob/living/carbon/human/M as mob, mob/living/carbon/user as mob)
|
||||
if(!istype(M))
|
||||
|
||||
Reference in New Issue
Block a user