Skip to content

Conversation

Jowan-Spooner
Copy link
Member

@Jowan-Spooner Jowan-Spooner commented Aug 30, 2025

This is more complicated then I had hoped but I guess it's necessary. It introduces a parse-stack that contains all parsing methods. This allows modifiers to be injected into different points of the stack, not all at once. Now the conditional modifier can correctly run before variables, while the autopause modifier can correctly run after the variables.
This should also provide more flexibility later on if we need to have better control over other parsing order.

Compatibility breaking: This changes the signature of the Text.parse_text() method, removing all the individual flags.

This is more complicated then I had hoped but I guess it's necessary. It introduces a parse-stack that contains all parsing methods. This allows modifiers to be injected into different points of the stack, not all at once. Now the conditional modifier can correctly run before variables, while the autopause modifier can correctly run after the variables.
This should also provide more flexibility later on if we need to have better control over other parsing order.

Compatibility breaking: This changes the signature of the Text.parse_text() method, removing all the individual flags.
@Jowan-Spooner Jowan-Spooner added Bug 🐞 Something isn't working Compatibility Breaking ⚠️ This PR breaks compatibility in some way labels Aug 30, 2025
@Jowan-Spooner Jowan-Spooner merged commit b95fe6b into dialogic-godot:main Aug 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Something isn't working Compatibility Breaking ⚠️ This PR breaks compatibility in some way
Development

Successfully merging this pull request may close these issues.

Conditional Modifier is broken
1 participant