Skip to content

Commit

Permalink
[MIRROR] add hand holding (#2680)
Browse files Browse the repository at this point in the history
Co-authored-by: MuckerMayhem <[email protected]>
  • Loading branch information
SierraHelper and MuckerMayhem authored Nov 9, 2024
1 parent e4a2d8e commit 747a94f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,9 @@

else //Otherwise we're probably just holding their arm to lead them somewhere
var/grabtype
if(H.has_organ(BP_L_ARM) || H.has_organ(BP_R_ARM)) //If they have at least one arm
if ((H.has_organ(BP_L_HAND) || H.has_organ(BP_R_HAND)) && (zone_sel.selecting == BP_L_HAND || zone_sel.selecting == BP_R_HAND))
grabtype = "hand"
else if(H.has_organ(BP_L_ARM) || H.has_organ(BP_R_ARM)) //If they have at least one arm
grabtype = "arm"
else //If they have no arms
grabtype = "shoulder"
Expand Down

0 comments on commit 747a94f

Please sign in to comment.