Fix flaky ears CI failures (#4855)

## About The Pull Request

- Prioritize checking `dna.mutant_bodyparts` before `dna.features` when
imprinting sprite accessories on organs
- Add missing mutantpart_key to ears
- Add check for `mutant_bodyparts` settings in
`should_visual_organ_apply_to`

## Why It's Good For The Game

Fixes #4851 
Fixes #4845 
Fixes #4838 
Fixes #4836
Fixes #4831

## Proof Of Testing

Tested that mobs get the correct bodypart overlay based on mutant
bodyparts info and that species with special ears retained them

## Changelog

N/A
This commit is contained in:
Roxy
2025-10-27 19:09:48 -04:00
committed by GitHub
parent 301c0d8df3
commit ac9462da52
3 changed files with 16 additions and 10 deletions
@@ -64,6 +64,12 @@ Unlike normal organs, we're actually inside a persons limbs at all times
if(target.dna.features[feature_key] != SPRITE_ACCESSORY_NONE)
return TRUE
// BUBBER EDIT ADDITION BEGIN - Customization
if(target.dna.mutant_bodyparts[feature_key] && target.dna.mutant_bodyparts[feature_key][MUTANT_INDEX_NAME] != SPRITE_ACCESSORY_NONE)
return TRUE
// BUBBER EDIT ADDITION END
return FALSE
///Update our features after something changed our appearance