From 605ce7222c52f8d969f5e500610a5ab8947d7ec3 Mon Sep 17 00:00:00 2001 From: Devon7925 Date: Tue, 22 Sep 2020 18:40:17 -0600 Subject: [PATCH] Document shared library --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2eaaf63..6abce02 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,9 @@ As an example, if you set `state.memory.authorsNote` to `the following paragraph ### Quests You can modify the quests property to change the quests of the adventure mid game. +### Shared Library +Appended to the other three scripts so you can use the same code between all three. + ### Input Modifier Called each time the player gives an input and has the opportunity to modify that input. @@ -56,4 +59,4 @@ The `state` variable can be used to store information that's persistent across f `info` contains some useful values, depending on which modifier you're in. All modifiers have access to `info.actionCount`, the number of actions in the adventure so far. -When in a Context Modifier, `info.memoryLength` and `info.maxChars` are also set, indicating the length of the memory portion of text (if any), and the total allowed length of the context after which it will be truncated. \ No newline at end of file +When in a Context Modifier, `info.memoryLength` and `info.maxChars` are also set, indicating the length of the memory portion of text (if any), and the total allowed length of the context after which it will be truncated.