feat: impl
This commit is contained in:
Vendored
+29
@@ -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
@@ -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.
|
||||
===
|
||||
@@ -0,0 +1,4 @@
|
||||
title: BackupNode
|
||||
---
|
||||
This file should be excluded.
|
||||
===
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
title: ScriptNode
|
||||
---
|
||||
<<set $variable = 1>>
|
||||
<<set $another = true>>
|
||||
===
|
||||
Reference in New Issue
Block a user