Repository navigation
feat(avatar): drawn outfit, accessory, beard, glasses, nose, cheeks, petals and flower base - #15
Merged
Merged
Conversation
…petals and flower base Each of these slots takes a Custom Part that replaces the built-in part in the layer it paints into, while the built-in choice stays saved. replacePartStart flattens the worn part for the front pose to appearance-color cells where exact and fixed colors elsewhere, so an unchanged copy renders identically. Drawn face parts never cover the pixels a speaking mouth uses; hiding follows hiddenChoices, and a drawn accessory that replaces a helmet or hood shows the hair. The fixed-color bound rises to 32. Refs: BotHarness/DeepSeekBot#1240 Agent-Task: claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
7 tasks
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 25 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is the BotPixel half of BotHarness/DeepSeekBot#1240: every remaining part slot can hold a Human-drawn Custom Part that starts from the built-in style.
New slots (
REPLACE_PART_SLOTS, front layer only):outfit,accessory,beard,glasses,nose,cheeks,petals,flowerBase. The recipe keys are<slot>Part.Rendering: a drawn part replaces the built-in part in the layer the built-in part paints into, so outlines, shading and grouping work out as before.
Starting point:
replacePartStart(recipe, slot)diffs that layer with and without the built-in part in the front pose.MAX_PART_FIXED_COLORSrises from 16 to 32.Keep-out: drawn beard, nose, cheeks and glasses are never painted on a pixel that any speaking mouth (saved, closed, half-open, open) uses. Eyes stay on top of everything except glasses.
Hiding:
hiddenChoices. On a flower, the outfit, accessory, beard, glasses, nose and cheeks are hidden; a dwarf's nose is hidden; petals and base show only on a flower.hiddenChoicesreflects that.The version goes to 0.7.0.
Verification
pnpm verifypasses: format, lint, typecheck and 83 tests. Every existing golden fixture is unchanged.replace-part.test.ts:Refs BotHarness/DeepSeekBot#1240 · Agent-Task:
claude/cloud/session_01MozvQ2eMvqX1MzSqm9G2o8🤖 Generated with Claude Code
https://claude.ai/code/session_01MozvQ2eMvqX1MzSqm9G2o8
Generated by Claude Code