mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Merge pull request #16769 from MadmanMartian/misc_TK_fixes
Misc TK fixes
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
delayNextAttack(10)
|
||||
|
||||
if(src.can_use_hand())
|
||||
A.attack_hand(src, params)
|
||||
A.attack_hand(src, params, proximity)
|
||||
else
|
||||
A.attack_stump(src, params)
|
||||
|
||||
@@ -56,14 +56,14 @@
|
||||
Move(A, get_dir(src,A))
|
||||
delayNextMove(movement_delay()*3,additive=1)
|
||||
|
||||
/atom/proc/attack_hand(mob/user as mob, params)
|
||||
/atom/proc/attack_hand(mob/user as mob, params, var/proximity)
|
||||
return
|
||||
|
||||
//called when we try to click but have no hand
|
||||
//good for general purposes
|
||||
/atom/proc/attack_stump(mob/user as mob, params)
|
||||
/atom/proc/attack_stump(mob/user as mob, params, var/proximity)
|
||||
if(!requires_dexterity(user))
|
||||
attack_hand(user) //if the object doesn't need dexterity, we can use our stump
|
||||
attack_hand(user, params, proximity) //if the object doesn't need dexterity, we can use our stump
|
||||
else
|
||||
to_chat(user, "Your [user.get_index_limb_name(user.active_hand)] is not fine enough for this action.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user