Repository navigation
fix: important dialog infos are never an empty choice - the NPC says them one after another - #538
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).[Dialog] <npc>: next important info <index> (nr <nr>) starts by itself). A permanent important info only starts when the dialog opens, otherwise it wouldrepeat forever. Non-permanent ones are marked as told before they run, so the chain ends.
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
no empty option in the list.
"is not a choice" lines for their important infos.
normal choices show.
Save/load
No new state. Told infos are saved and loaded as before.
Known gaps / follow-ups
AI usage
Claude ported the fix from the experimental branch and wrote this description. The user found the bug in a playtest.