From afd044d0b12a44cb9ac9cca4f2f2819eebcb7df2 Mon Sep 17 00:00:00 2001 From: Nick Walton Date: Sat, 23 May 2020 22:01:52 -0600 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7bd0c00..626d604 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,9 @@ Called each time the player gives an input and has the opportunity to modify tha Called each time the model generates an output and has the opportunity to modify that output. ### State -The `state` variable can be used to store information that's persistent across function calls. The state.memory.context value will be added to the games memory if it exists +The `state` variable can be used to store information that's persistent across function calls. +* The state.memory.context value will be added to the games memory if exists +* The state.message value will be displayed as a extra message in the game (if it exists) ### Console `console.log("Some message")` will log messages that you can see in the scripting console