Skip to content

fix: important dialog infos are never an empty choice - the NPC says them one after another - #538

Merged
JaXt0r merged 1 commit into
developfrom
fix/important-infos-no-choice
Nov 22, 2026
Merged

JaXt0r merged 1 commit into
developfrom
fix/important-infos-no-choice

Conversation

@BoroBongo

Copy link
Copy Markdown
Contributor

What

Important dialog infos (the ones an NPC starts by itself, without a description) are no longer listed as empty
choices. Like the engine, the NPC says them one after another: after one important info ends, the next available one
starts by itself, not only when the dialog opens.

  • DialogService.StartDialog: important infos are skipped when the choice list is built (log: [Dialog] <npc>: important info <index> (nr <nr>) is not a choice).
  • The next important info also starts after an info ended (log: [Dialog] <npc>: next important info <index> (nr <nr>) starts by itself). A permanent important info only starts when the dialog opens, otherwise it would
    repeat forever. Non-permanent ones are marked as told before they run, so the chain ends.
  • Important infos were already checked in their nr order (lowest first) on develop.

Why

Playtest 2026-11-22 (G2 Night of the Raven, PCVR build from develop): NPCs showed empty dialog options. The fix
existed on the experimental branch (6205310 "important dialog infos are never a choice"), but never reached
main/develop. No issue exists for it.

How to test manually

  • G2: talk to Hanna (hotel in Khorinis). After her greeting her next important info starts by itself, there is
    no empty option in the list.
  • G2: talk to a few NPCs in Khorinis and on Onar's farm - no empty options; Uber Console (Dialog) shows
    "is not a choice" lines for their important infos.
  • G1: talk to Baal Cadar in the Sect Camp - his important talk starts, no empty option, no NoTalk loop.
  • G1/G2: an NPC with a permanent important info (e.g. a guard who stops you) - it plays once per dialog, then the
    normal choices show.

Save/load

No new state. Told infos are saved and loaded as before.

Known gaps / follow-ups

  • Compiled in the Editor together with the other fixes from the same playtest (EditMode tests 87/87), not play tested yet.

AI usage

Claude ported the fix from the experimental branch and wrote this description. The user found the bug in a playtest.

…them one after another (G2: Hanna)

Like the engine, an important info (no description) isn't listed as an option for the hero; after one important info
ends, the next available one starts by itself, not only when the dialog opens. A permanent important info still only
starts at the dialog start, otherwise it would repeat forever. Important infos were already checked in nr order.
@JaXt0r
JaXt0r merged commit 26c542e into develop Nov 22, 2026
1 check passed
@JaXt0r
JaXt0r deleted the fix/important-infos-no-choice branch November 22, 2026 14:09
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.

2 participants