[MIRROR] fixes some item logic (#11991)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-16 17:36:31 -07:00
committed by GitHub
parent 4a03fb4fdc
commit f556eca73d

View File

@@ -968,7 +968,10 @@ GLOBAL_LIST_EMPTY(blood_overlays_by_type)
return default_worn_icon return default_worn_icon
//5: Use our species_sheet as a fallback if we have one. A 'default' sprite is better than nothing at all (or a misaligned sprite) //5: Use our species_sheet as a fallback if we have one. A 'default' sprite is better than nothing at all (or a misaligned sprite)
if(species_sheet) //We ONLY do this if our species is 'abnormally shaped' i.e. tesh/vox/werebeast.
//It should be noted that if this is true, we FAILED to confirm the icon exists in our file. I.E: We're going to use the 'no name' item_state in the .dmi
//Otherwise, the human sprite (default_icon) looks fine on MOST species.
if(species_sheet && (body_type == SPECIES_TESHARI || body_type == SPECIES_VOX || body_type == SPECIES_WEREBEAST))
return species_sheet return species_sheet
//6: provided default_icon //6: provided default_icon