Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e98078ac1 |
@@ -8,12 +8,13 @@ investigation notes, 1.5.0+ — the reasoning for every item in the release list
|
||||
|
||||
## Current state
|
||||
|
||||
_Last verified: 2026-10-20 (2.0.0)_
|
||||
_Last verified: 2026-10-24 (2.1.0)_
|
||||
|
||||
- **Status:** in active development; main is v2.0.0 (`pyproject.toml`), the seed-epoch release: every seed resolves differently from 1.x, by design. Published to the Comfy Registry via `.github/workflows/publish_action.yml`, which fires on a `pyproject.toml` version change on `main` - bump the version on every functional commit or the release never ships. CI (`.github/workflows/ci.yml`) is deliberately dependency-free, has a Windows leg, and `publish-node` needs it (1.8.0).
|
||||
- **Status:** in active development; main is v2.1.0 (`pyproject.toml`); 2.0.0 was the seed epoch (every seed resolves differently from 1.x, by design). Published to the Comfy Registry via `.github/workflows/publish_action.yml`, which fires on a `pyproject.toml` version change on `main` - bump the version on every functional commit or the release never ships. CI (`.github/workflows/ci.yml`) is deliberately dependency-free, has a Windows leg, and `publish-node` needs it (1.8.0).
|
||||
- **Works:** the constraint engine resolving dropdowns into coherent prose plus structured JSON, seed-reproducible; the four preset layer nodes (Archetype, Creature, Modifier, Cosplayer); searchable dropdown widgets, live preview, the `franchise_filter`, the `random_pool` scope-composing filter, and the save/load vault in `js/` (an atomic overwrite, a disk-change-aware cache fingerprint, and Windows-reserved-name handling as of 1.5.5); a searchable **in-node roster picker** (`js/identity_forge_picker.js`) on the Cosplayer/Archetype/Creature nodes — trait facets, cross-tab search, opt-in gallery thumbnails, backed by a generated `js/identity_forge_roster.json` search index; Stylebook interop, the composition axis, and the **Turnaround** reference-set node (which emits every camera view of one resolved character as a list, so one queue renders the set) and its face-side sibling the **Expression Sheet** (1.10.0: one view per curated expression/mood/smile triple); a free-text `held_item` on the Modifier node; a jsdom frontend suite alongside the Python one; generated reference docs and JS data, and a committed field-marginals baseline (`scripts/sweep_marginals.py`, 1.5.5 — catches a value drawing far more or less often than intended), plus a reachability gate (`--unreachable`, 1.8.0: every pool value some gender can draw, or a reasoned exception in `tests/fixtures/unreachable_by_design.json`), all with `--check` modes wired into the gate. A cosplay entry may render as a **person in a costume**, as a **mascot suit** (`covers_face` + `covers_body` + `mask`), or — since 0.95.0 — as the **beast itself** (`body_plan: "feral"`, which emits the Creature node's Species & Anatomy payload instead of a costume); see architecture.md → "Animal characters split four ways". `scripts/render_gallery.py` renders a roster entry's gallery image by driving a running ComfyUI over HTTP and publishes it to `gh-pages`, and `gallery/render_manifest.json` + `--check` fail CI when an entry's text changes without a re-render (architecture.md → "The gallery render pipeline"). Since 0.97.0 every roster entry also carries a **release stamp** (`data/versions.py`, written by `scripts/stamp_versions.py`, gated in CI), which is what lets the three sample gallery pages offer **A–Z / Newest first** and a **New in `<version>`** filter. Since 2.0.0: a **`gaze`** field drawn last with `pose` (both with live constraint rules; architecture.md -> "pose and gaze draw last"), opt-in **`costume_back`** for Turnaround back views, **per-garment `{slot}` variation** in the outfit corpus on its own seed stream, and a gallery hash over **resolved prose** so an engine change marks images stale.
|
||||
- **In progress:** roster and coherence curation is the ongoing work, not a milestone - each release adds characters/creatures/archetypes and closes coherence bugs found by rendering them. `docs/suggested-additions.md` is the live backlog (under consideration / decided against / still to consider). Next: more `costume_back` entries (start with caped or back-emblem heroes) and more slotted corpus phrases; both are seed-safe additions now (a slot draws from its own stream; a back text touches only back views).
|
||||
- **Recent releases** — one line each. **This list is a pointer, not a changelog:** the reasoning for every item is in `docs/history.md` (the sections are named there per release) and the full messages are in `git log`. Keep roughly the last eight and let older ones drop off; do not let an entry grow into a paragraph.
|
||||
- **2.1.0** - R2-D2, BB-8 and Gonk Droid render as the droid (non-humanoid machines now take `body_plan: "feral"` with a cosplay-only `creature_class: "Machines"`), new machine and object entries (Claptrap, WALL-E, Dalek, Johnny 5, Codsworth, Mrs. Potts, Cogsworth), the sd-character-finder survey batch (first Touhou entries, Snoopy, Doraemon, Hello Kitty, Meta Knight and others), Blue Beetle (Ted Kord) recoloured to canon, a Female/Male filter in the roster picker, an optional cosplay `subject` lead noun (Tellarite, aliens, and mascots that drew a person with a plush now render as the character; single-eye cyclopes remain a model limit), Orion with a weighted alternate look (`costume_weights`), and the survey's second tier (RWBY, Nanoha, BlazBlue, Tiger & Bunny and others). Random characters unchanged (the droids move between the Masked, People-only and Beast scopes). See docs/history.md -> "2.1.0".
|
||||
- **2.0.0** - Seed epoch: a `gaze` field (the old `looking` poses) drawn last with a deferred `pose` (`_repair_pose` retired), women's hair-length and 75/80 age weights, a portrait rig gated out of everyday interiors (`studio_shape` / `studio_mood` split), per-garment `{slot}` variation, opt-in `costume_back` for Turnaround back views, no "Name (Name)" label, an article for noun expressions, and a prose-based gallery hash (existing tiles accepted with `--rehash`, no full re-render). See docs/history.md -> "2.0.0".
|
||||
- **1.11.0** - Roster release: new cosplayers (incl. Birdie, Vecna on the mascot route), retro archetypes (Carhop at a new drive-in location, Zoot Suit men's only), four creatures, a `_GALLERY_SHOT` framing pin, Lola Bunny's paws, Tellarite's canon text (snout still unrendered). Random characters move only through the new location (about 5% of seeds, those drawing an urban outdoor place). Corinthian, Feyd-Rautha, barreleye, vampire squid and the pachuca variant declined on the render bar. See docs/history.md -> "1.11.0".
|
||||
- **1.10.0** - Expression Sheet node, free-text `held_item` on the Modifier, legwear dropped from prose in leg-cropping shots, "a coat of fur" no longer read as a pocketed garment, an overload drift test, and a gallery gate that fails on rendered-but-unpublished images (`--publish-pending`). Random characters unchanged; Bartok (now feral), Lola Bunny and Tasmanian Devil repaired and re-rendered (Tellarite deferred to 1.11.0). See docs/history.md -> "1.10.0".
|
||||
@@ -21,7 +22,6 @@ _Last verified: 2026-10-20 (2.0.0)_
|
||||
- **1.8.0** — Picker trait facets read structured `traits` (Poison Ivy is no longer "Tiny"); ethnicity and skin tone lock only in Full character / Full preset; a seventh `subject_text` output (person and outfit, no scene); colour and pattern modifiers reach a generated outfit; widgets_values saved in schema order for headless tools; `--unreachable` gate; publish depends on CI with a Windows leg; new cosplayers (incl. The Invisibles), three archetypes and a stegosaurus; the duplicate Julia Carpenter entry folded into one. See docs/history.md → "1.8.0".
|
||||
- **1.7.0** — Engine and UX fixes from the 1.6.0 review: "Roll + lock all" locks one engine roll (a new read-only `POST /identity_forge/roll` route) instead of uniform per-dropdown picks; a framing that crops the feet no longer names the shoes in the prose (the JSON keeps them); hair styles and noun lengths are voiced as prose, not a tag list; a footwear or legwear modifier now reaches a generated outfit; the Modifier help example decorates single fields; `generate_character` is keyword-only from `widget_locked`. See docs/history.md → "1.7.0".
|
||||
- **1.6.0** — Content only, mined from third-party wildcard packs: weather as two `lighting` families (rain/drizzle/fog, falling snow) gated outdoors and by season; a `troubled` expression family for the heavy mood; social hand gestures; mohawk, faux hawk and three braid styles; new hair colours and highlights (skunk stripe weighted rare); new outfit-corpus entries weighted to the thin menswear/unisex cells, pyjamas under `loungewear`; new archetypes (Wedding Groom, Lehenga & Sherwani, Yukata, Hanfu, Kebaya, Metalhead and others) and alternate bridal gowns; three cultural archetypes no longer pin a pale skin tone in Full preset. Engine/UX findings are queued for 1.7.0. See docs/history.md → "1.6.0".
|
||||
- **1.5.5** — Audit pass: `vitiligo patches`, three golden `eye_color` values and two tattoo placements were drawing far more than their peers (flat weight against a visually louder or near-always-survivable value) — weighted down; a buzz cut no longer draws "wet look" (the `loose_natural` family split so the exclusion drops a whole unit instead of a partial cull). A committed marginals sweep (`scripts/sweep_marginals.py --check`) joined the CI gate so a future weight/pool change that moves a share unintentionally is caught automatically. Vault hardening: an atomic overwrite (the old save survives a write failure), a disk-change-aware cache fingerprint on Vault Load, Windows-reserved-name handling, and several crash-on-malformed-entry fixes. `docs/history.md` split out of `docs/architecture.md` (the 1.5.0–1.5.4 sections, about half that file). See docs/history.md → "1.5.5".
|
||||
- **Known gaps / next steps:** two deliberate, open items — not to be re-litigated without a fresh case (the old pockets-allowlist gap was measured and closed in 1.10.0): (1) the Turnaround node's back view still draws a costume's front-facing detail (e.g. a chest emblem) on the back for any entry without a `costume_back` (opt-in since 2.0.0, so far only a handful of flagship heroes); never parse the front text for back clauses (the regex-over-prose trap), add `costume_back` to the entry instead. (2) Costume text that asserts a body trait against an unpinned random field (e.g. "on a hulking frame" beside a random, unlocked `build`) — the `signature`/`physique` split that causes it is deliberate; measure again from scratch before touching it, a naive regex sweep has reported a wrong count here before. `docs/suggested-additions.md` is the live backlog for roster/field-option candidates.
|
||||
- **Deep docs:** `docs/architecture.md` (deep reference — read before engine or data changes), `docs/history.md` (per-release investigation notes, 1.5.0+), `docs/usage.md`, `docs/cosplayer-notes.md`, `docs/creature-notes.md`, `docs/suggested-additions.md` (backlog), `docs/reference/*.md` (generated).
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ The Cosplayer node is where Identity Forge really shines. Most character wildcar
|
||||
|
||||
Ask a plain wildcard for Chun-Li and your prompt says `Chun-Li`. Ask this Cosplayer node and you get: *the blue qipao with gold trim, brown tights, white cross-laced boots, and spiked bracelets.* The look renders even on checkpoints that have never heard of the character.
|
||||
|
||||
**Find one fast:** open the in-node picker to browse and search the whole roster without leaving the node — trait facets (Giant, Masked, Mascot/full-suit, Beast) and optional thumbnail previews. Franchise is searchable too, just not a dedicated facet chip. The picker remembers your search, tab and facet while the workflow is open, so you can pick, close and come back to the same filtered view; reloading starts fresh.
|
||||
**Find one fast:** open the in-node picker to browse and search the whole roster without leaving the node — trait facets (Giant, Masked, Mascot/full-suit, Beast), a Female/Male filter, and optional thumbnail previews. Franchise is searchable too, just not a dedicated facet chip. The picker remembers your search, tab and facet while the workflow is open, so you can pick, close and come back to the same filtered view; reloading starts fresh.
|
||||
|
||||
**Characters from every major franchise:** Marvel, DC, Star Wars, anime, video games, fantasy, sci-fi, horror. Each one with multiple costume variants where applicable (Harley Quinn's three iconic looks, Catwoman's different suits, etc.). Characters rotate between variants by seed, so the same name yields a different signature costume each roll.
|
||||
|
||||
|
||||
+978
-33
File diff suppressed because it is too large
Load Diff
@@ -146,6 +146,7 @@ RELEASES: tuple[str, ...] = (
|
||||
"1.8.0",
|
||||
"1.9.0",
|
||||
"1.11.0",
|
||||
"2.1.0",
|
||||
)
|
||||
|
||||
#: Entry name -> the release it first shipped in.
|
||||
@@ -244,6 +245,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Arbiter': "1.3.0",
|
||||
'Arcanine': "0.95.0",
|
||||
'Archon': "1.3.0",
|
||||
'Arcueid Brunestud': "2.1.0",
|
||||
'Ariel': "0.6.0",
|
||||
'Arishem': "1.5.1",
|
||||
'Arisia Rrab': "0.18.0",
|
||||
@@ -302,6 +304,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Barbarella': "1.1.0",
|
||||
'Barbie': "1.8.0",
|
||||
'Barley Lightfoot': "1.4.0",
|
||||
'Barnaby Brooks Jr.': "2.1.0",
|
||||
'Barney Rubble': "0.19.0",
|
||||
'Baron Humbert von Gikkingen': "0.60.0",
|
||||
'Baron Zemo': "0.22.0",
|
||||
@@ -357,11 +360,13 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Black Noir': "0.62.0",
|
||||
'Black Orchid': "1.3.0",
|
||||
'Black Panther': "0.7.0",
|
||||
'Black Rock Shooter': "2.1.0",
|
||||
'Black Widow': "0.6.0",
|
||||
'Blackfire': "0.18.0",
|
||||
'Blackheart': "0.18.0",
|
||||
'Blade': "0.7.0",
|
||||
'Blaidd the Half-Wolf': "0.76.0",
|
||||
'Blake Belladonna': "2.1.0",
|
||||
'Blanka': "0.7.0",
|
||||
'Blink': "0.18.0",
|
||||
'Bloodshot': "1.9.0",
|
||||
@@ -413,6 +418,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Buttercup': "0.76.0",
|
||||
'Buzz Lightyear': "0.19.0",
|
||||
'Byakuya Kuchiki': "0.16.0",
|
||||
'Byleth': "2.1.0",
|
||||
'C-3PO': "0.19.0",
|
||||
'C.C.': "0.76.0",
|
||||
'Cable': "0.17.0",
|
||||
@@ -456,6 +462,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Cassie Cage': "0.58.0",
|
||||
'Cat Noir': "0.82.0",
|
||||
'Catbus': "0.95.0",
|
||||
'Catra': "2.1.0",
|
||||
'Catwoman': "0.6.0",
|
||||
'Cecil Harvey': "0.60.0",
|
||||
'Celes Chere': "0.60.0",
|
||||
@@ -483,6 +490,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Chester Cheetah': "0.51.0",
|
||||
'Chewbacca': "0.7.0",
|
||||
'Chi-Chi': "0.16.0",
|
||||
'Chiaki Nanami': "2.1.0",
|
||||
'Chiana': "0.79.0",
|
||||
'Chief Chirpa': "0.20.0",
|
||||
'Chizuru Mizuhara': "0.77.0",
|
||||
@@ -500,10 +508,13 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Circe': "0.18.0",
|
||||
'Ciri': "0.6.0",
|
||||
'Claire Redfield': "0.6.0",
|
||||
'Claptrap': "2.1.0",
|
||||
'Cloud Strife': "0.7.0",
|
||||
'Coach Brunt': "0.69.0",
|
||||
'Cobra Commander': "0.17.0",
|
||||
'Codsworth': "2.1.0",
|
||||
'Cody Travers': "1.4.0",
|
||||
'Cogsworth': "2.1.0",
|
||||
'Colonel Sanders': "0.51.0",
|
||||
'Colossus': "0.17.0",
|
||||
'Columbia': "0.77.0",
|
||||
@@ -545,6 +556,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Daisy': "0.18.0",
|
||||
'Daisy Duck': "0.77.0",
|
||||
'Daki': "0.76.0",
|
||||
'Dalek': "2.1.0",
|
||||
'Danny Phantom': "0.76.0",
|
||||
'Dante': "0.79.0",
|
||||
'Daphne Blake': "0.6.0",
|
||||
@@ -610,6 +622,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Doctor Octopus': "0.16.0",
|
||||
'Doctor Strange': "0.7.0",
|
||||
'Domino': "0.7.0",
|
||||
'Domo-kun': "2.1.0",
|
||||
'Donald Duck': "0.19.0",
|
||||
'Donatello': "0.17.0",
|
||||
'Donkey Kong': "0.19.0",
|
||||
@@ -619,6 +632,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Doom Slayer': "0.16.0",
|
||||
'Doomfist': "0.77.0",
|
||||
'Dora the Explorer': "0.74.0",
|
||||
'Doraemon': "2.1.0",
|
||||
'Dorothy Gale': "0.18.0",
|
||||
'Dove': "0.18.0",
|
||||
'Dowager Empress Marie': "0.69.0",
|
||||
@@ -648,6 +662,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'E. Honda': "0.58.0",
|
||||
'EVE (Stellar Blade)': "1.4.0",
|
||||
'Eda Clawthorne': "1.0.0",
|
||||
'Edelgard': "2.1.0",
|
||||
'Edna Mode': "0.77.0",
|
||||
'Edward Elric': "0.7.0",
|
||||
'Edward Scissorhands': "0.53.0",
|
||||
@@ -710,9 +725,11 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Fairy Godmother': "0.77.0",
|
||||
'Faith Connors': "0.69.0",
|
||||
'Falcon': "0.17.0",
|
||||
'Falin Touden': "2.1.0",
|
||||
'Falkor': "0.95.0",
|
||||
'Fantastic Mr Fox': "0.53.0",
|
||||
'Fatality': "0.18.0",
|
||||
'Fate Testarossa': "2.1.0",
|
||||
'Fawkes': "0.95.0",
|
||||
'Faye Valentine': "0.16.0",
|
||||
'Felicia': "0.59.0",
|
||||
@@ -769,6 +786,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Gandalf': "0.7.0",
|
||||
'Ganondorf': "0.7.0",
|
||||
'Ganyu': "0.16.0",
|
||||
'Gardevoir': "2.1.0",
|
||||
'Gargamel': "0.55.0",
|
||||
'Gargos': "1.3.0",
|
||||
'Garnet': "0.43.0",
|
||||
@@ -805,6 +823,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Giyu Tomioka': "0.16.0",
|
||||
'Glacius': "1.3.0",
|
||||
'Glinda': "0.77.0",
|
||||
'Gloria (Pokemon)': "2.1.0",
|
||||
'Glory': "0.57.0",
|
||||
'Go Go Tomago': "0.77.0",
|
||||
'Godzilla': "0.19.0",
|
||||
@@ -882,9 +901,11 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Helga Pataki': "0.76.0",
|
||||
'Hellboy': "0.16.0",
|
||||
'Hellcat': "0.69.0",
|
||||
'Hello Kitty': "2.1.0",
|
||||
'Hera Syndulla': "0.6.0",
|
||||
'Hercules': "0.16.0",
|
||||
'Hermione Granger': "0.6.0",
|
||||
'Hilda (Pokemon)': "2.1.0",
|
||||
'Himeno': "1.0.0",
|
||||
'Himiko Toga': "0.74.0",
|
||||
'Himmel': "1.11.0",
|
||||
@@ -942,6 +963,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Inuyasha': "0.88.0",
|
||||
'Invincible': "0.16.0",
|
||||
'Invisible Woman': "0.6.0",
|
||||
'Iono': "2.1.0",
|
||||
'Iori Yagami': "0.61.0",
|
||||
'Irelia': "0.81.0",
|
||||
'Iris': "0.69.0",
|
||||
@@ -1013,6 +1035,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Joel Miller': "1.0.0",
|
||||
'John Constantine': "0.16.0",
|
||||
'John Stewart': "0.22.0",
|
||||
'Johnny 5': "2.1.0",
|
||||
'Johnny Bravo': "0.53.0",
|
||||
'Johnny Cage': "0.7.0",
|
||||
'Johnny Silverhand': "0.87.0",
|
||||
@@ -1022,6 +1045,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Jolyne Cujoh': "0.76.0",
|
||||
'Jon Snow': "0.90.0",
|
||||
'Jon Talbain': "0.59.0",
|
||||
'Jonathan Joestar': "2.1.0",
|
||||
'Joseph Joestar': "0.16.0",
|
||||
'Josie McCoy': "0.69.0",
|
||||
'Josuke Higashikata': "0.77.0",
|
||||
@@ -1072,6 +1096,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Karin Kanzuki': "1.4.0",
|
||||
'Karlach': "0.77.0",
|
||||
'Karnak': "1.5.1",
|
||||
'Kasane Teto': "2.1.0",
|
||||
'Kassandra': "1.0.0",
|
||||
'Kasumi': "0.69.0",
|
||||
'Katana': "0.74.0",
|
||||
@@ -1104,6 +1129,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'King': "0.61.0",
|
||||
'King Arthur': "0.19.0",
|
||||
'King Bradley': "0.77.0",
|
||||
'King Dedede': "2.1.0",
|
||||
'King Ghidorah': "0.95.0",
|
||||
'King Kong': "0.63.0",
|
||||
'King Monkey': "0.82.0",
|
||||
@@ -1134,6 +1160,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Kuiil': "0.21.0",
|
||||
'Kung Lao': "0.7.0",
|
||||
'Kurapika': "0.87.0",
|
||||
'Kuromi': "2.1.0",
|
||||
'Kurumi Tokisaki': "0.69.0",
|
||||
'Kwame': "0.69.0",
|
||||
'Ky Kiske': "0.88.0",
|
||||
@@ -1143,6 +1170,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Kyo Kusanagi': "0.61.0",
|
||||
'Kyojuro Rengoku': "0.74.0",
|
||||
'Kyoko Sakura': "0.77.0",
|
||||
'Kyubey': "2.1.0",
|
||||
'L Lawliet': "0.16.0",
|
||||
'La Lunatica': "0.72.1",
|
||||
'Lady (Devil May Cry)': "0.79.0",
|
||||
@@ -1304,6 +1332,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Marin Kitagawa': "0.69.0",
|
||||
'Mario': "0.7.0",
|
||||
'Marisa': "0.58.0",
|
||||
'Marisa Kirisame': "2.1.0",
|
||||
'Marnie': "0.69.0",
|
||||
'Maron': "0.74.0",
|
||||
'Martian Manhunter': "0.7.0",
|
||||
@@ -1313,6 +1342,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Mary Jane Watson': "0.18.0",
|
||||
'Mary Marvel': "0.18.0",
|
||||
'Mary Poppins': "0.18.0",
|
||||
'Mash Kyrielight': "2.1.0",
|
||||
'Master Chief': "0.7.0",
|
||||
'Master Roshi': "0.77.0",
|
||||
'Maui': "0.16.0",
|
||||
@@ -1356,6 +1386,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Merlin': "0.19.0",
|
||||
'Mervyn Pumpkinhead': "1.9.0",
|
||||
'Messmer the Impaler': "1.11.0",
|
||||
'Meta Knight': "2.1.0",
|
||||
'Mewtwo': "0.21.0",
|
||||
'Mia Wallace': "0.76.0",
|
||||
'Michael Myers': "0.16.0",
|
||||
@@ -1414,6 +1445,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Mona': "1.4.0",
|
||||
'Monkey D. Luffy': "0.7.0",
|
||||
'Monkey Fist': "0.69.0",
|
||||
'Monokuma': "2.1.0",
|
||||
'Moogle': "0.60.0",
|
||||
'Moon Knight': "0.19.0",
|
||||
'Moondragon': "0.69.0",
|
||||
@@ -1440,6 +1472,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Mr. Peanut': "0.51.0",
|
||||
'Mr. Spacely': "0.77.0",
|
||||
'Mr. Spock': "0.7.0",
|
||||
'Mrs. Potts': "2.1.0",
|
||||
'Ms. Marvel (Kamala Khan)': "0.45.0",
|
||||
'Ms. Marvel (Sharon Ventura)': "0.45.0",
|
||||
'Mt. Lady': "0.57.0",
|
||||
@@ -1452,6 +1485,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Mynock': "0.21.0",
|
||||
'Mysterio': "0.16.0",
|
||||
'Mystique': "0.6.0",
|
||||
'Nagito Komaeda': "2.1.0",
|
||||
'Nakoruru': "1.0.0",
|
||||
'Nami': "0.6.0",
|
||||
'Namor': "0.19.0",
|
||||
@@ -1462,6 +1496,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Nancy Downs': "1.0.0",
|
||||
'Nancy Drew': "0.74.0",
|
||||
'Nani Pelekai': "0.74.0",
|
||||
'Nanoha Takamachi': "2.1.0",
|
||||
'Naoto Shirogane': "0.88.0",
|
||||
'Naruto Uzumaki': "0.7.0",
|
||||
'Natalia Kassle': "0.69.0",
|
||||
@@ -1501,7 +1536,9 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Nobara Kugisaki': "0.16.0",
|
||||
'Noctis': "0.16.0",
|
||||
'Nocturne': "0.18.0",
|
||||
'Noel Vermillion': "2.1.0",
|
||||
'Noelle Silva': "1.0.0",
|
||||
'Noriaki Kakyoin': "2.1.0",
|
||||
'Nosferatu': "1.0.0",
|
||||
'Nova (Frankie Raye)': "0.18.0",
|
||||
'Nova (Richard Rider)': "0.19.0",
|
||||
@@ -1532,6 +1569,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Orchid': "1.3.0",
|
||||
'Origami Tobiichi': "0.69.0",
|
||||
'Orihime Inoue': "0.16.0",
|
||||
'Orion': "2.1.0",
|
||||
'Orko': "0.17.0",
|
||||
'Orochimaru': "0.16.0",
|
||||
'Other Mother': "0.77.0",
|
||||
@@ -1643,6 +1681,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Rachel Summers': "0.69.0",
|
||||
'Rage (Marvel)': "0.69.0",
|
||||
'Ragged Robin': "1.8.0",
|
||||
'Ragna the Bloodedge': "2.1.0",
|
||||
'Ragyo Kiryuin': "0.77.0",
|
||||
'Raiden': "0.7.0",
|
||||
'Raiden Shogun': "0.16.0",
|
||||
@@ -1674,6 +1713,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Red Skull': "0.16.0",
|
||||
'Red Sonja': "0.69.0",
|
||||
'Rei Ayanami': "0.6.0",
|
||||
'Reimu Hakurei': "2.1.0",
|
||||
'Reinhardt': "0.16.0",
|
||||
'Rem': "0.77.0",
|
||||
'Rena Rouge': "0.82.0",
|
||||
@@ -1732,6 +1772,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Roy Mustang': "0.16.0",
|
||||
'Rubeus Hagrid': "0.63.0",
|
||||
'Ruby Rhod': "0.69.0",
|
||||
'Ruby Rose': "2.1.0",
|
||||
'Rukia Kuchiki': "0.16.0",
|
||||
'Rumi': "0.60.0",
|
||||
'Rydia': "0.60.0",
|
||||
@@ -1764,6 +1805,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Saitama': "0.7.0",
|
||||
'Sakura Haruno': "0.6.0",
|
||||
'Sakura Kasugano': "0.16.0",
|
||||
'Sakuya Izayoi': "2.1.0",
|
||||
'Salaak': "0.22.0",
|
||||
'Salacious Crumb': "0.21.0",
|
||||
'Salama': "0.79.0",
|
||||
@@ -1813,6 +1855,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Selene (Underworld)': "0.76.0",
|
||||
'Selene Gallio (Black Queen)': "0.69.0",
|
||||
'Selvaria Bles': "1.0.0",
|
||||
'Senshi': "2.1.0",
|
||||
'Senua': "0.16.0",
|
||||
'Seong Gi-hun': "0.87.0",
|
||||
'Seong Mi-na': "0.58.0",
|
||||
@@ -1820,6 +1863,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Seraphine': "0.77.0",
|
||||
'Serena': "0.69.0",
|
||||
'Sersi': "0.69.0",
|
||||
'Serval (Kemono Friends)': "2.1.0",
|
||||
'Sesshomaru': "1.8.0",
|
||||
'Sett': "0.81.0",
|
||||
'Seven of Nine': "0.57.0",
|
||||
@@ -1831,6 +1875,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Shang Tsung': "0.16.0",
|
||||
'Shanks': "0.77.0",
|
||||
'Shanna the She-Devil': "0.69.0",
|
||||
'Shantae': "2.1.0",
|
||||
'Shao Kahn': "0.7.0",
|
||||
'Sharon Carter': "0.69.0",
|
||||
'Shazam': "0.7.0",
|
||||
@@ -1882,6 +1927,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Snake Eyes': "0.17.0",
|
||||
'Snake Plissken': "0.16.0",
|
||||
'Sniper (Team Fortress 2)': "0.88.0",
|
||||
'Snoopy': "2.1.0",
|
||||
'Snorlax': "0.21.0",
|
||||
'Snow White': "0.6.0",
|
||||
'Snowbird': "0.18.0",
|
||||
@@ -1958,6 +2004,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Subaru Natsuki': "0.77.0",
|
||||
'Suki': "0.16.0",
|
||||
'Sukuna': "0.16.0",
|
||||
'Suletta Mercury': "2.1.0",
|
||||
'Sumire Yoshizawa': "0.88.0",
|
||||
'Summer Smith': "0.77.0",
|
||||
'Sunfire (Exiles)': "0.18.0",
|
||||
@@ -1979,6 +2026,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Tala': "0.18.0",
|
||||
"Tali'Zorah": "0.60.0",
|
||||
'Talia al Ghul': "0.18.0",
|
||||
'Tamamo no Mae': "2.1.0",
|
||||
'Tanjiro Kamado': "0.16.0",
|
||||
'Tank Girl': "1.0.0",
|
||||
'Tanya': "0.58.0",
|
||||
@@ -2068,11 +2116,13 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Tomar-Re': "0.22.0",
|
||||
'Tomura Shigaraki': "0.16.0",
|
||||
'Tony Stark': "0.7.0",
|
||||
'Tony Tony Chopper': "2.1.0",
|
||||
'Tony the Tiger': "0.51.0",
|
||||
'Toothless': "0.95.0",
|
||||
'Topaz': "0.74.0",
|
||||
'Toph Beifong': "0.6.0",
|
||||
'Torbjorn': "1.4.0",
|
||||
'Toriel': "2.1.0",
|
||||
'Toshiro Hitsugaya': "0.74.0",
|
||||
'Totoro': "0.18.0",
|
||||
'Touka Kirishima': "0.76.0",
|
||||
@@ -2103,6 +2153,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Ultron': "0.17.0",
|
||||
'Ultros': "0.60.0",
|
||||
'Uncle Fester': "0.59.0",
|
||||
'Undyne': "2.1.0",
|
||||
'Unkar Plutt': "0.21.0",
|
||||
'Urbosa': "0.16.0",
|
||||
'Urd': "1.0.1",
|
||||
@@ -2146,6 +2197,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Von Lycaon': "1.4.0",
|
||||
'Vulcan': "0.57.0",
|
||||
'Vulture': "0.19.0",
|
||||
'WALL-E': "2.1.0",
|
||||
'Waluigi': "0.74.0",
|
||||
'Wampa': "0.20.0",
|
||||
'Wanderer (Genshin Impact)': "1.4.0",
|
||||
@@ -2157,6 +2209,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Wedge Antilles': "0.19.0",
|
||||
'Wednesday Addams': "0.6.0",
|
||||
'Weeping Angel': "0.87.0",
|
||||
'Weiss Schnee': "2.1.0",
|
||||
'Wendy': "0.43.0",
|
||||
'Wendy Darling': "0.18.0",
|
||||
'Wheeler': "0.69.0",
|
||||
@@ -2167,6 +2220,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Wicked Witch of the West': "0.59.0",
|
||||
'Wicket the Ewok': "0.20.0",
|
||||
'Widowmaker': "0.6.0",
|
||||
'Wild Tiger': "2.1.0",
|
||||
'Wildcat': "0.45.0",
|
||||
'Wile E. Coyote': "0.98.0",
|
||||
'Will Turner': "0.77.0",
|
||||
@@ -2194,6 +2248,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Yamada Asaemon Sagiri': "0.73.0",
|
||||
'Yamato (One Piece)': "1.5.0",
|
||||
'Yami Yugi': "0.87.0",
|
||||
'Yang Xiao Long': "2.1.0",
|
||||
'Yasuo': "0.77.0",
|
||||
'Yelena Belova': "0.76.0",
|
||||
'Yennefer of Vengerberg': "0.6.0",
|
||||
@@ -2209,6 +2264,7 @@ ADDED_IN: dict[str, dict[str, str]] = {
|
||||
'Yoshino': "0.69.0",
|
||||
'Yuffie Kisaragi': "0.6.0",
|
||||
'Yuji Itadori': "0.16.0",
|
||||
'Yukari Yakumo': "2.1.0",
|
||||
'Yumeko Jabami': "0.76.0",
|
||||
'Yuna': "0.6.0",
|
||||
'Yunara': "0.81.0",
|
||||
|
||||
@@ -876,6 +876,18 @@ underneath to randomize; that also closes the costume-asserts-a-body-trait probl
|
||||
`eyes` and `costumes` alternates are rejected by `validate_data.py`: a beast has no
|
||||
hand for a prop, its colour is its integument, and a body plan is not a look.
|
||||
|
||||
**Non-humanoid machines take this path too (2.1.0).** `R2-D2`, `BB-8` and `Gonk Droid`
|
||||
shipped as suit entries and the gallery drew a man posing *beside* the droid: a famous
|
||||
name makes the model draw the machine as an object, and "a short man ... wears a ...
|
||||
droid body" then adds a person next to it. As feral entries all three rendered as the
|
||||
droid alone on the first try. The test is the body plan, not "beast or machine": no
|
||||
human limbs in the right places (a ball, a three-legged can, a box on legs) means feral;
|
||||
a humanoid robot (C-3PO, Bender, Megatron) stays a suit entry with `covers_body`. They
|
||||
use `creature_class: "Machines"`, a cosplay-only class `validate_data.py` accepts beside
|
||||
`CREATURE_CLASSES` (it only decides the "monstrous" adjective, and a generic creature
|
||||
never needs it). The look level does not switch a machine back to a person in costume:
|
||||
that reading is the render that failed.
|
||||
|
||||
**Prose framing.** A feral subject does **not** take the `Cosplaying as X:` prefix —
|
||||
that framing tells a t2i model to render a human in a suit, which is precisely the
|
||||
failure the path exists to fix. The label is apposed instead: *"Appa (Avatar: The Last
|
||||
@@ -3593,6 +3605,41 @@ opt-in per entry rather than parsed from the front text, which is the regex-over
|
||||
trap. validate_data.py requires a non-empty string on a non-feral entry that has a
|
||||
`costume`.
|
||||
|
||||
### The lead noun: `subject` (2.1.0)
|
||||
|
||||
The first sentence names what the image is of: "a short man with a stocky build". A
|
||||
non-human face voiced only in a later sentence (the mask, or `eyes`) loses to that noun.
|
||||
Every Tellarite render drew a bearded man in a tunic with no snout, and many mascots drew
|
||||
a person holding a plush of the character. An optional `subject` string replaces
|
||||
"man"/"woman" in that lead phrase: "a short pig-headed humanoid alien with a stocky
|
||||
build", "a life-size Pikachu mascot".
|
||||
|
||||
* It is a bare noun phrase: no article, no trailing punctuation. The engine supplies the
|
||||
article and the height and build words around it.
|
||||
* It travels as `_SUBJECT_NOUN_KEY` beside the mask and is written to the JSON `_meta`, so
|
||||
a vault reload keeps it. It is in `_COSTUME_META_KEYS`, so a downstream costume drops
|
||||
it, like the mask.
|
||||
* The cosplayer node leaves it out on unmask, because the person underneath then shows.
|
||||
It is rejected on a feral entry, which already leads with `creature_of`.
|
||||
* Use it when the face is the identity and is not human (aliens, skull heads, animal
|
||||
heads that rendered as a person) and for a mascot that rendered as a person beside a
|
||||
plush ("life-size X mascot"). Give it only after a before/after render shows a gain.
|
||||
* A face that still loses with the noun often wins as a **"full-head latex ... mask"** in
|
||||
the mask text (Tellarite, Red Skull): the model knows that object, while a bare "skull-
|
||||
like face" rendered a plain man.
|
||||
* Known limit: a single eye. The model draws one eye only in a short prompt about nothing
|
||||
else; the character name or a full-length prompt brings back two (Allen the Alien, Leela).
|
||||
See docs/history.md -> "2.1.0" for the trials.
|
||||
|
||||
### Weighted alternate looks: `costume_weights` (2.1.0)
|
||||
|
||||
`_pick_look` picks among the canonical `costume` and its `costumes` alternates with a
|
||||
plain `rng.choice`. An optional `costume_weights` list (one positive number per look,
|
||||
canonical first) switches that entry to `rng.choices` with those weights, so the
|
||||
best-known look can lead (Orion: the TOS dancer 2, Gaila's cadet uniform 1). An entry
|
||||
without the key keeps the one `rng.choice` call it always made, so no existing seed
|
||||
moves. validate_data.py checks the length against the look count.
|
||||
|
||||
## Release history
|
||||
|
||||
Per-release investigation notes (measured numbers, what was tried, what was declined)
|
||||
|
||||
@@ -29,7 +29,11 @@ visible face like Hulk).
|
||||
The node's **`mask`** widget controls this per render: **Default** keeps the mask
|
||||
on, while **Unmask (show face)** drops the mask *and* clears `covers_face`,
|
||||
so the randomized head/hair shows under the suit — a helmet-off look (Tony Stark in
|
||||
the Iron Man armor). It is a no-op for face-visible characters. Keeping the head
|
||||
the Iron Man armor). It is a no-op for face-visible characters, and for feral
|
||||
entries (beasts and non-humanoid droids such as R2-D2): there is no person inside,
|
||||
and a human head on a droid body is the render the feral route exists to prevent. A
|
||||
humanoid robot on the suit route (C-3PO, Lumiere) does unmask, as a cosplayer with the
|
||||
helmet off. Keeping the head
|
||||
covering in its own field is what lets it be removed cleanly, with no stray
|
||||
"faceplate" reference stranded in the costume prose.
|
||||
|
||||
|
||||
+113
@@ -1281,3 +1281,116 @@ around it plus a gaze clause, the same incidental drift 0.90.0 and 0.97.0 accept
|
||||
samples were rendered and published (Superman, Carhop, owlbear); every other record was
|
||||
accepted as-is with the new `render_gallery.py --rehash`, which moves only the recorded
|
||||
hash. From here the prose hash flags any entry whose text changes.
|
||||
|
||||
## 2.1.0 - droids render as droids, a lead noun for non-human faces, Orion, a picker gender filter
|
||||
|
||||
**Random characters are unchanged.** Every change is a roster entry's own text, a new
|
||||
roster entry, or the picker UI. Two knock-ons for the Cosplayer node's random picks: the
|
||||
three droids and Pac-Man leave the `Masked` scope and the "People only" `random_pool` for `Beast /
|
||||
non-humanoid`, and the new entries grow the candidate list, so a fixed seed under any
|
||||
`Random - ...` choice can now pick a different character (as at every roster release).
|
||||
|
||||
**R2-D2, BB-8 and Gonk Droid moved to `body_plan: "feral"`.** The maintainer saw a man
|
||||
posing beside R2-D2 in the gallery. The published BB-8 tile showed the same thing, and Gonk
|
||||
showed a man's head out of a grey box. All three were suit entries whose prompt led "a short
|
||||
man with a stocky build ... He wears a ... droid body": a famous name makes the model draw the
|
||||
machine as an object, and the sentence then adds a person next to it. As feral entries
|
||||
("R2-D2 (Star Wars), a three-legged astromech droid, ...") all three rendered as the droid
|
||||
alone on the first seed. Chopper and Lumiere stay suit entries: both rendered correctly
|
||||
because their long descriptions win, and neither tile is wrong. The feral route was written
|
||||
for animals, so this opens it to non-humanoid machines with a cosplay-only
|
||||
`creature_class: "Machines"`; see architecture.md -> "Writing a feral entry". The Claptrap
|
||||
and Wrecking Ball declines rested on the old "a machine is not a beast" reading, and are
|
||||
marked lapsed in suggested-additions.md.
|
||||
|
||||
The look level was considered as the switch ("Costume only" = a person in an R2-D2 costume,
|
||||
"Full character" = R2-D2 itself) and not built: the person-in-costume reading is exactly the
|
||||
render that failed.
|
||||
|
||||
**Blue Beetle (Ted Kord) rewritten.** The entry said black cowl, black gloves and boots and
|
||||
"large round black goggles", and rendered a black hood with black swim goggles. Canon
|
||||
(Wikipedia plus figure references) is a light-blue suit with dark navy gloves, trunks, boots and
|
||||
cowl, a dark beetle shape across the chest and shoulders, and yellow goggles. A maintainer-
|
||||
supplied description added white lenses and antenna lines on the cowl; no source backed either,
|
||||
so neither was used. The first render drew the right suit on a heavy 55-year-old; one
|
||||
`--reroll` gave the published tile.
|
||||
|
||||
**More machines and enchanted objects.** Claptrap, WALL-E, Dalek, Johnny 5, Codsworth and
|
||||
Mrs. Potts ship on the feral route, and Cogsworth on the suit route beside Lumiere (arms and
|
||||
legs where a person's are). Every one rendered as the machine or object alone on its first
|
||||
seed, with no person in frame. Wrecking Ball, BD-1, the Mouse Droid and K-9 were declined;
|
||||
see suggested-additions.md.
|
||||
|
||||
**The sd-character-finder survey.** The catalogue (Danbooru, e621 and AnimaDex tags with a
|
||||
popularity rank) was ranked against the roster. Its unmatched top is mostly large uniform or
|
||||
gacha casts the backlog already closes, so the survivors ship: the first Touhou entries (Reimu
|
||||
Hakurei, Marisa Kirisame, Sakuya Izayoi, Yukari Yakumo), Black Rock Shooter, Noriaki Kakyoin,
|
||||
Mash Kyrielight, Edelgard (her Part II emperor look), Shantae, Catra (the 2018 reboot, its own
|
||||
franchise beside the 1985 She-Ra) and Kasane Teto as worn looks; Toriel, Undyne, Doraemon,
|
||||
Hello Kitty, Kuromi, Meta Knight, King Dedede, Monokuma and Tony Tony Chopper on the mascot
|
||||
route (the last two with the Pikachu scale pin); Snoopy and Kyubey on the feral route. The
|
||||
Hololive VTubers were left out at the maintainer's call; Domo-kun, the maintainer's own pick, joins on the mascot route. Two authoring notes: a body-colour
|
||||
clause needs a material noun ("a coat of blue fur"), or the colour capture runs on to the
|
||||
next comma and voices "a red skin"; Doraemon uses the `skin` key instead. A feral pose
|
||||
sentence follows "He is", so it cannot say "its back".
|
||||
|
||||
**Unmask on a droid.** The question was whether "Unmask (show face)" should put a person
|
||||
inside a droid. It already does for a suit entry (C-3PO, Lumiere, Cogsworth): a cosplayer
|
||||
with the helmet off. It stays a no-op on a feral entry, because a human head on R2-D2's body
|
||||
is the Gonk render this release removed. The mask tooltip now says so.
|
||||
|
||||
**Roster picker gender filter.** A Female / Male select beside the trait facet. Entries with no
|
||||
single gender (creatures, "Any" archetypes) stay visible under both choices. Like the facet,
|
||||
it survives closing the picker and resets on reload.
|
||||
|
||||
**The lead noun (`subject`).** The Tellarite repair from 1.11.0 stayed open because the
|
||||
snout never rendered: the prompt led "a short man with a stocky build" and the mask
|
||||
sentence that followed lost to it every time. A new optional `subject` key replaces
|
||||
"man"/"woman" in that lead (architecture.md -> "The lead noun: `subject`"). With
|
||||
"pig-headed humanoid alien" the Tellarite drew the snout and beard on the first seed. The
|
||||
same test ran on every masked or mascot entry whose published tile showed a person, each
|
||||
trial at the gallery seed beside the published tile:
|
||||
|
||||
- *Kept:* Kuiil, Unkar Plutt, Ithorian, Nien Nunb, Bothan, Kilowog, Larfleeze, Ponda Baba
|
||||
(with a walrus-led mask rewrite), Mynock, Krampus, Ainz, Spinal, Witch-King, Orko, Vivi,
|
||||
and the mascots that had drawn a person holding a plush: Pikachu, Jigglypuff, Gengar,
|
||||
SpongeBob, Mr. Krabs, Eeyore, Piglet, Sackboy, Kool-Aid Man, Mr. Peanut, Rosie the
|
||||
Robot, White Rabbit, Ultros and Voldo. Gardevoir ships with one from the start.
|
||||
- *Moved to the feral route instead:* Pac-Man. With the noun it was still a person in a
|
||||
yellow suit; as the character itself ("a round yellow arcade character") it rendered as
|
||||
the arcade Pac-Man alone on both seeds. A cartoon version with arms, gloves and red shoes
|
||||
rendered as well; the arcade disc is the better-known look, and a feral entry has no
|
||||
alternates. A person-in-a-Pac-Man-suit option was not kept: that is the render that failed.
|
||||
- *Kept, with a new mask:* the noun alone still drew a plain man for Red Skull and a
|
||||
human face for Moon Knight. Rewritten as "a full-head red latex Red Skull mask" and "a
|
||||
full-head white cloth mask wrapping his whole face", both rendered right on both seeds.
|
||||
Porco Rosso, as "a pig's head instead of a human head", gets the ears and snout on one
|
||||
seed of two; nothing tried did better.
|
||||
- *Obscure aliens:* several Star Wars species are close to unknown to the model. They keep
|
||||
the noun and the most specific description sources support; that is where they land.
|
||||
|
||||
**One eye is a model limit.** Allen the Alien and Leela are cyclopes, and every render drew
|
||||
two eyes. Tried, two seeds each: the noun ("one-eyed cyclops alien", "cyclops woman"); an
|
||||
eye phrase saying "no other eyes"; a latex cyclops mask; a cyclops face prosthetic on Leela
|
||||
(which also dropped her purple hair); a close-up framing. All failed. A bare prompt ("a
|
||||
photo of a big orange cyclops alien with one huge eye in the middle of his face") drew one
|
||||
eye on both seeds, so the model can do it, but the same prompt prefixed with "Cosplaying as
|
||||
Allen the Alien (Invincible):", or lengthened to the gallery's detail, drew two again. Both
|
||||
entries keep the cyclops noun and their best text; Leela's costume no longer lists "a single
|
||||
large central eye" as something she wears.
|
||||
|
||||
**Two-colour eyes.** An `eyes` override is voiced as "She has <eyes>", so "one blue and one
|
||||
yellow" read "one blue and one yellow eyes". Catra, Frankie Stein and Ragna now say "one
|
||||
blue eye and one yellow eye" in full.
|
||||
|
||||
**Orion.** The TOS dancer (jewelled two-piece, veils, bangles, green skin) is the canonical
|
||||
look; Gaila's red Starfleet cadet dress (Kelvin films) is the alternate. The new
|
||||
`costume_weights` key leans the pick 2:1 toward the dancer (measured: about a third of seeds
|
||||
draw the cadet), without moving any other entry's seeds (architecture.md -> "Weighted
|
||||
alternate looks").
|
||||
|
||||
**The survey's second tier.** Hilda, Gloria, Iono, Gardevoir (mascot), Byleth, Nagito
|
||||
Komaeda, Chiaki Nanami, Jonathan Joestar, Tamamo no Mae, Falin Touden, Senshi, Suletta
|
||||
Mercury, the four RWBY leads, Wild Tiger and Barnaby, Nanoha and Fate, Ragna and Noel,
|
||||
Arcueid Brunestud and Serval. Kiana Kaslana and Caesar Zeppeli were declined (no one stable
|
||||
outfit, colours not verifiable); see suggested-additions.md.
|
||||
|
||||
+113
-10
@@ -3,9 +3,9 @@
|
||||
|
||||
# Cosplayer reference
|
||||
|
||||
**2099 characters.** Flags: `F`/`M` = source gender, `giant`/`tiny` = size scale, `masked` = full-face covering, `beast` = rendered as the animal itself (`body_plan: feral`), `+N alt` = extra costumes, `prop` = signature held item.
|
||||
**2154 characters.** Flags: `F`/`M` = source gender, `giant`/`tiny` = size scale, `masked` = full-face covering, `beast` = rendered as the animal itself (`body_plan: feral`), `+N alt` = extra costumes, `prop` = signature held item.
|
||||
|
||||
## Anime & Manga (387)
|
||||
## Anime & Manga (416)
|
||||
|
||||
### Akame ga Kill
|
||||
|
||||
@@ -60,6 +60,10 @@
|
||||
- **Balalaika** (F)
|
||||
- **Revy** (F, prop)
|
||||
|
||||
### Black Rock Shooter
|
||||
|
||||
- **Black Rock Shooter** (F, prop)
|
||||
|
||||
### Bleach
|
||||
|
||||
- **Byakuya Kuchiki** (M)
|
||||
@@ -104,7 +108,10 @@
|
||||
|
||||
### Danganronpa
|
||||
|
||||
- **Chiaki Nanami** (F, prop)
|
||||
- **Junko Enoshima** (F)
|
||||
- **Monokuma** (M, tiny, masked)
|
||||
- **Nagito Komaeda** (M)
|
||||
|
||||
### Darling in the Franxx
|
||||
|
||||
@@ -134,8 +141,10 @@
|
||||
|
||||
### Delicious in Dungeon
|
||||
|
||||
- **Falin Touden** (F, prop)
|
||||
- **Laios Touden** (M, prop)
|
||||
- **Marcille Donato** (F, prop)
|
||||
- **Senshi** (M, prop)
|
||||
|
||||
### Demon Slayer
|
||||
|
||||
@@ -151,6 +160,10 @@
|
||||
- **Tanjiro Kamado** (M, prop)
|
||||
- **Zenitsu Agatsuma** (M)
|
||||
|
||||
### Doraemon
|
||||
|
||||
- **Doraemon** (M, masked)
|
||||
|
||||
### Dorohedoro
|
||||
|
||||
- **Nikaido** (F, masked)
|
||||
@@ -207,7 +220,9 @@
|
||||
### Fate/Grand Order
|
||||
|
||||
- **Jeanne d'Arc (Fate)** (F, prop)
|
||||
- **Mash Kyrielight** (F, prop)
|
||||
- **Scathach** (F, prop)
|
||||
- **Tamamo no Mae** (F, prop)
|
||||
|
||||
### Fate/stay night
|
||||
|
||||
@@ -308,10 +323,12 @@
|
||||
- **Dio Brando** (M)
|
||||
- **Giorno Giovanna** (M)
|
||||
- **Jolyne Cujoh** (F)
|
||||
- **Jonathan Joestar** (M)
|
||||
- **Joseph Joestar** (M)
|
||||
- **Josuke Higashikata** (M)
|
||||
- **Jotaro Kujo** (M)
|
||||
- **Lisa Lisa** (F)
|
||||
- **Noriaki Kakyoin** (M)
|
||||
|
||||
### Jujutsu Kaisen
|
||||
|
||||
@@ -327,6 +344,10 @@
|
||||
|
||||
- **Yumeko Jabami** (F)
|
||||
|
||||
### Kemono Friends
|
||||
|
||||
- **Serval (Kemono Friends)** (F)
|
||||
|
||||
### Kill la Kill
|
||||
|
||||
- **Mako Mankanshoku** (F)
|
||||
@@ -351,6 +372,7 @@
|
||||
|
||||
- **Homura Akemi (Devil)** (F)
|
||||
- **Kyoko Sakura** (F, prop)
|
||||
- **Kyubey** (M, tiny, beast)
|
||||
- **Madoka Kaname (Ultimate)** (F, prop)
|
||||
- **Mami Tomoe** (F, prop)
|
||||
- **Sayaka Miki** (F, prop)
|
||||
@@ -359,6 +381,11 @@
|
||||
|
||||
- **Morgiana** (F)
|
||||
|
||||
### Magical Girl Lyrical Nanoha
|
||||
|
||||
- **Fate Testarossa** (F, prop)
|
||||
- **Nanoha Takamachi** (F, prop)
|
||||
|
||||
### Medaka Box
|
||||
|
||||
- **Medaka Kurokami** (F)
|
||||
@@ -370,6 +397,7 @@
|
||||
### Mobile Suit Gundam
|
||||
|
||||
- **Char Aznable** (M)
|
||||
- **Suletta Mercury** (F)
|
||||
|
||||
### Monogatari
|
||||
|
||||
@@ -458,6 +486,7 @@
|
||||
- **Sanji** (M)
|
||||
- **Shanks** (M)
|
||||
- **Shirahoshi** (F, giant)
|
||||
- **Tony Tony Chopper** (M, tiny, masked)
|
||||
- **Trafalgar Law** (M, prop)
|
||||
- **Usopp** (M, prop)
|
||||
- **Yamato (One Piece)** (F, prop)
|
||||
@@ -499,9 +528,13 @@
|
||||
- **Dawn** (F)
|
||||
- **Eevee** (M, tiny, beast)
|
||||
- **Elesa** (F)
|
||||
- **Gardevoir** (F, masked)
|
||||
- **Gary Oak** (M)
|
||||
- **Gengar** (M, masked)
|
||||
- **Gloria (Pokemon)** (F)
|
||||
- **Gyarados** (M, giant, beast)
|
||||
- **Hilda (Pokemon)** (F, prop)
|
||||
- **Iono** (F)
|
||||
- **Iris** (F)
|
||||
- **James (Team Rocket)** (M)
|
||||
- **Jessie (Team Rocket)** (F)
|
||||
@@ -532,6 +565,13 @@
|
||||
- **Mari Kurihara** (F)
|
||||
- **Meiko Shiraki** (F, +1 alt)
|
||||
|
||||
### RWBY
|
||||
|
||||
- **Blake Belladonna** (F, prop)
|
||||
- **Ruby Rose** (F, prop)
|
||||
- **Weiss Schnee** (F, prop)
|
||||
- **Yang Xiao Long** (F)
|
||||
|
||||
### Ranma 1/2
|
||||
|
||||
- **Ranma Saotome** (M)
|
||||
@@ -641,6 +681,11 @@
|
||||
- **Elizabeth Liones** (F)
|
||||
- **Meliodas** (M)
|
||||
|
||||
### Tiger & Bunny
|
||||
|
||||
- **Barnaby Brooks Jr.** (M)
|
||||
- **Wild Tiger** (M)
|
||||
|
||||
### Tokyo Ghoul
|
||||
|
||||
- **Ken Kaneki** (M)
|
||||
@@ -651,6 +696,14 @@
|
||||
|
||||
- **Vash the Stampede** (M)
|
||||
|
||||
### Tsukihime
|
||||
|
||||
- **Arcueid Brunestud** (F)
|
||||
|
||||
### UTAU
|
||||
|
||||
- **Kasane Teto** (F)
|
||||
|
||||
### Urusei Yatsura
|
||||
|
||||
- **Lum Invader** (F)
|
||||
@@ -679,7 +732,7 @@
|
||||
- **Dark Magician Girl** (F, prop)
|
||||
- **Yami Yugi** (M)
|
||||
|
||||
## Comics & Cartoons (278)
|
||||
## Comics & Cartoons (282)
|
||||
|
||||
### Adventure Time
|
||||
|
||||
@@ -992,6 +1045,7 @@
|
||||
### Peanuts
|
||||
|
||||
- **Charlie Brown** (M)
|
||||
- **Snoopy** (M, tiny, beast)
|
||||
|
||||
### Peepoodo
|
||||
|
||||
@@ -1029,6 +1083,11 @@
|
||||
|
||||
- **Samurai Jack** (M, prop)
|
||||
|
||||
### Sanrio
|
||||
|
||||
- **Hello Kitty** (F, masked)
|
||||
- **Kuromi** (F, masked)
|
||||
|
||||
### Savage Dragon
|
||||
|
||||
- **Savage Dragon** (M, masked)
|
||||
@@ -1037,6 +1096,10 @@
|
||||
|
||||
- **Ramona Flowers** (F, prop)
|
||||
|
||||
### She-Ra and the Princesses of Power
|
||||
|
||||
- **Catra** (F)
|
||||
|
||||
### Sheena, Queen of the Jungle
|
||||
|
||||
- **Sheena** (F, prop)
|
||||
@@ -1421,7 +1484,7 @@
|
||||
- **Silk Spectre** (F)
|
||||
- **The Comedian** (M)
|
||||
|
||||
## Disney (112)
|
||||
## Disney (115)
|
||||
|
||||
### 101 Dalmatians
|
||||
|
||||
@@ -1452,8 +1515,10 @@
|
||||
- **Babette** (F, +1 alt, prop)
|
||||
- **Beast (Beauty and the Beast)** (M, masked)
|
||||
- **Belle** (F, prop)
|
||||
- **Cogsworth** (M, masked)
|
||||
- **Gaston** (M)
|
||||
- **Lumiere** (M, masked)
|
||||
- **Mrs. Potts** (F, beast)
|
||||
|
||||
### Big Hero 6
|
||||
|
||||
@@ -1654,6 +1719,10 @@
|
||||
|
||||
- **Carl Fredricksen** (M, prop)
|
||||
|
||||
### WALL-E
|
||||
|
||||
- **WALL-E** (M, beast)
|
||||
|
||||
### Wreck-It Ralph
|
||||
|
||||
- **Vanellope von Schweetz** (F)
|
||||
@@ -2034,7 +2103,7 @@
|
||||
- **Yondu** (M, prop)
|
||||
- **Zuras** (M)
|
||||
|
||||
## Movies & TV (239)
|
||||
## Movies & TV (243)
|
||||
|
||||
### A Nightmare on Elm Street
|
||||
|
||||
@@ -2144,10 +2213,15 @@
|
||||
### Doctor Who
|
||||
|
||||
- **Cyberman** (M, masked)
|
||||
- **Dalek** (M, beast)
|
||||
- **The Fourth Doctor** (M)
|
||||
- **The Tenth Doctor** (M, prop)
|
||||
- **Weeping Angel** (F, masked)
|
||||
|
||||
### Domo
|
||||
|
||||
- **Domo-kun** (M, masked)
|
||||
|
||||
### Duolingo
|
||||
|
||||
- **Duolingo Owl** (M, masked)
|
||||
@@ -2410,6 +2484,10 @@
|
||||
|
||||
- **Ghostface** (M, masked, prop)
|
||||
|
||||
### Short Circuit
|
||||
|
||||
- **Johnny 5** (M, beast)
|
||||
|
||||
### Shrek
|
||||
|
||||
- **Lord Farquaad** (M, tiny)
|
||||
@@ -2446,6 +2524,7 @@
|
||||
- **Ilia** (F)
|
||||
- **Klingon** (M, prop)
|
||||
- **Mr. Spock** (M)
|
||||
- **Orion** (F, +1 alt)
|
||||
- **Seven of Nine** (F, +3 alt)
|
||||
- **Tellarite** (M, masked)
|
||||
- **Uhura** (F)
|
||||
@@ -2632,7 +2711,7 @@
|
||||
- **Anakin Skywalker** (M, prop)
|
||||
- **Asajj Ventress** (F, prop)
|
||||
- **Aurra Sing** (F, prop)
|
||||
- **BB-8** (M, masked)
|
||||
- **BB-8** (M, beast)
|
||||
- **Bantha** (M, giant, beast)
|
||||
- **Barriss Offee** (F, prop)
|
||||
- **Battle Droid** (M, masked)
|
||||
@@ -2668,7 +2747,7 @@
|
||||
- **Figrin D'an** (M, masked, prop)
|
||||
- **Finn** (M)
|
||||
- **General Grievous** (M, masked, prop)
|
||||
- **Gonk Droid** (M, masked)
|
||||
- **Gonk Droid** (M, beast)
|
||||
- **Gran** (M, masked)
|
||||
- **Grand Admiral Thrawn** (M)
|
||||
- **Grand Inquisitor** (M, prop)
|
||||
@@ -2716,7 +2795,7 @@
|
||||
- **Praetorian Guard** (M, masked, prop)
|
||||
- **Princess Leia Organa** (F, +5 alt)
|
||||
- **Qui-Gon Jinn** (M, prop)
|
||||
- **R2-D2** (M, masked)
|
||||
- **R2-D2** (M, beast)
|
||||
- **Rancor** (M, giant, masked)
|
||||
- **Rey** (F, prop)
|
||||
- **Sabine Wren** (F)
|
||||
@@ -2742,7 +2821,7 @@
|
||||
- **Zorii Bliss** (F, masked, prop)
|
||||
- **Zuckuss** (M, masked)
|
||||
|
||||
## Video Games (500)
|
||||
## Video Games (515)
|
||||
|
||||
### A Certain Scientific Railgun
|
||||
|
||||
@@ -2793,6 +2872,11 @@
|
||||
|
||||
- **Destined One (Black Myth: Wukong)** (M, masked)
|
||||
|
||||
### BlazBlue
|
||||
|
||||
- **Noel Vermillion** (F, prop)
|
||||
- **Ragna the Bloodedge** (M, prop)
|
||||
|
||||
### BloodRayne
|
||||
|
||||
- **Rayne** (F)
|
||||
@@ -2804,6 +2888,7 @@
|
||||
### Borderlands
|
||||
|
||||
- **Amara** (F)
|
||||
- **Claptrap** (M, beast)
|
||||
- **Handsome Jack** (M)
|
||||
- **Lilith (Borderlands)** (F)
|
||||
- **Mad Moxxi** (F)
|
||||
@@ -2962,6 +3047,7 @@
|
||||
### Fallout
|
||||
|
||||
- **Brotherhood of Steel Knight** (M, masked)
|
||||
- **Codsworth** (M, beast)
|
||||
- **Nick Valentine** (M)
|
||||
- **The Ghoul** (M, masked, prop)
|
||||
- **Vault Dweller** (M)
|
||||
@@ -3002,6 +3088,8 @@
|
||||
### Fire Emblem
|
||||
|
||||
- **Azura** (F)
|
||||
- **Byleth** (M, prop)
|
||||
- **Edelgard** (F, prop)
|
||||
- **Lucina** (F, prop)
|
||||
|
||||
### Gears of War
|
||||
@@ -3117,7 +3205,9 @@
|
||||
|
||||
### Kirby
|
||||
|
||||
- **King Dedede** (M, masked, prop)
|
||||
- **Kirby** (M, masked)
|
||||
- **Meta Knight** (M, masked, prop)
|
||||
|
||||
### League of Legends
|
||||
|
||||
@@ -3282,7 +3372,7 @@
|
||||
|
||||
### Pac-Man
|
||||
|
||||
- **Pac-Man** (M, masked)
|
||||
- **Pac-Man** (M, beast)
|
||||
|
||||
### Persona
|
||||
|
||||
@@ -3337,6 +3427,10 @@
|
||||
|
||||
- **Nakoruru** (F, prop)
|
||||
|
||||
### Shantae
|
||||
|
||||
- **Shantae** (F)
|
||||
|
||||
### Silent Hill
|
||||
|
||||
- **Nurse (Silent Hill)** (F, masked)
|
||||
@@ -3519,10 +3613,19 @@
|
||||
|
||||
- **Lara Croft** (F, prop)
|
||||
|
||||
### Touhou Project
|
||||
|
||||
- **Marisa Kirisame** (F, prop)
|
||||
- **Reimu Hakurei** (F, prop)
|
||||
- **Sakuya Izayoi** (F, prop)
|
||||
- **Yukari Yakumo** (F, prop)
|
||||
|
||||
### Undertale
|
||||
|
||||
- **Papyrus** (M, masked, prop)
|
||||
- **Sans** (M, masked, prop)
|
||||
- **Toriel** (F, masked)
|
||||
- **Undyne** (F, masked, prop)
|
||||
|
||||
### Valkyria Chronicles
|
||||
|
||||
|
||||
@@ -23,9 +23,7 @@ that is what the Creature node is for.
|
||||
|
||||
## Under consideration
|
||||
|
||||
| Candidate | Case and remaining gate |
|
||||
|---|---|
|
||||
| Tellarite repair (Star Trek) | The 1.9.0 entry rendered a plain stocky man: no snout, no tusks, and "a shaggy coat of thick facial and body hair" drew an overcoat. 1.10.0 tried four wordings and each failed at the gallery's full-body framing: an authored head in `mask`; that plus `covers_body` (drops the demographics); the canonical porcine description (upturned pig snout, ruddy pink wrinkled leathery skin, tusks over the lip, bushy beard) drew a bearded human; a beardless "boar-faced" head drew a generic ridged alien. 1.11.0 tried the full latex prosthetic head in `mask`, alone and with `covers_body`: the first drew a bearded man, the second a ridged forehead over a beard. 1.11.0 ships the second anyway (the maintainer's call): it is the accurate canon text and drops the overcoat misread, and it renders no worse than the 1.9.0 text. The snout is still open; the one untried idea is a gallery framing override (`_GALLERY_SHOT`) on a close framing so the face is large. |
|
||||
Nothing is open; the last row (the Tellarite snout) closed in 2.1.0 with the `subject` lead noun.
|
||||
|
||||
**Engine and UX backlog** (found in the 1.6.0 review; its five fixes shipped in 1.7.0, and the
|
||||
tight-shot legwear, free-text `held_item` and expression-sheet rows in 1.10.0, see
|
||||
@@ -112,7 +110,6 @@ Closed with a reason. Reopen only with a **new** argument, not a repeat of the r
|
||||
|
||||
| Krieg (Borderlands) | Near-duplicate of the shipped `Psycho (Borderlands)`, which already carries the bandage mask, the strap harness and the buzz axe. `Zer0` and `Sir Hammerlock` shipped from the same request because neither overlaps anything on the roster. |
|
||||
| Maya (Borderlands) | `Lilith (Borderlands)` already carries the glowing blue Siren tattoos down one arm, which is the whole visual identity of the class - and unlike `Amara` (shipped 0.98.0 on the strength of her six arms), Maya has no feature Lilith lacks. |
|
||||
| Claptrap (Borderlands) | A one-wheeled box with a single lens. Fails **both** halves of the animal/mascot split: nobody can be inside it (so it is not the mascot-suit case) and it is a machine, not a beast (so `body_plan: "feral"` does not apply either). |
|
||||
|
||||
| Faith Lehane, Willow Rosenberg, Cordelia Chase, Anya Jenkins (Buffy the Vampire Slayer) | All four wear similar modern clothing to the shipped `Buffy Summers` (tank tops, jackets, jeans). The only differentiators are hair color and minor style variations, which is not enough visual distinction to earn a separate entry. The roster enforces a uniqueness bar, and these fail it — they would render as "a woman in a leather jacket" without the name doing the work. |
|
||||
| Kaguya Shinomiya, Chika Fujiwara, Miko Iino, Ai Hayasaka (Kaguya-sama: Love Is War) | All four wear the same school uniform; only hair color and style differ. This is the exact pattern the uniqueness bar closes against — same costume with cosmetic variations would render as identical silhouettes without the name doing the work. |
|
||||
@@ -160,7 +157,11 @@ Closed with a reason. Reopen only with a **new** argument, not a repeat of the r
|
||||
| Dan Hibiki, Evil Ryu, Violent Ken, Shin Akuma (Street Fighter) | Recolours or powered-up states of the shipped `Ryu` / `Ken Masters` / `Akuma` gi silhouettes -- the Shadow Jago call. **Evil Ryu ships as a `costumes` alternate on `Ryu`** (torn black gi, red aura, glowing red eyes), which is the shape rule 2 asks for. |
|
||||
| Seth, Dee Jay, Necro, Hakan (Street Fighter) | Bare-chested fighters whose remaining garment is trousers; the body alone does not separate them from shipped fighters. |
|
||||
| Q, Twelve, JP, Rashid, Sodom (Street Fighter) | Q's trench coat, fedora and featureless mask duplicate the shipped `Rorschach`; Twelve has no worn look at all; JP is an older man in a long coat who needs the name; Rashid and Sodom are narrower cuts whose shapes the roster already carries. |
|
||||
| Bastion, Orisa, Echo, Wrecking Ball (Overwatch) | Machines with no worn garments -- the Fulgore and Claptrap calls. Nobody can be inside Wrecking Ball's ball mech. |
|
||||
| Bastion, Orisa, Echo (Overwatch) | Humanoid machines with no worn garments -- the Fulgore call. |
|
||||
| Wrecking Ball (Overwatch) | Re-decided at 2.1.0 on the feral route and still declined: a hamster pilot inside a ball mech is two subjects in one frame, and Overwatch is already one of the roster's largest game franchises. |
|
||||
| BD-1, Mouse Droid (Star Wars), K-9 (Doctor Who) | Considered with the 2.1.0 machine batch. BD-1 is a game-only deep cut; the MSE-6 is a plain black box on wheels; K-9 would render as a generic boxy robot dog. Star Wars and Doctor Who keep their droids in R2-D2, BB-8, Gonk, Chopper and the Dalek. |
|
||||
| Hololive VTubers (Gawr Gura and others), Touhou's Remilia, Flandre and Cirno | From the 2.1.0 sd-character-finder survey, whose other survivors shipped. The VTubers are avatars of real performers (maintainer's call). The three Touhou characters fail the child-bodied rule. |
|
||||
| Kiana Kaslana (Honkai Impact 3rd), Caesar Zeppeli (JoJo) | From the 2.1.0 survey second tier. Kiana has no one stable outfit (each battlesuit is a different look) and Caesar's outfit colours could not be verified across the manga and anime; the defining items alone (a headband, fingerless gloves) render as a generic man. |
|
||||
| The rest of the Overwatch cast (Sigma, Baptiste, Sojourn, Ramattra, Mauga, Lifeweaver, Illari, Venture, Juno, Hazard, Freja, Wuyang) | Real looks, but each repeats a silhouette the curated set already carries (armoured soldier, robed omnic, tattooed brawler, sci-fi ranger). Overwatch stops where new entries stop adding visual ground. |
|
||||
| Aether (Genshin Impact) | The same kit and silhouette as the shipped `Lumine` in the other gender; the node's own gender control already crossplays. |
|
||||
| Keqing, Nilou, Eula, Xiao, Diluc (Genshin Impact) | Each is a well-drawn anime fantasy look, but the differentiator against a shipped neighbour is hair colour and elemental trim. `Mona`, `Wanderer` and `Arlecchino` shipped because a hat, a hat-and-veil and a pair of X-shaped pupils survive at silhouette scale. |
|
||||
|
||||
+402
-84
File diff suppressed because it is too large
Load Diff
@@ -211,8 +211,10 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Babette",
|
||||
"Beast (Beauty and the Beast)",
|
||||
"Belle",
|
||||
"Cogsworth",
|
||||
"Gaston",
|
||||
"Lumiere"
|
||||
"Lumiere",
|
||||
"Mrs. Potts"
|
||||
],
|
||||
"Beetlejuice": [
|
||||
"Beetlejuice",
|
||||
@@ -258,12 +260,19 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Black Myth: Wukong": [
|
||||
"Destined One (Black Myth: Wukong)"
|
||||
],
|
||||
"Black Rock Shooter": [
|
||||
"Black Rock Shooter"
|
||||
],
|
||||
"Blade Runner": [
|
||||
"Pris",
|
||||
"Rachael",
|
||||
"Rick Deckard",
|
||||
"Roy Batty"
|
||||
],
|
||||
"BlazBlue": [
|
||||
"Noel Vermillion",
|
||||
"Ragna the Bloodedge"
|
||||
],
|
||||
"Bleach": [
|
||||
"Byakuya Kuchiki",
|
||||
"Grimmjow",
|
||||
@@ -297,6 +306,7 @@ const COSPLAYER_FRANCHISES = {
|
||||
],
|
||||
"Borderlands": [
|
||||
"Amara",
|
||||
"Claptrap",
|
||||
"Handsome Jack",
|
||||
"Lilith (Borderlands)",
|
||||
"Mad Moxxi",
|
||||
@@ -610,7 +620,10 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Momo Ayase"
|
||||
],
|
||||
"Danganronpa": [
|
||||
"Junko Enoshima"
|
||||
"Chiaki Nanami",
|
||||
"Junko Enoshima",
|
||||
"Monokuma",
|
||||
"Nagito Komaeda"
|
||||
],
|
||||
"Danger Girl": [
|
||||
"Abbey Chase",
|
||||
@@ -698,8 +711,10 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Ryuk"
|
||||
],
|
||||
"Delicious in Dungeon": [
|
||||
"Falin Touden",
|
||||
"Laios Touden",
|
||||
"Marcille Donato"
|
||||
"Marcille Donato",
|
||||
"Senshi"
|
||||
],
|
||||
"Demon Slayer": [
|
||||
"Akaza",
|
||||
@@ -733,10 +748,14 @@ const COSPLAYER_FRANCHISES = {
|
||||
],
|
||||
"Doctor Who": [
|
||||
"Cyberman",
|
||||
"Dalek",
|
||||
"The Fourth Doctor",
|
||||
"The Tenth Doctor",
|
||||
"Weeping Angel"
|
||||
],
|
||||
"Domo": [
|
||||
"Domo-kun"
|
||||
],
|
||||
"Donkey Kong": [
|
||||
"Donkey Kong"
|
||||
],
|
||||
@@ -746,6 +765,9 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Dora the Explorer": [
|
||||
"Dora the Explorer"
|
||||
],
|
||||
"Doraemon": [
|
||||
"Doraemon"
|
||||
],
|
||||
"Dorohedoro": [
|
||||
"Nikaido"
|
||||
],
|
||||
@@ -870,6 +892,7 @@ const COSPLAYER_FRANCHISES = {
|
||||
],
|
||||
"Fallout": [
|
||||
"Brotherhood of Steel Knight",
|
||||
"Codsworth",
|
||||
"Nick Valentine",
|
||||
"The Ghoul",
|
||||
"Vault Dweller"
|
||||
@@ -893,7 +916,9 @@ const COSPLAYER_FRANCHISES = {
|
||||
],
|
||||
"Fate/Grand Order": [
|
||||
"Jeanne d'Arc (Fate)",
|
||||
"Scathach"
|
||||
"Mash Kyrielight",
|
||||
"Scathach",
|
||||
"Tamamo no Mae"
|
||||
],
|
||||
"Fate/stay night": [
|
||||
"Gilgamesh",
|
||||
@@ -943,6 +968,8 @@ const COSPLAYER_FRANCHISES = {
|
||||
],
|
||||
"Fire Emblem": [
|
||||
"Azura",
|
||||
"Byleth",
|
||||
"Edelgard",
|
||||
"Lucina"
|
||||
],
|
||||
"Firefly": [
|
||||
@@ -1284,10 +1311,12 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Dio Brando",
|
||||
"Giorno Giovanna",
|
||||
"Jolyne Cujoh",
|
||||
"Jonathan Joestar",
|
||||
"Joseph Joestar",
|
||||
"Josuke Higashikata",
|
||||
"Jotaro Kujo",
|
||||
"Lisa Lisa"
|
||||
"Lisa Lisa",
|
||||
"Noriaki Kakyoin"
|
||||
],
|
||||
"Johnny Bravo": [
|
||||
"Johnny Bravo"
|
||||
@@ -1329,6 +1358,9 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Kellogg's": [
|
||||
"Tony the Tiger"
|
||||
],
|
||||
"Kemono Friends": [
|
||||
"Serval (Kemono Friends)"
|
||||
],
|
||||
"Kick-Ass": [
|
||||
"Hit-Girl"
|
||||
],
|
||||
@@ -1383,7 +1415,9 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Sora"
|
||||
],
|
||||
"Kirby": [
|
||||
"Kirby"
|
||||
"King Dedede",
|
||||
"Kirby",
|
||||
"Meta Knight"
|
||||
],
|
||||
"KonoSuba": [
|
||||
"Aqua (KonoSuba)",
|
||||
@@ -1498,6 +1532,7 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Madoka Magica": [
|
||||
"Homura Akemi (Devil)",
|
||||
"Kyoko Sakura",
|
||||
"Kyubey",
|
||||
"Madoka Kaname (Ultimate)",
|
||||
"Mami Tomoe",
|
||||
"Sayaka Miki"
|
||||
@@ -1508,6 +1543,10 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Magic: The Gathering": [
|
||||
"Liliana Vess"
|
||||
],
|
||||
"Magical Girl Lyrical Nanoha": [
|
||||
"Fate Testarossa",
|
||||
"Nanoha Takamachi"
|
||||
],
|
||||
"Mars Attacks!": [
|
||||
"The Martian Ambassador"
|
||||
],
|
||||
@@ -1799,7 +1838,8 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Moana"
|
||||
],
|
||||
"Mobile Suit Gundam": [
|
||||
"Char Aznable"
|
||||
"Char Aznable",
|
||||
"Suletta Mercury"
|
||||
],
|
||||
"Monogatari": [
|
||||
"Hitagi Senjougahara",
|
||||
@@ -1943,6 +1983,7 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Sanji",
|
||||
"Shanks",
|
||||
"Shirahoshi",
|
||||
"Tony Tony Chopper",
|
||||
"Trafalgar Law",
|
||||
"Usopp",
|
||||
"Yamato (One Piece)"
|
||||
@@ -2005,7 +2046,8 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Stocking Anarchy"
|
||||
],
|
||||
"Peanuts": [
|
||||
"Charlie Brown"
|
||||
"Charlie Brown",
|
||||
"Snoopy"
|
||||
],
|
||||
"Peepoodo": [
|
||||
"Dr. Monique Pussycat"
|
||||
@@ -2068,9 +2110,13 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Dawn",
|
||||
"Eevee",
|
||||
"Elesa",
|
||||
"Gardevoir",
|
||||
"Gary Oak",
|
||||
"Gengar",
|
||||
"Gloria (Pokemon)",
|
||||
"Gyarados",
|
||||
"Hilda (Pokemon)",
|
||||
"Iono",
|
||||
"Iris",
|
||||
"James (Team Rocket)",
|
||||
"Jessie (Team Rocket)",
|
||||
@@ -2115,6 +2161,12 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Pulp Fiction": [
|
||||
"Mia Wallace"
|
||||
],
|
||||
"RWBY": [
|
||||
"Blake Belladonna",
|
||||
"Ruby Rose",
|
||||
"Weiss Schnee",
|
||||
"Yang Xiao Long"
|
||||
],
|
||||
"Rainbow Brite": [
|
||||
"Rainbow Brite"
|
||||
],
|
||||
@@ -2219,6 +2271,10 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Samurai Shodown": [
|
||||
"Nakoruru"
|
||||
],
|
||||
"Sanrio": [
|
||||
"Hello Kitty",
|
||||
"Kuromi"
|
||||
],
|
||||
"Savage Dragon": [
|
||||
"Savage Dragon"
|
||||
],
|
||||
@@ -2234,12 +2290,21 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Scream": [
|
||||
"Ghostface"
|
||||
],
|
||||
"Shantae": [
|
||||
"Shantae"
|
||||
],
|
||||
"She-Ra and the Princesses of Power": [
|
||||
"Catra"
|
||||
],
|
||||
"Sheena, Queen of the Jungle": [
|
||||
"Sheena"
|
||||
],
|
||||
"Sherlock Holmes": [
|
||||
"Sherlock Holmes"
|
||||
],
|
||||
"Short Circuit": [
|
||||
"Johnny 5"
|
||||
],
|
||||
"Shrek": [
|
||||
"Lord Farquaad",
|
||||
"Princess Fiona",
|
||||
@@ -2345,6 +2410,7 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Ilia",
|
||||
"Klingon",
|
||||
"Mr. Spock",
|
||||
"Orion",
|
||||
"Seven of Nine",
|
||||
"Tellarite",
|
||||
"Uhura",
|
||||
@@ -2927,6 +2993,10 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Panthro",
|
||||
"Tygra"
|
||||
],
|
||||
"Tiger & Bunny": [
|
||||
"Barnaby Brooks Jr.",
|
||||
"Wild Tiger"
|
||||
],
|
||||
"Tokyo Ghoul": [
|
||||
"Ken Kaneki",
|
||||
"Rize Kamishiro",
|
||||
@@ -2941,6 +3011,12 @@ const COSPLAYER_FRANCHISES = {
|
||||
"The Darkness (Jackie Estacado)",
|
||||
"Velocity"
|
||||
],
|
||||
"Touhou Project": [
|
||||
"Marisa Kirisame",
|
||||
"Reimu Hakurei",
|
||||
"Sakuya Izayoi",
|
||||
"Yukari Yakumo"
|
||||
],
|
||||
"Toy Story": [
|
||||
"Bo Peep",
|
||||
"Buzz Lightyear",
|
||||
@@ -2960,15 +3036,23 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Tron": [
|
||||
"Quorra"
|
||||
],
|
||||
"Tsukihime": [
|
||||
"Arcueid Brunestud"
|
||||
],
|
||||
"Twenty Thousand Leagues Under the Sea": [
|
||||
"Captain Nemo"
|
||||
],
|
||||
"UTAU": [
|
||||
"Kasane Teto"
|
||||
],
|
||||
"Ultraman": [
|
||||
"Ultraman"
|
||||
],
|
||||
"Undertale": [
|
||||
"Papyrus",
|
||||
"Sans"
|
||||
"Sans",
|
||||
"Toriel",
|
||||
"Undyne"
|
||||
],
|
||||
"Underworld": [
|
||||
"Selene (Underworld)"
|
||||
@@ -3010,6 +3094,9 @@ const COSPLAYER_FRANCHISES = {
|
||||
"Voltron": [
|
||||
"Princess Allura"
|
||||
],
|
||||
"WALL-E": [
|
||||
"WALL-E"
|
||||
],
|
||||
"Warhammer 40,000": [
|
||||
"Commissar",
|
||||
"Sister of Battle",
|
||||
|
||||
@@ -166,6 +166,15 @@ function hasTrait(entry, ...traits) {
|
||||
return traits.some((t) => have.includes(t));
|
||||
}
|
||||
|
||||
// Gender filter (2.1.0). An entry with no single gender (creatures, "Any"
|
||||
// archetypes) suits either choice, so it stays visible under both.
|
||||
const GENDER_ANY = "Any gender";
|
||||
const GENDERS = [GENDER_ANY, "Female", "Male"];
|
||||
|
||||
function matchesGender(entry, gender) {
|
||||
return gender === GENDER_ANY || !entry.gender || entry.gender === "Any" || entry.gender === gender;
|
||||
}
|
||||
|
||||
const FACET_PREDICATES = {
|
||||
[FACET_ALL]: () => true,
|
||||
[FACET_GIANT]: (e) => hasTrait(e, "giant"),
|
||||
@@ -320,6 +329,7 @@ class IdentityForgePicker {
|
||||
this.query = "";
|
||||
this.activeTab = config.kind;
|
||||
this.facet = FACET_ALL;
|
||||
this.gender = GENDER_ANY;
|
||||
this.showPreviews = loadPreviewPref();
|
||||
this.focusIndex = 0;
|
||||
this.visible = [];
|
||||
@@ -481,6 +491,23 @@ class IdentityForgePicker {
|
||||
});
|
||||
this.facetSelect = facet;
|
||||
|
||||
const genderSelect = document.createElement("select");
|
||||
genderSelect.className = "if-picker-facet";
|
||||
genderSelect.setAttribute("aria-label", "Filter by gender");
|
||||
for (const value of GENDERS) {
|
||||
const option = document.createElement("option");
|
||||
option.value = value;
|
||||
option.textContent = value;
|
||||
genderSelect.appendChild(option);
|
||||
}
|
||||
genderSelect.value = this.gender;
|
||||
genderSelect.addEventListener("change", () => {
|
||||
this.gender = genderSelect.value;
|
||||
this.focusIndex = 0;
|
||||
this.renderGrid();
|
||||
});
|
||||
this.genderSelect = genderSelect;
|
||||
|
||||
const previewLabel = document.createElement("label");
|
||||
previewLabel.className = "if-picker-preview-toggle";
|
||||
const previewCheckbox = document.createElement("input");
|
||||
@@ -501,7 +528,7 @@ class IdentityForgePicker {
|
||||
close.setAttribute("aria-label", "Close (" + this.config.title + ")");
|
||||
close.addEventListener("click", () => this.close());
|
||||
|
||||
header.append(search, facet, count, previewLabel, close);
|
||||
header.append(search, facet, genderSelect, count, previewLabel, close);
|
||||
|
||||
const notice = document.createElement("div");
|
||||
notice.className = "if-picker-notice";
|
||||
@@ -698,6 +725,9 @@ class IdentityForgePicker {
|
||||
const predicate = FACET_PREDICATES[this.facet] || FACET_PREDICATES[FACET_ALL];
|
||||
list = list.filter(predicate);
|
||||
}
|
||||
if (this.gender !== GENDER_ANY) {
|
||||
list = list.filter((entry) => matchesGender(entry, this.gender));
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
@@ -719,7 +749,8 @@ class IdentityForgePicker {
|
||||
|
||||
/** True while anything is narrowing the roster -- when the counts are worth showing. */
|
||||
isFiltering() {
|
||||
return Boolean(tokenize(this.query).length) || this.facet !== FACET_ALL;
|
||||
return Boolean(tokenize(this.query).length) || this.facet !== FACET_ALL
|
||||
|| this.gender !== GENDER_ANY;
|
||||
}
|
||||
|
||||
renderGrid() {
|
||||
|
||||
File diff suppressed because one or more lines are too long
+25
-2
@@ -265,6 +265,13 @@ _MASK_KEY = "__mask__"
|
||||
#: body twice.
|
||||
_ANATOMY_NOTE_KEY = "__anatomy_note__"
|
||||
|
||||
#: Reserved key carrying a cosplayer's ``subject`` noun (2.1.0): the lead phrase
|
||||
#: uses it in place of "man" / "woman" ("a short pig-headed humanoid alien", "a
|
||||
#: one-eyed cyclops woman"). A non-human face named only in a later sentence lost to
|
||||
#: "a short man" on render (the Tellarite; Leela drew two eyes). The cosplayer node
|
||||
#: omits it on unmask, where the person underneath shows.
|
||||
_SUBJECT_NOUN_KEY = "__subject_noun__"
|
||||
|
||||
#: Reserved key carrying a cosplayer's ``covers_body`` flag through the parsed dict
|
||||
#: (a full hard suit / armour / robot shell / exoskeleton — no skin for worn
|
||||
#: jewellery to sit on).
|
||||
@@ -290,7 +297,7 @@ _SCALE_TIER_KEY = "__scale_tier__"
|
||||
#: scale on Hermione, a masked cosplayer suppressing an archetype's whole face).
|
||||
_COSTUME_META_KEYS: tuple[str, ...] = (
|
||||
"covers_face", "covers_body", "covers_hair", "mask", "size_scale",
|
||||
"anatomy_note",
|
||||
"anatomy_note", "subject",
|
||||
)
|
||||
|
||||
#: Top-level section name a Modifier node adds to the chained preset document,
|
||||
@@ -3181,6 +3188,7 @@ def _format_prose(
|
||||
presentation: str | None = None, # APPENDED (1.5.0 round 4)
|
||||
feet_visible: bool = True, # APPENDED (1.7.0): see _FEET_OUT_OF_FRAME_SHOTS
|
||||
subject_only: bool = False, # APPENDED (1.8.0): person + outfit, no pose/scene
|
||||
subject_override: str | None = None, # APPENDED (2.1.0): see _SUBJECT_NOUN_KEY
|
||||
) -> str:
|
||||
"""Build a natural-language description from resolved field values.
|
||||
|
||||
@@ -3213,7 +3221,7 @@ def _format_prose(
|
||||
form = species.get("form", "")
|
||||
species_lead = bool(slots) and form in (_FORM_ANTHRO, _FORM_FERAL)
|
||||
subject_noun = _species_subject(species, gender) if species_lead \
|
||||
else _GENDER_NOUN.get(gender, "person")
|
||||
else (subject_override or _GENDER_NOUN.get(gender, "person"))
|
||||
# Anatomy phrases in reading order, plus any extras keyed outside the canon.
|
||||
anatomy = [slots[s] for s in _SPECIES_SLOT_ORDER if slots.get(s)]
|
||||
anatomy += [v for k, v in slots.items() if k not in _SPECIES_SLOT_ORDER and v]
|
||||
@@ -3789,6 +3797,7 @@ def _format_json(
|
||||
covers_face: bool = False, covers_body: bool = False, covers_hair: bool = False,
|
||||
mask_text: str | None = None, anatomy_note: str | None = None, size_scale: str = "",
|
||||
omitted: "list[str] | None" = None,
|
||||
subject_noun: str | None = None,
|
||||
) -> str:
|
||||
"""Build a JSON document: ``_meta`` plus fields nested by group.
|
||||
|
||||
@@ -3859,6 +3868,8 @@ def _format_json(
|
||||
meta["mask"] = mask_text
|
||||
if anatomy_note:
|
||||
meta["anatomy_note"] = anatomy_note
|
||||
if subject_noun:
|
||||
meta["subject"] = subject_noun
|
||||
if size_scale:
|
||||
meta["size_scale"] = size_scale
|
||||
if omitted:
|
||||
@@ -3964,6 +3975,7 @@ def generate_character(
|
||||
widget_locked: frozenset[str] | None = None,
|
||||
mask_text: str | None = None,
|
||||
anatomy_note: str | None = None,
|
||||
subject_noun: str | None = None,
|
||||
with_subject: Literal[False] = False,
|
||||
) -> tuple[str, str]: ...
|
||||
|
||||
@@ -3990,6 +4002,7 @@ def generate_character(
|
||||
widget_locked: frozenset[str] | None = None,
|
||||
mask_text: str | None = None,
|
||||
anatomy_note: str | None = None,
|
||||
subject_noun: str | None = None,
|
||||
with_subject: Literal[True],
|
||||
) -> tuple[str, str, str]: ...
|
||||
|
||||
@@ -4016,6 +4029,7 @@ def generate_character(
|
||||
widget_locked: frozenset[str] | None = None,
|
||||
mask_text: str | None = None,
|
||||
anatomy_note: str | None = None,
|
||||
subject_noun: str | None = None,
|
||||
with_subject: bool,
|
||||
) -> tuple[str, str] | tuple[str, str, str]: ...
|
||||
|
||||
@@ -4045,6 +4059,7 @@ def generate_character(
|
||||
widget_locked: frozenset[str] | None = None,
|
||||
mask_text: str | None = None,
|
||||
anatomy_note: str | None = None,
|
||||
subject_noun: str | None = None,
|
||||
with_subject: bool = False, # APPENDED (1.8.0): also return the subject-only prose
|
||||
) -> tuple[str, str] | tuple[str, str, str]:
|
||||
"""Engine entry point. Returns ``(prose, json_output)``, or
|
||||
@@ -4549,6 +4564,7 @@ def generate_character(
|
||||
prose = _format_prose(prose_fields, gender, cosplay_label, species,
|
||||
hands_visible=not hands_covered, mask_text=mask_text,
|
||||
anatomy_note=anatomy_note, presentation=presentation,
|
||||
subject_override=subject_noun,
|
||||
feet_visible=feet_visible)
|
||||
# Fields a preset or a widget deliberately locked ABSENT. They are stripped from
|
||||
# the group output (``group_fields`` drops "None"), so without recording them the
|
||||
@@ -4561,6 +4577,7 @@ def generate_character(
|
||||
covers_face=covers_face, covers_body=covers_body, covers_hair=covers_hair,
|
||||
mask_text=mask_text,
|
||||
anatomy_note=anatomy_note,
|
||||
subject_noun=subject_noun,
|
||||
# The tier actually in force: the widget overrides a wired character's own,
|
||||
# which is the precedence _scale_class applies a few lines above.
|
||||
size_scale=(size_scale if size_scale != _SIZE_SCALE_AUTO else character_scale),
|
||||
@@ -4572,6 +4589,7 @@ def generate_character(
|
||||
subject = _format_prose(resolved, gender, cosplay_label, species,
|
||||
hands_visible=not hands_covered, mask_text=mask_text,
|
||||
anatomy_note=anatomy_note, presentation=presentation,
|
||||
subject_override=subject_noun,
|
||||
feet_visible=True, subject_only=True)
|
||||
return prose, json_output, subject
|
||||
return prose, json_output
|
||||
@@ -4699,6 +4717,9 @@ def _parse_archetype_json(raw: str) -> dict[str, Any]:
|
||||
head = meta.get("mask")
|
||||
if meta.get("covers_face") and isinstance(head, str) and head:
|
||||
flat[_MASK_KEY] = head
|
||||
noun = meta.get("subject")
|
||||
if isinstance(noun, str) and noun:
|
||||
flat[_SUBJECT_NOUN_KEY] = noun
|
||||
# NOT gated on covers_face: an anatomy note describes the body, not the
|
||||
# head, and every entry it exists for is face-visible. See
|
||||
# :data:`_ANATOMY_NOTE_KEY`.
|
||||
@@ -4778,6 +4799,7 @@ def run_identity_forge(kwargs: dict[str, Any]) -> tuple[str, str, str]:
|
||||
covers_face = bool(archetype.pop(_COVERS_FACE_KEY, None))
|
||||
mask_text = archetype.pop(_MASK_KEY, None)
|
||||
anatomy_note = archetype.pop(_ANATOMY_NOTE_KEY, None)
|
||||
subject_noun = archetype.pop(_SUBJECT_NOUN_KEY, None)
|
||||
covers_body = bool(archetype.pop(_COVERS_BODY_KEY, None))
|
||||
covers_hair = bool(archetype.pop(_COVERS_HAIR_KEY, None))
|
||||
character_scale = archetype.pop(_SCALE_TIER_KEY, "") or ""
|
||||
@@ -4861,6 +4883,7 @@ def run_identity_forge(kwargs: dict[str, Any]) -> tuple[str, str, str]:
|
||||
widget_locked=widget_locked,
|
||||
mask_text=mask_text,
|
||||
anatomy_note=anatomy_note,
|
||||
subject_noun=subject_noun,
|
||||
with_subject=True,
|
||||
)
|
||||
return prose, json_output, subject
|
||||
|
||||
@@ -500,7 +500,11 @@ def _pick_look(entry: dict, rng: random.Random) -> dict:
|
||||
return entry
|
||||
pool: list[dict] = [{"costume": entry["costume"]}]
|
||||
pool += [alt if isinstance(alt, dict) else {"costume": alt} for alt in alternates]
|
||||
chosen = rng.choice(pool)
|
||||
# Optional ``costume_weights`` (2.1.0), one per look in pool order, leans the
|
||||
# roll toward the best-known look. Unweighted entries keep rng.choice, so their
|
||||
# seeds do not move.
|
||||
weights = entry.get("costume_weights")
|
||||
chosen = rng.choices(pool, weights=weights)[0] if weights else rng.choice(pool)
|
||||
merged = dict(entry)
|
||||
merged.pop("costumes", None)
|
||||
# Overlay only the keys the chosen look actually sets; absent keys fall back to the
|
||||
@@ -800,6 +804,11 @@ def build_cosplayer_json(
|
||||
# NOT clear it -- it is not part of the head.
|
||||
if not feral and entry.get("anatomy_note"):
|
||||
document["_meta"]["anatomy_note"] = entry["anatomy_note"]
|
||||
# The lead noun for a non-human head ("pig-headed humanoid alien", "one-eyed
|
||||
# cyclops woman"), only while that head is shown - dropped when unmasking reveals
|
||||
# the person underneath. See ``_SUBJECT_NOUN_KEY`` in identity_forge.py.
|
||||
if not feral and not unmask and entry.get("subject"):
|
||||
document["_meta"]["subject"] = entry["subject"]
|
||||
size_scale = entry.get("size_scale", "")
|
||||
if size_scale:
|
||||
document["_meta"]["size_scale"] = size_scale
|
||||
@@ -963,7 +972,8 @@ if _COMFY_AVAILABLE:
|
||||
"randomized face/hair. 'Unmask (show face)' drops the "
|
||||
"mask so the randomized head/hair shows under the suit "
|
||||
"(a helmet-off look). No effect on face-visible "
|
||||
"characters.",
|
||||
"characters, or on beasts and non-humanoid droids "
|
||||
"(R2-D2, a Dalek), which have no person inside.",
|
||||
),
|
||||
io.Combo.Input(
|
||||
"props",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "comfyui-identity-forge"
|
||||
version = "2.0.0"
|
||||
version = "2.1.0"
|
||||
description = "Create believable, coherent people, cosplayers and creatures from dropdowns - no prompt engineering required. A constraint engine keeps every trait sensible and a seed makes any result reproducible. Cosplay characters carry a hand-written, canon-checked costume description - garments, colours, masks, markings, signature props - that renders on any checkpoint, and are searchable from an in-node picker with trait facets and thumbnail previews. A Turnaround node builds a one-queue reference sheet: front, three-quarter, profile and back views of the same resolved character. Public galleries showcase every entry with a sample render and its exact workflow. Optional preset layers add themed archetypes, creature/monster/alien hybridization, per-element style modifiers, and a save/load character vault."
|
||||
license = { text = "MIT" }
|
||||
readme = "README.md"
|
||||
|
||||
@@ -2589,6 +2589,7 @@
|
||||
"Arbiter",
|
||||
"Arcanine",
|
||||
"Archon",
|
||||
"Arcueid Brunestud",
|
||||
"Ariel",
|
||||
"Arishem",
|
||||
"Arisia Rrab",
|
||||
@@ -2647,6 +2648,7 @@
|
||||
"Barbarella",
|
||||
"Barbie",
|
||||
"Barley Lightfoot",
|
||||
"Barnaby Brooks Jr.",
|
||||
"Barney Rubble",
|
||||
"Baron Humbert von Gikkingen",
|
||||
"Baron Zemo",
|
||||
@@ -2702,11 +2704,13 @@
|
||||
"Black Noir",
|
||||
"Black Orchid",
|
||||
"Black Panther",
|
||||
"Black Rock Shooter",
|
||||
"Black Widow",
|
||||
"Blackfire",
|
||||
"Blackheart",
|
||||
"Blade",
|
||||
"Blaidd the Half-Wolf",
|
||||
"Blake Belladonna",
|
||||
"Blanka",
|
||||
"Blink",
|
||||
"Bloodshot",
|
||||
@@ -2758,6 +2762,7 @@
|
||||
"Buttercup",
|
||||
"Buzz Lightyear",
|
||||
"Byakuya Kuchiki",
|
||||
"Byleth",
|
||||
"C-3PO",
|
||||
"C.C.",
|
||||
"Cable",
|
||||
@@ -2801,6 +2806,7 @@
|
||||
"Cassie Cage",
|
||||
"Cat Noir",
|
||||
"Catbus",
|
||||
"Catra",
|
||||
"Catwoman",
|
||||
"Cecil Harvey",
|
||||
"Celes Chere",
|
||||
@@ -2828,6 +2834,7 @@
|
||||
"Chester Cheetah",
|
||||
"Chewbacca",
|
||||
"Chi-Chi",
|
||||
"Chiaki Nanami",
|
||||
"Chiana",
|
||||
"Chief Chirpa",
|
||||
"Chizuru Mizuhara",
|
||||
@@ -2845,10 +2852,13 @@
|
||||
"Circe",
|
||||
"Ciri",
|
||||
"Claire Redfield",
|
||||
"Claptrap",
|
||||
"Cloud Strife",
|
||||
"Coach Brunt",
|
||||
"Cobra Commander",
|
||||
"Codsworth",
|
||||
"Cody Travers",
|
||||
"Cogsworth",
|
||||
"Colonel Sanders",
|
||||
"Colossus",
|
||||
"Columbia",
|
||||
@@ -2890,6 +2900,7 @@
|
||||
"Daisy",
|
||||
"Daisy Duck",
|
||||
"Daki",
|
||||
"Dalek",
|
||||
"Danny Phantom",
|
||||
"Dante",
|
||||
"Daphne Blake",
|
||||
@@ -2955,6 +2966,7 @@
|
||||
"Doctor Octopus",
|
||||
"Doctor Strange",
|
||||
"Domino",
|
||||
"Domo-kun",
|
||||
"Donald Duck",
|
||||
"Donatello",
|
||||
"Donkey Kong",
|
||||
@@ -2964,6 +2976,7 @@
|
||||
"Doom Slayer",
|
||||
"Doomfist",
|
||||
"Dora the Explorer",
|
||||
"Doraemon",
|
||||
"Dorothy Gale",
|
||||
"Dove",
|
||||
"Dowager Empress Marie",
|
||||
@@ -2993,6 +3006,7 @@
|
||||
"E. Honda",
|
||||
"EVE (Stellar Blade)",
|
||||
"Eda Clawthorne",
|
||||
"Edelgard",
|
||||
"Edna Mode",
|
||||
"Edward Elric",
|
||||
"Edward Scissorhands",
|
||||
@@ -3055,9 +3069,11 @@
|
||||
"Fairy Godmother",
|
||||
"Faith Connors",
|
||||
"Falcon",
|
||||
"Falin Touden",
|
||||
"Falkor",
|
||||
"Fantastic Mr Fox",
|
||||
"Fatality",
|
||||
"Fate Testarossa",
|
||||
"Fawkes",
|
||||
"Faye Valentine",
|
||||
"Felicia",
|
||||
@@ -3114,6 +3130,7 @@
|
||||
"Gandalf",
|
||||
"Ganondorf",
|
||||
"Ganyu",
|
||||
"Gardevoir",
|
||||
"Gargamel",
|
||||
"Gargos",
|
||||
"Garnet",
|
||||
@@ -3150,6 +3167,7 @@
|
||||
"Giyu Tomioka",
|
||||
"Glacius",
|
||||
"Glinda",
|
||||
"Gloria (Pokemon)",
|
||||
"Glory",
|
||||
"Go Go Tomago",
|
||||
"Godzilla",
|
||||
@@ -3227,9 +3245,11 @@
|
||||
"Helga Pataki",
|
||||
"Hellboy",
|
||||
"Hellcat",
|
||||
"Hello Kitty",
|
||||
"Hera Syndulla",
|
||||
"Hercules",
|
||||
"Hermione Granger",
|
||||
"Hilda (Pokemon)",
|
||||
"Himeno",
|
||||
"Himiko Toga",
|
||||
"Himmel",
|
||||
@@ -3287,6 +3307,7 @@
|
||||
"Inuyasha",
|
||||
"Invincible",
|
||||
"Invisible Woman",
|
||||
"Iono",
|
||||
"Iori Yagami",
|
||||
"Irelia",
|
||||
"Iris",
|
||||
@@ -3358,6 +3379,7 @@
|
||||
"Joel Miller",
|
||||
"John Constantine",
|
||||
"John Stewart",
|
||||
"Johnny 5",
|
||||
"Johnny Bravo",
|
||||
"Johnny Cage",
|
||||
"Johnny Silverhand",
|
||||
@@ -3367,6 +3389,7 @@
|
||||
"Jolyne Cujoh",
|
||||
"Jon Snow",
|
||||
"Jon Talbain",
|
||||
"Jonathan Joestar",
|
||||
"Joseph Joestar",
|
||||
"Josie McCoy",
|
||||
"Josuke Higashikata",
|
||||
@@ -3417,6 +3440,7 @@
|
||||
"Karin Kanzuki",
|
||||
"Karlach",
|
||||
"Karnak",
|
||||
"Kasane Teto",
|
||||
"Kassandra",
|
||||
"Kasumi",
|
||||
"Katana",
|
||||
@@ -3449,6 +3473,7 @@
|
||||
"King",
|
||||
"King Arthur",
|
||||
"King Bradley",
|
||||
"King Dedede",
|
||||
"King Ghidorah",
|
||||
"King Kong",
|
||||
"King Monkey",
|
||||
@@ -3479,6 +3504,7 @@
|
||||
"Kuiil",
|
||||
"Kung Lao",
|
||||
"Kurapika",
|
||||
"Kuromi",
|
||||
"Kurumi Tokisaki",
|
||||
"Kwame",
|
||||
"Ky Kiske",
|
||||
@@ -3488,6 +3514,7 @@
|
||||
"Kyo Kusanagi",
|
||||
"Kyojuro Rengoku",
|
||||
"Kyoko Sakura",
|
||||
"Kyubey",
|
||||
"L Lawliet",
|
||||
"La Lunatica",
|
||||
"Lady (Devil May Cry)",
|
||||
@@ -3649,6 +3676,7 @@
|
||||
"Marin Kitagawa",
|
||||
"Mario",
|
||||
"Marisa",
|
||||
"Marisa Kirisame",
|
||||
"Marnie",
|
||||
"Maron",
|
||||
"Martian Manhunter",
|
||||
@@ -3658,6 +3686,7 @@
|
||||
"Mary Jane Watson",
|
||||
"Mary Marvel",
|
||||
"Mary Poppins",
|
||||
"Mash Kyrielight",
|
||||
"Master Chief",
|
||||
"Master Roshi",
|
||||
"Maui",
|
||||
@@ -3701,6 +3730,7 @@
|
||||
"Merlin",
|
||||
"Mervyn Pumpkinhead",
|
||||
"Messmer the Impaler",
|
||||
"Meta Knight",
|
||||
"Mewtwo",
|
||||
"Mia Wallace",
|
||||
"Michael Myers",
|
||||
@@ -3759,6 +3789,7 @@
|
||||
"Mona",
|
||||
"Monkey D. Luffy",
|
||||
"Monkey Fist",
|
||||
"Monokuma",
|
||||
"Moogle",
|
||||
"Moon Knight",
|
||||
"Moondragon",
|
||||
@@ -3785,6 +3816,7 @@
|
||||
"Mr. Peanut",
|
||||
"Mr. Spacely",
|
||||
"Mr. Spock",
|
||||
"Mrs. Potts",
|
||||
"Ms. Marvel (Kamala Khan)",
|
||||
"Ms. Marvel (Sharon Ventura)",
|
||||
"Mt. Lady",
|
||||
@@ -3797,6 +3829,7 @@
|
||||
"Mynock",
|
||||
"Mysterio",
|
||||
"Mystique",
|
||||
"Nagito Komaeda",
|
||||
"Nakoruru",
|
||||
"Nami",
|
||||
"Namor",
|
||||
@@ -3807,6 +3840,7 @@
|
||||
"Nancy Downs",
|
||||
"Nancy Drew",
|
||||
"Nani Pelekai",
|
||||
"Nanoha Takamachi",
|
||||
"Naoto Shirogane",
|
||||
"Naruto Uzumaki",
|
||||
"Natalia Kassle",
|
||||
@@ -3846,7 +3880,9 @@
|
||||
"Nobara Kugisaki",
|
||||
"Noctis",
|
||||
"Nocturne",
|
||||
"Noel Vermillion",
|
||||
"Noelle Silva",
|
||||
"Noriaki Kakyoin",
|
||||
"Nosferatu",
|
||||
"Nova (Frankie Raye)",
|
||||
"Nova (Richard Rider)",
|
||||
@@ -3877,6 +3913,7 @@
|
||||
"Orchid",
|
||||
"Origami Tobiichi",
|
||||
"Orihime Inoue",
|
||||
"Orion",
|
||||
"Orko",
|
||||
"Orochimaru",
|
||||
"Other Mother",
|
||||
@@ -3988,6 +4025,7 @@
|
||||
"Rachel Summers",
|
||||
"Rage (Marvel)",
|
||||
"Ragged Robin",
|
||||
"Ragna the Bloodedge",
|
||||
"Ragyo Kiryuin",
|
||||
"Raiden",
|
||||
"Raiden Shogun",
|
||||
@@ -4019,6 +4057,7 @@
|
||||
"Red Skull",
|
||||
"Red Sonja",
|
||||
"Rei Ayanami",
|
||||
"Reimu Hakurei",
|
||||
"Reinhardt",
|
||||
"Rem",
|
||||
"Rena Rouge",
|
||||
@@ -4077,6 +4116,7 @@
|
||||
"Roy Mustang",
|
||||
"Rubeus Hagrid",
|
||||
"Ruby Rhod",
|
||||
"Ruby Rose",
|
||||
"Rukia Kuchiki",
|
||||
"Rumi",
|
||||
"Rydia",
|
||||
@@ -4109,6 +4149,7 @@
|
||||
"Saitama",
|
||||
"Sakura Haruno",
|
||||
"Sakura Kasugano",
|
||||
"Sakuya Izayoi",
|
||||
"Salaak",
|
||||
"Salacious Crumb",
|
||||
"Salama",
|
||||
@@ -4158,6 +4199,7 @@
|
||||
"Selene (Underworld)",
|
||||
"Selene Gallio (Black Queen)",
|
||||
"Selvaria Bles",
|
||||
"Senshi",
|
||||
"Senua",
|
||||
"Seong Gi-hun",
|
||||
"Seong Mi-na",
|
||||
@@ -4165,6 +4207,7 @@
|
||||
"Seraphine",
|
||||
"Serena",
|
||||
"Sersi",
|
||||
"Serval (Kemono Friends)",
|
||||
"Sesshomaru",
|
||||
"Sett",
|
||||
"Seven of Nine",
|
||||
@@ -4176,6 +4219,7 @@
|
||||
"Shang Tsung",
|
||||
"Shanks",
|
||||
"Shanna the She-Devil",
|
||||
"Shantae",
|
||||
"Shao Kahn",
|
||||
"Sharon Carter",
|
||||
"Shazam",
|
||||
@@ -4227,6 +4271,7 @@
|
||||
"Snake Eyes",
|
||||
"Snake Plissken",
|
||||
"Sniper (Team Fortress 2)",
|
||||
"Snoopy",
|
||||
"Snorlax",
|
||||
"Snow White",
|
||||
"Snowbird",
|
||||
@@ -4303,6 +4348,7 @@
|
||||
"Subaru Natsuki",
|
||||
"Suki",
|
||||
"Sukuna",
|
||||
"Suletta Mercury",
|
||||
"Sumire Yoshizawa",
|
||||
"Summer Smith",
|
||||
"Sunfire (Exiles)",
|
||||
@@ -4324,6 +4370,7 @@
|
||||
"Tala",
|
||||
"Tali'Zorah",
|
||||
"Talia al Ghul",
|
||||
"Tamamo no Mae",
|
||||
"Tanjiro Kamado",
|
||||
"Tank Girl",
|
||||
"Tanya",
|
||||
@@ -4413,11 +4460,13 @@
|
||||
"Tomar-Re",
|
||||
"Tomura Shigaraki",
|
||||
"Tony Stark",
|
||||
"Tony Tony Chopper",
|
||||
"Tony the Tiger",
|
||||
"Toothless",
|
||||
"Topaz",
|
||||
"Toph Beifong",
|
||||
"Torbjorn",
|
||||
"Toriel",
|
||||
"Toshiro Hitsugaya",
|
||||
"Totoro",
|
||||
"Touka Kirishima",
|
||||
@@ -4448,6 +4497,7 @@
|
||||
"Ultron",
|
||||
"Ultros",
|
||||
"Uncle Fester",
|
||||
"Undyne",
|
||||
"Unkar Plutt",
|
||||
"Urbosa",
|
||||
"Urd",
|
||||
@@ -4491,6 +4541,7 @@
|
||||
"Von Lycaon",
|
||||
"Vulcan",
|
||||
"Vulture",
|
||||
"WALL-E",
|
||||
"Waluigi",
|
||||
"Wampa",
|
||||
"Wanderer (Genshin Impact)",
|
||||
@@ -4502,6 +4553,7 @@
|
||||
"Wedge Antilles",
|
||||
"Wednesday Addams",
|
||||
"Weeping Angel",
|
||||
"Weiss Schnee",
|
||||
"Wendy",
|
||||
"Wendy Darling",
|
||||
"Wheeler",
|
||||
@@ -4512,6 +4564,7 @@
|
||||
"Wicked Witch of the West",
|
||||
"Wicket the Ewok",
|
||||
"Widowmaker",
|
||||
"Wild Tiger",
|
||||
"Wildcat",
|
||||
"Wile E. Coyote",
|
||||
"Will Turner",
|
||||
@@ -4539,6 +4592,7 @@
|
||||
"Yamada Asaemon Sagiri",
|
||||
"Yamato (One Piece)",
|
||||
"Yami Yugi",
|
||||
"Yang Xiao Long",
|
||||
"Yasuo",
|
||||
"Yelena Belova",
|
||||
"Yennefer of Vengerberg",
|
||||
@@ -4554,6 +4608,7 @@
|
||||
"Yoshino",
|
||||
"Yuffie Kisaragi",
|
||||
"Yuji Itadori",
|
||||
"Yukari Yakumo",
|
||||
"Yumeko Jabami",
|
||||
"Yuna",
|
||||
"Yunara",
|
||||
@@ -4637,6 +4692,7 @@
|
||||
"Franchise: Guilty Gear",
|
||||
"Franchise: Harry Potter",
|
||||
"Franchise: Invincible",
|
||||
"Franchise: JoJo's Bizarre Adventure",
|
||||
"Franchise: Killer Instinct",
|
||||
"Franchise: League of Legends",
|
||||
"Franchise: Looney Tunes",
|
||||
|
||||
@@ -260,6 +260,27 @@ test("the trait facet composes with both the tab and the query", async () => {
|
||||
}
|
||||
});
|
||||
|
||||
test("the gender filter keeps that gender plus entries that suit either", async () => {
|
||||
resetDom();
|
||||
__testing.__resetForTests();
|
||||
const stub = installFetchStub(rosterOkHandler);
|
||||
try {
|
||||
const picker = await openPicker();
|
||||
picker.activeTab = "__all__";
|
||||
picker.renderGrid();
|
||||
const all = picker.visible.length;
|
||||
picker.gender = "Male";
|
||||
picker.renderGrid();
|
||||
assert.ok(picker.visible.length > 0 && picker.visible.length < all);
|
||||
assert.ok(picker.visible.every((e) => !e.gender || e.gender === "Any" || e.gender === "Male"),
|
||||
"no Female-only entry under Male");
|
||||
assert.ok(picker.visible.some((e) => e.kind === "creature"), "genderless creatures stay");
|
||||
picker.close();
|
||||
} finally {
|
||||
stub.restore();
|
||||
}
|
||||
});
|
||||
|
||||
test("while filtering, every tab shows its own match count so other kinds stay discoverable", async () => {
|
||||
resetDom();
|
||||
__testing.__resetForTests();
|
||||
|
||||
@@ -27,7 +27,7 @@ from data.cosplayers import get_cosplayer_names
|
||||
from nodes.identity_forge import (
|
||||
generate_character, _parse_archetype_json, _COSPLAY_LABEL_KEY, _COVERS_FACE_KEY,
|
||||
_COVERS_BODY_KEY, _COVERS_HAIR_KEY, _MASK_KEY, _SCALE_TIER_KEY, _CONTROL_FIELDS,
|
||||
_SPECIES_KEY, _ANATOMY_NOTE_KEY,
|
||||
_SPECIES_KEY, _ANATOMY_NOTE_KEY, _SUBJECT_NOUN_KEY,
|
||||
)
|
||||
from nodes.identity_forge_cosplayer import (
|
||||
build_cosplayer_json, _MASK_DEFAULT, _MASK_OFF,
|
||||
@@ -55,6 +55,7 @@ def render(
|
||||
# entry needs (0.97.0). A preview that skips a forwarded key misreports the very
|
||||
# thing you opened it to check.
|
||||
anatomy_note = flat.pop(_ANATOMY_NOTE_KEY, None)
|
||||
subject_noun = flat.pop(_SUBJECT_NOUN_KEY, None) # same trap again (2.1.0)
|
||||
covers_body = bool(flat.pop(_COVERS_BODY_KEY, None))
|
||||
covers_hair = bool(flat.pop(_COVERS_HAIR_KEY, None))
|
||||
# The entry's own size_scale tier. The node pops and forwards this; the preview
|
||||
@@ -76,7 +77,7 @@ def render(
|
||||
seed, resolved_gender, locked, cosplay_label=label, covers_face=covers_face,
|
||||
covers_body=covers_body, covers_hair=covers_hair, species=species,
|
||||
character_scale=character_scale, mask_text=mask_text,
|
||||
anatomy_note=anatomy_note,
|
||||
anatomy_note=anatomy_note, subject_noun=subject_noun,
|
||||
)
|
||||
|
||||
|
||||
|
||||
+72
-19
@@ -60,6 +60,7 @@ from nodes.identity_forge import (
|
||||
_COSPLAY_LABEL_KEY, _COVERS_FACE_KEY, _COVERS_BODY_KEY, _COVERS_HAIR_KEY,
|
||||
_MASK_KEY,
|
||||
_ANATOMY_NOTE_KEY,
|
||||
_SUBJECT_NOUN_KEY,
|
||||
_PRENOMINAL_HEIGHTS,
|
||||
_COMPOSITIONS_TOO_TIGHT_FOR_GIANT,
|
||||
_COMPOSITIONS_TOO_WIDE_FOR_TINY,
|
||||
@@ -6066,24 +6067,24 @@ class RandomPoolTests(unittest.TestCase):
|
||||
# at 1.1.0 (Task 5 roster pass, 1977 -> 1994 cosplayers) and again at
|
||||
# 1.2.0 (1994 -> 1999), again at 1.3.0 (1999 -> 2023) and again at
|
||||
# 1.4.0 (2023 -> 2052), at 1.5.0 (2052 -> 2057) and at 1.5.1 (2057 -> 2073) and at 1.8.0 (new
|
||||
# cosplayers, one folded duplicate), at 1.9.0 and at 1.11.0 to the new ground
|
||||
# truth. It is expected to need refreshing every time the roster grows.
|
||||
# cosplayers, one folded duplicate), at 1.9.0, at 1.11.0 and at 2.1.0 to the new
|
||||
# ground truth. It is expected to need refreshing every time the roster grows.
|
||||
expected = {
|
||||
(_RANDOM_ANY, 0): 'Roy Batty',
|
||||
(_RANDOM_ANY, 1): 'Eureka',
|
||||
(_RANDOM_ANY, 2): 'Bowser',
|
||||
(_RANDOM_ANY, 3): 'Kraven the Hunter',
|
||||
(_RANDOM_ANY, 4): 'Kokoro',
|
||||
(_RANDOM_FEMALE, 0): 'Snow White',
|
||||
(_RANDOM_FEMALE, 1): 'Captain Carter',
|
||||
(_RANDOM_FEMALE, 2): 'Widowmaker',
|
||||
(_RANDOM_FEMALE, 3): 'Elvira',
|
||||
(_RANDOM_FEMALE, 4): 'Elphelt Valentine',
|
||||
(_RANDOM_MALE, 0): 'Roger Rabbit',
|
||||
(_RANDOM_MALE, 1): 'Eevee',
|
||||
(_RANDOM_MALE, 2): 'Brainiac 5',
|
||||
(_RANDOM_MALE, 3): 'Jolly Green Giant',
|
||||
(_RANDOM_MALE, 4): 'Johnny Cage',
|
||||
(_RANDOM_ANY, 0): 'Rick Flag',
|
||||
(_RANDOM_ANY, 1): 'Eowyn',
|
||||
(_RANDOM_ANY, 2): 'Borg Drone',
|
||||
(_RANDOM_ANY, 3): 'King',
|
||||
(_RANDOM_ANY, 4): 'Kilik',
|
||||
(_RANDOM_FEMALE, 0): 'Rin Tohsaka',
|
||||
(_RANDOM_FEMALE, 1): 'Fire',
|
||||
(_RANDOM_FEMALE, 2): 'Bloody Mary',
|
||||
(_RANDOM_FEMALE, 3): 'Lexa',
|
||||
(_RANDOM_FEMALE, 4): 'Lei Fang',
|
||||
(_RANDOM_MALE, 0): 'Rhino',
|
||||
(_RANDOM_MALE, 1): 'Duke',
|
||||
(_RANDOM_MALE, 2): 'Brainiac',
|
||||
(_RANDOM_MALE, 3): 'Joel Miller',
|
||||
(_RANDOM_MALE, 4): 'Jin Kazama',
|
||||
}
|
||||
for (character, seed), name in expected.items():
|
||||
doc = json.loads(build_cosplayer_json(character, seed))
|
||||
@@ -7945,6 +7946,7 @@ def _render_cosplayer(character, seed, look_level="Costume only",
|
||||
covers_hair = bool(flat.pop(_COVERS_HAIR_KEY, None))
|
||||
mask_text = flat.pop(_MASK_KEY, None)
|
||||
anatomy_note = flat.pop(_ANATOMY_NOTE_KEY, None)
|
||||
subject_noun = flat.pop(_SUBJECT_NOUN_KEY, None)
|
||||
scale = flat.pop(_SCALE_TIER_KEY, "") or ""
|
||||
locked = {k: v for k, v in flat.items()
|
||||
if k not in _CONTROL_FIELDS and not k.startswith("__")}
|
||||
@@ -7952,7 +7954,7 @@ def _render_cosplayer(character, seed, look_level="Costume only",
|
||||
seed, gender, locked, cosplay_label=label, species=species,
|
||||
covers_face=covers_face, covers_body=covers_body, covers_hair=covers_hair,
|
||||
character_scale=scale, mask_text=mask_text,
|
||||
anatomy_note=anatomy_note)
|
||||
anatomy_note=anatomy_note, subject_noun=subject_noun)
|
||||
|
||||
|
||||
class FeralBodyPlanTests(unittest.TestCase):
|
||||
@@ -8021,7 +8023,7 @@ class FeralBodyPlanTests(unittest.TestCase):
|
||||
pose, r"^(standing|sitting|lying|moving|at rest|sprawled|propped|"
|
||||
r"perched|coiled|hovering|gliding|flying|swimming|walking|"
|
||||
r"crouched|curled|settled|rearing|padding|prowling|floating|"
|
||||
r"drifting|resting)\b",
|
||||
r"drifting|resting|rolling|plodding)\b",
|
||||
f"{pose!r} does not complete 'He is ...'")
|
||||
|
||||
def test_the_species_group_is_built_from_mask_and_costume(self):
|
||||
@@ -8409,6 +8411,57 @@ class AnatomyNoteTests(unittest.TestCase):
|
||||
if isinstance(entry, dict) and entry.get("body_plan") == "feral":
|
||||
self.assertIsNone(entry.get("anatomy_note"), name)
|
||||
|
||||
|
||||
class SubjectNounTests(unittest.TestCase):
|
||||
"""``subject`` replaces "man"/"woman" in the lead phrase (2.1.0).
|
||||
|
||||
A non-human face voiced only in a later sentence lost to "a short man" on every
|
||||
Tellarite render; leading with "a short pig-headed humanoid alien" kept the snout.
|
||||
"""
|
||||
|
||||
def test_it_leads_in_place_of_the_gender_noun(self):
|
||||
prose, _ = _render_cosplayer("Tellarite", 5)
|
||||
noun = COSPLAYERS["Tellarite"]["subject"]
|
||||
self.assertIn(noun, prose.split(".")[0])
|
||||
self.assertNotRegex(prose.split(".")[0], r"\bman\b")
|
||||
|
||||
def test_it_also_reaches_a_maskless_face(self):
|
||||
prose, _ = _render_cosplayer("Leela", 5, gender="Female")
|
||||
self.assertIn(COSPLAYERS["Leela"]["subject"], prose.split(".")[0])
|
||||
|
||||
def test_unmasking_restores_the_gender_noun(self):
|
||||
# The person underneath shows, so the alien noun must not lead.
|
||||
prose, _ = _render_cosplayer("Tellarite", 5, mask_mode=_MASK_OFF)
|
||||
self.assertNotIn(COSPLAYERS["Tellarite"]["subject"], prose)
|
||||
|
||||
def test_it_survives_the_json_round_trip(self):
|
||||
# The vault reloads a saved character from its JSON output.
|
||||
_, json_output = _render_cosplayer("Tellarite", 5)
|
||||
flat = _parse_archetype_json(json_output)
|
||||
self.assertEqual(flat.get(_SUBJECT_NOUN_KEY), COSPLAYERS["Tellarite"]["subject"])
|
||||
|
||||
def test_a_downstream_costume_drops_it(self):
|
||||
upstream = build_cosplayer_json("Tellarite", 0)
|
||||
downstream = build_cosplayer_json("Hermione Granger", 0)
|
||||
merged = json.loads(merge_preset_documents(upstream, downstream))
|
||||
self.assertNotIn("subject", merged.get("_meta", {}))
|
||||
|
||||
def test_costume_weights_lean_the_look_roll(self):
|
||||
# Orion: TOS dancer 2, Gaila's cadet uniform 1.
|
||||
cadet = sum("cadet" in build_cosplayer_json("Orion", seed) for seed in range(300))
|
||||
self.assertTrue(60 <= cadet <= 140, cadet)
|
||||
|
||||
def test_an_unweighted_entry_keeps_its_uniform_pick(self):
|
||||
# costume_weights must not move any existing entry's seeds: without the key
|
||||
# _pick_look still makes exactly the one rng.choice call it always made.
|
||||
import random
|
||||
from nodes.identity_forge_cosplayer import _pick_look
|
||||
entry = {"costume": "a", "costumes": ["b", "c"]}
|
||||
for seed in range(50):
|
||||
expected = random.Random(seed).choice(["a", "b", "c"])
|
||||
self.assertEqual(_pick_look(entry, random.Random(seed))["costume"], expected)
|
||||
|
||||
|
||||
class MaleAccessoryTrimTests(unittest.TestCase):
|
||||
"""``accessories`` and ``brooch`` get masculine trims (1.4.0).
|
||||
|
||||
|
||||
+30
-1
@@ -841,6 +841,33 @@ def validate() -> list[str]:
|
||||
elif not entry.get("costume") or body_plan == "feral":
|
||||
errors.append(f"cosplayer '{name}': 'costume_back' needs a worn "
|
||||
f"'costume' to replace")
|
||||
# --- subject (2.1.0) ------------------------------------------
|
||||
# The lead noun for a non-human head ("pig-headed humanoid alien"), voiced
|
||||
# as "a short <subject> with a stocky build". A feral entry already leads
|
||||
# with its own ``creature_of``.
|
||||
noun = entry.get("subject")
|
||||
if noun is not None:
|
||||
if not isinstance(noun, str) or not noun.strip():
|
||||
errors.append(f"cosplayer '{name}': 'subject' must be a non-empty string")
|
||||
elif body_plan == "feral":
|
||||
errors.append(f"cosplayer '{name}': 'subject' is not valid on a feral "
|
||||
f"entry (it leads with 'creature_of')")
|
||||
elif (noun != noun.strip() or noun.endswith((".", ","))
|
||||
or noun.split()[0].lower() in ("a", "an", "the")):
|
||||
errors.append(f"cosplayer '{name}': 'subject' is a bare noun phrase (no "
|
||||
f"article, no trailing punctuation): {noun!r}")
|
||||
# --- costume_weights (2.1.0) ------------------------------------
|
||||
# One positive weight per look, canonical first, so the best-known look can
|
||||
# lead (Orion: the TOS dancer over Gaila's cadet uniform).
|
||||
weights = entry.get("costume_weights")
|
||||
if weights is not None:
|
||||
looks = 1 + len(entry.get("costumes") or [])
|
||||
if (not isinstance(weights, list) or len(weights) != looks
|
||||
or not all(isinstance(w, (int, float)) and not isinstance(w, bool)
|
||||
and w > 0 for w in weights)):
|
||||
errors.append(f"cosplayer '{name}': 'costume_weights' needs one positive "
|
||||
f"number per look ({looks}: the canonical costume, then "
|
||||
f"each 'costumes' alternate)")
|
||||
anatomy = entry.get("anatomy")
|
||||
if anatomy is not None:
|
||||
if not isinstance(anatomy, dict) or not anatomy:
|
||||
@@ -863,7 +890,9 @@ def validate() -> list[str]:
|
||||
errors.append(f"cosplayer '{name}': 'poses' must be a non-empty list of "
|
||||
f"non-empty strings")
|
||||
creature_class = entry.get("creature_class")
|
||||
if creature_class is not None and creature_class not in CREATURE_CLASSES:
|
||||
# "Machines" is cosplay-only (2.1.0): a named droid has no generic creature to
|
||||
# share a class with, and the class only decides the "monstrous" adjective.
|
||||
if creature_class is not None and creature_class not in (*CREATURE_CLASSES, "Machines"):
|
||||
errors.append(f"cosplayer '{name}': creature_class {creature_class!r} is not "
|
||||
f"one of {list(CREATURE_CLASSES)}")
|
||||
# Required on a feral entry, for the same reason ``creature_of`` is: the node
|
||||
|
||||
Reference in New Issue
Block a user