Added get_bodytype() species proc as groundwork for subspecies.

Conflicts:
	code/modules/mob/living/carbon/human/update_icons.dm
	code/modules/organs/organ_icon.dm
This commit is contained in:
Zuhayr
2015-08-22 02:53:16 +09:30
parent 8701205783
commit bb82f80885
15 changed files with 56 additions and 50 deletions
+2 -2
View File
@@ -32,12 +32,12 @@
if(allowed_species)
for(var/species in allowed_species)
if(target.species.name == species)
if(target.species.get_bodytype() == species)
return 1
if(disallowed_species)
for(var/species in disallowed_species)
if(target.species.name == species)
if(target.species.get_bodytype() == species)
return 0
return 1