mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Changes how clumsy checks are handled (#6299)
This pr adds the is_clumsy check, that checks if the mob has the mutation or if they are drunk enough. This fixes a bug where mobs would still have the clumsy mutation due to drinking.
This commit is contained in:
@@ -1286,6 +1286,13 @@ mob/proc/yank_out_object()
|
||||
|
||||
return
|
||||
|
||||
|
||||
/mob/proc/is_clumsy()
|
||||
if(CLUMSY in mutations)
|
||||
return TRUE
|
||||
|
||||
return FALSE
|
||||
|
||||
//Helper proc for figuring out if the active hand (or given hand) is usable.
|
||||
/mob/proc/can_use_hand()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user