Releases: Rubonnek/dialogue-engine
Releases · Rubonnek/dialogue-engine
1.2.0
Mostly documentation improvements and minor changes to the API for clarity and consistency.
What's Changed
- Stringify arguments bound to a Callable to display these within the debugger
- Specify format variable type in the Debugger
- Stringify format dictionary keys to show these in the debugger
- Rename has_entry_at() to has_entry_id() for consistency with similar functions
- Implement debug-only choose_option() sanity check
- Rename has_goto() to has_goto_id()
- Rename remove_text_vars() to remove_format()
- Update documentation
- Remove DialogueEngine.remove_entry and DialogueEngine.remove_entry_at functions
- Remove DialogueEngine.get_branch_id_needle()
- Update GraphNode title formatting when a DialogueEntry has a custom name
- Fix DialogueEngine.advance documentation
Full Changelog: 1.1.0...1.2.0
1.1.0
Release highlights:
- Fix: dialogue_started signal not emitting when starting at DialogueEntry ID other than 0
- Fix: DialogueEngine needles now get reset before emitting dialogue_cancelled signal which allows users to auto-configure the DialogueEngine for the next time it is used when the dialogue is cancelled.
- Breaking Change: It is no longer possible to set a default branch ID when the DialogueEngine resets its needles. Use
dialogue_finished
anddialogue_cancelled
signals to configure the DialogueEngine as needed instead. - New: Added
dialogue_about_to_finish
signal, useful for managing dynamically generated dialogues whose states may be saved and loaded.