fill_parts_on_slot
Fill selected body-part silhouettes on a sprite layer using part names or IDs, with optional per-part color overrides.
Instructions
Fill body-part silhouettes onto design/layers/.png (MCP-native).
REPLACES ad-hoc Shell/PIL scripts that looped part_pixels and stamped colors. Server uses the character part map; base body is never modified.
Omit parts/part_ids → fill this layer's body_parts (e.g. torso for torso, lower_arm_far+hand_far for lower_arm_far).
parts: names like "torso", "head" (see get_part_ids).
part_ids: integer ids from get_part_ids.
color: hex / [r,g,b,a] for all selected parts.
part_colors: optional {part_name: color} overrides (e.g. darker far legs).
Flat local fill only — do NOT bake underside shading here; use plan_shading + paint_* after outfit paint. Then add details with fill_rect / draw_line / paint_pixels (belt, cross, nasal bar, plates). Overhang: paint outside silhouette with those tools. FORBIDDEN: Shell python/PIL scripts or external image generators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slot | Yes | ||
| color | No | ||
| parts | No | ||
| scale | No | ||
| plan_id | No | ||
| part_ids | No | ||
| output_dir | No | ||
| part_colors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||