feat: impl

This commit is contained in:
2026-04-14 15:24:54 +08:00
parent 9942bd9a7f
commit dd43bb1a1d
26 changed files with 3665 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{
"projectFileVersion": 4,
"projectName": "Complex Test Project",
"authorName": ["Author One", "Author Two"],
"sourceFiles": [
"dialogue/**/*.yarn",
"scripts/**/*.yarn"
],
"excludeFiles": [
"**/*.backup.yarn",
"dialogue/deprecated/**/*.yarn"
],
"baseLanguage": "en",
"localisation": {
"zh-Hans": {
"strings": "translations/zh-Hans.csv"
}
},
"definitions": ["custom-commands.ysls.json"],
"compilerOptions": {
"requireVariableDeclarations": true,
"allowPreviewFeatures": false
},
"editorOptions": {
"yarnScriptEditor": {
"theme": "dark"
}
}
}
+24
View File
@@ -0,0 +1,24 @@
title: ComplexNode1
tags: test complex
when: $has_sword
---
Character: This is a complex node with tags and conditions.
<<once>>
This text only shows once.
<<endonce>>
===
title: ComplexNode2
---
<<if $has_key>>
Character: You have the key!
<<else>>
Character: You need a key to proceed.
<<endif>>
Here are your options:
-> [Option 1] Go left
You went left.
-> [Option 2] Go right
You went right.
===
+4
View File
@@ -0,0 +1,4 @@
title: BackupNode
---
This file should be excluded.
===
+5
View File
@@ -0,0 +1,5 @@
title: ScriptNode
---
<<set $variable = 1>>
<<set $another = true>>
===