Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node Metadata Access to DialogueMessage and DialogueChoice Nodes #853

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ch0m5
Copy link

@ch0m5 ch0m5 commented Jan 17, 2025

Addresses #852.

Note that this PR changes the "options" Array passed to the Godot Scene from essentially Array[String] to Array[Dictionary], where each Dictionary is a data-package for each Choice, rather than just its text (the prior case).

Therefore, it changes how Choice data is sent and interpreted from the GDExtension to GDScript, therefore affecting compatibility with any Orchestrations with Dialogue created prior to this PR.

- All choices are sent to the Scene, not just visible ones
- Choices is no longer an Array, but a Dictionary with "visible", "text", and "metadata" entries
- Included "metadata" entry for DialogueMessage data as well as for each choice's Dictionary
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.

1 participant