[MIRROR] bodytypes to do with body shape and sprite handling have their own var (#26627)

* digi-cybernetics

* bodytypes to do with body shape and sprite handling have their own var

---------

Co-authored-by: Kromatopzia <94389683+aKromatopzia@users.noreply.github.com>
Co-authored-by: vinylspiders <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-02-27 01:59:23 +01:00
committed by GitHub
co-authored by Kromatopzia vinylspiders
parent 260a440d8d
commit 11ecffbf8d
47 changed files with 344 additions and 157 deletions
+2 -2
View File
@@ -39,9 +39,9 @@ GLOBAL_LIST_INIT(creamable, typecacheof(list(
qdel(src)
return
bodypart_overlay = new()
if(carbon_parent.bodytype & BODYTYPE_SNOUTED) //stupid, but external organ bodytypes are not stored on the limb
if(carbon_parent.bodyshape & BODYSHAPE_SNOUTED) //stupid, but external organ bodytypes are not stored on the limb
bodypart_overlay.icon_state = "creampie_lizard"
else if(my_head.bodytype & BODYTYPE_MONKEY)
else if(my_head.bodyshape & BODYSHAPE_MONKEY)
bodypart_overlay.icon_state = "creampie_monkey"
else
bodypart_overlay.icon_state = "creampie_human"