[GH-ISSUE #8506] [Feature]: Let greetings use the player's onboarding answers #8380

Closed
opened 2026-11-07 16:42:36 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ylli-selmani on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8506

Originally assigned to: @ylli-selmani on GitHub.

What problem does this solve?

A card's greeting can't use the player's onboarding answers, which limits what authors can write. "Ah, so you are a {{class}}" isn't possible.

  • Character questions are saved as chat variables. The model reads them, but the chat bubble doesn't, so {{relationshipToUser}} in a greeting shows as written. #7439 deferred this on purpose, and the Character Editor warns authors.
  • Persona questions are written into the new persona as plain text, so nothing can read them afterwards.

Proposed solution

  • Chat variables reach message display, with the same precedence as the prompt (preset variables first). The bubble then shows what the model reads.
  • Persona answers are written into the card's greetings when a persona is created in the new chat wizard. This is the same step that fills in the persona template: Ah, so you are a {{class}} becomes Ah, so you are a Ranger in the chat's first message, and alternate greetings become its swipes. It only applies to the card that asked the questions, and only if the chat still uses that persona.
  • The greeting dialog's preview shows the answers, highlighted like the persona review.
  • The Character Editor warning changes to match: a greeting using a persona question shows the tag when the player didn't create that persona in the wizard.

Alternatives considered

Saving persona answers as chat variables. Rejected: it adds a pile of variables for one greeting, and they drift from the persona, so changing a class would mean changing it in two places.

Swapping the answers in at render. Rejected: it's lost on reload, and the model wouldn't see them.

Additional context

Limit: a player using an existing persona, or Quick Start, has no answers to use, so persona tags stay as written.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @ylli-selmani on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8506 Originally assigned to: @ylli-selmani on GitHub. ## What problem does this solve? A card's greeting can't use the player's onboarding answers, which limits what authors can write. "Ah, so you are a {{class}}" isn't possible. - **Character questions** are saved as chat variables. The model reads them, but the chat bubble doesn't, so `{{relationshipToUser}}` in a greeting shows as written. #7439 deferred this on purpose, and the Character Editor warns authors. - **Persona questions** are written into the new persona as plain text, so nothing can read them afterwards. ## Proposed solution - **Chat variables reach message display**, with the same precedence as the prompt (preset variables first). The bubble then shows what the model reads. - **Persona answers are written into the card's greetings when a persona is created in the new chat wizard.** This is the same step that fills in the persona template: `Ah, so you are a {{class}}` becomes `Ah, so you are a Ranger` in the chat's first message, and alternate greetings become its swipes. It only applies to the card that asked the questions, and only if the chat still uses that persona. - **The greeting dialog's preview** shows the answers, highlighted like the persona review. - **The Character Editor warning** changes to match: a greeting using a persona question shows the tag when the player didn't create that persona in the wizard. ## Alternatives considered **Saving persona answers as chat variables.** Rejected: it adds a pile of variables for one greeting, and they drift from the persona, so changing a class would mean changing it in two places. **Swapping the answers in at render.** Rejected: it's lost on reload, and the model wouldn't see them. ## Additional context Limit: a player using an existing persona, or Quick Start, has no answers to use, so persona tags stay as written. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8380
No description provided.