Mob size tweaks.

Merges the use of the is_small and mob_size into one.
Changes the species size handling to set the mob size instead of being yet another separate var to check.
This commit is contained in:
PsiOmegaDelta
2015-09-20 17:12:07 +02:00
parent 292c1545cb
commit d891fba1cc
33 changed files with 57 additions and 62 deletions

View File

@@ -6,10 +6,9 @@
return 0
/proc/issmall(A)
if(A && istype(A, /mob/living/carbon/human))
var/mob/living/carbon/human/H = A
if(H.species && H.species.is_small)
return 1
if(A && istype(A, /mob/living))
var/mob/living/L = A
return L.mob_size <= MOB_SMALL
return 0
/mob/living/proc/isSynthetic()