Multi-Location Quest Injection
This commit is contained in:
parent
2f98904614
commit
b0673c82fc
23 changed files with 279 additions and 105 deletions
12
GameData/Narrative/Quests/TestQuest.ink
Normal file
12
GameData/Narrative/Quests/TestQuest.ink
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
==A1==
|
||||
#location: TestA // Inject this knot into matching knot in location story
|
||||
#required // This quest is only playable when the target location exists
|
||||
+ [This choice is being injected from TestQuest] -> A1A
|
||||
|
||||
==A1A==
|
||||
This is a thread being injected by TestQuest
|
||||
* [Proceed] -> A1B
|
||||
|
||||
==A1B==
|
||||
This is a child knot in an injected thread
|
||||
* [Exit the injected thread] -> END
|
||||
1
GameData/Narrative/Quests/TestQuest.json
Normal file
1
GameData/Narrative/Quests/TestQuest.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"inkVersion":20,"root":[[["done",{"#f":5,"#n":"g-0"}],null],"done",{"A1":[[{"#":"location: TestA"},{"#":"required"},"ev","str","^This choice is being injected from TestQuest","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["^ ",{"->":"A1A"},"\n",{"#f":5}]}],{"#f":1}],"A1A":[["^This is a branch thread being injected by TestQuest","\n","ev","str","^Exit the injected thread","/str","/ev",{"*":".^.c-0","flg":20},{"c-0":["^ ","end","\n",{"#f":5}]}],{"#f":1}],"#f":1}],"listDefs":{}}
|
||||
Loading…
Reference in a new issue