mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] fixes some item logic (#11991)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4a03fb4fdc
commit
f556eca73d
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user