From 9e589aeb2255a0f6a795d26dc8bedd22d76e58a0 Mon Sep 17 00:00:00 2001 From: Nick Walton Date: Mon, 1 Jun 2020 19:52:17 -0600 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e5679ed..58f3a1a 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ Custom scripts on AI Dungeon scenarios allow you to modify the memory, input, and output as well as keep track of custom state objects that might be relevant for your adventure. You can write custom scripts in Javascript by going to the "Scripts" section while on web on the edit scenario page. For security reasons some Javascript functionality is locked down however. Submit a request if there is functionality you would like opened up and we can look into it. +### History +You have access to (but can't modify) the `history` object which is a list of the previous actions of the player and of the AI. + ### Input Modifier Called each time the player gives an input and has the opportunity to modify that input.