This project adheres to Semantic Versioning
- Implemented support for id suffixes.
dialogue line $id&variable_1&variable_2. - Id Suffix Lookup Separator project setttings.
Project > Project Settings > General > Dialogue > Id Suffix Lookup Separator.
- Remove prop check warning in Output console
- Dialogue source folder project setttings.
Project > Project Settings > General > Dialogue > Source Folder. When only the file name is provided, the interpreter will look for files in the folder set ondialogue/source_folder.
- Standalone
{set a}would pass parser, but break on interpreter. Now, this is equivalent to{ set a = true }. - Fix inconsistencies with logic blocks in tab indented files.
- Options won´t print first line as before.
- Brackets (
[]) used for display-only options are not supported anymore. - To reproduce previous behaviour, options should contain the new display-option symbol (
=)
Here is a sample on how to fix your dialogues for this new version:
Old way:
+ This will be displayed
* This will be displayed
> This will be displayed
+ [This won't be displayed]
some text...
* [This won't be displayed]
some text...
> [This won't be displayed]
some text...
New way:
+= This will be displayed
*= This will be displayed
>= This will be displayed
+ This won't be displayed
some text...
* This won't be displayed
some text...
> This won't be displayed
some text...
- Changed options default behaviour. (check breaking changes)
Thanks to @jcandres and @verillious for suggestions and input.
- Used Options and Variations were not loaded correctly after loading previously stringified internal memory.
There is a known related issue with variables that will be fixed in the next major version. Variable names should be string,
but currently their type is not validated. If you define a variable with a number as name, you will only be able to recover it
as string. i.e dialogue.set_variable(1, "blah"), after persistence will only be available through dialogue.get_variable("1").
Thanks to @jcandres for spotting this issue.
Dialogues starting with single quotes will escape especial characters.
For example:
'This is a #quoted text'
Would previously return:
TEXT: 'this is a
TAG: quoted
TEXT: text'
Now it returns:
TEXT: This is a #quoted text
- support single quotes for logic block string literals and escaping dialogues.
{ set string_literal = 'valid string' }'This is a valid escaped dialogue line # $ '
Thanks to @verillious for suggesting and implementing these changes.
- Condition blocks before line can use the "when" keyword.
- Diverts support conditional blocks before and after line
- Extend scripts from
Referenceinstead ofNodeto prevent memory leaks.
Thanks to Enes Yesilyurt (@Tols-Toy) for spotting the memory leak and for suggesting a fix for it.
Initial release
- Importer
- Interpreter