Repository navigation
Conversation
bcalabro
force-pushed
the
feature/advanced_conversation_tool
branch
5 times, most recently
from
October 7, 2026 18:32
10b3c4d to
c76b05d
Compare
bcalabro
force-pushed
the
feature/advanced_conversation_tool
branch
from
October 7, 2026 18:32
c76b05d to
7a13abf
Compare
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.
Advanced Conversation Tool
The advanced conversation tool is a declarative conversation framework (base_conversation, base_conversation_script, and advanced_conversation_tool) that strips out the massive switch-case blocks and manual scriptvar management traditionally required for branching NPC dialogues in SWG. It establishes a clean 5-step conversation lifecycle contract and base trigger handler that automatically manages radial menu registration, combat gating, and CONDITION_CONVERSABLE states without developers needing to touch low-level engine plumbing.
On top of the base scripts, advanced_conversation_tool provides a fluent builder API to assemble dialogue trees with prioritized entry point predicates, chained branch messages and animations, and inline action lambdas. Developers can wire mission signals, inventory rewards, and custom exit messages directly to player response clicks while the tool takes care of client/server networking packets (npcStartConversation, npcSpeak, npcSetConversationResponses) and player branch state cleanup automatically.
In addition to these changes, it will allow developers access to an AI/LLM friendly tool to create and manage NPC conversations with a convenient and lightweight API.
NOTE:
This code and logic was NOT generated with AI. ONLY the class-level java docs & README.md were generated with AI.