mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user