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:
Alberyk
2019-04-14 19:45:45 +03:00
committed by Erki
parent 0cc7d1388e
commit aa70b6cffb
28 changed files with 57 additions and 33 deletions
+7
View File
@@ -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