mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Of Helper Procs & Dumbs
Makes a mob/proc/can_use_hand(), which determines whether or not a mob can use a given hand. Redefined in human.dm to check a hand's status and usability.
This commit is contained in:
@@ -299,8 +299,9 @@
|
||||
if (user.get_inactive_hand() == src)
|
||||
var/obj/item/stack/F = src.split(1)
|
||||
if (F)
|
||||
if (!user.put_in_hands(F))
|
||||
if (!user.can_use_hand())
|
||||
return
|
||||
user.put_in_hands(F)
|
||||
src.add_fingerprint(user)
|
||||
F.add_fingerprint(user)
|
||||
spawn(0)
|
||||
|
||||
Reference in New Issue
Block a user