Skip to content

Stock character create: its 24 verbs, state 5 and the booth preview - #1079

Merged
samwhosung merged 8 commits into
mainfrom
sess/gluecreate
Oct 12, 2026
Merged

samwhosung merged 8 commits into
mainfrom
sess/gluecreate

Conversation

@samwhosung

Copy link
Copy Markdown
Owner

The stock character create screen had none of its 24 verbs.

They now follow table 0x8380f8:

  • the reset draws sex, race, then the five customizations, with class 1 (0x470900);
  • a race change redraws and takes the old list's first class (0x470cf0);
  • the cycle lands on an end rather than wrapping by modulo (0x470f80);
  • GetRandomName builds names from NameGen trigrams (0x475480);
  • CreateCharacter checks the name (0x4711e2), then shows CHAR_CREATE_IN_PROGRESS and sends CMSG_CHAR_CREATE in screen state 5.
    Success fires SELECT_LAST_CHARACTER and returns to the select; a refusal shows OKAY with its text. The preview stands in the glue booth.

Hair styles and each style's colours now come from CharSections (0x47a3e0, 0x47a400), so an Orc female has 8 styles. A NameGen that fails to load empties only the random name.

Tests cover each verb, the wire and the create flow end to end.

Part of #856
Fixes #1073

🤖 Generated with Claude Code

🤖 Generated with Claude Code

samwhosung and others added 8 commits October 13, 2026 03:11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes #1073

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@samwhosung
samwhosung merged commit 13b7bb5 into main Oct 12, 2026
@samwhosung
samwhosung deleted the sess/gluecreate branch October 12, 2026 20:23
@hashed-person

hashed-person commented Oct 12, 2026 •

Copy link
Copy Markdown

Text in faction/race/class information still goes on top of icons, which is not reference behavior. And buttons have improper size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Orc female gets 7 hair styles at create; 1.12.1 counts 8 from CharSections

2 participants