From 977aae70cbb1db3ec6932babb3ccb33e64d30e5f Mon Sep 17 00:00:00 2001 From: Matt Brockman Date: Fri, 15 Jan 2021 09:23:12 -0800 Subject: [PATCH] evaluationBots added --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index afd24ee..e3a3b4a 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ The `state` variable can be used to store information that's persistent across f * `state.displayStats` takes an array of objects [{key, value, color}] which will be displayed for users in the score section as [key]: [value] in the preferred color (defaults to user color). See https://github.com/latitudegames/Scripting/blob/master/examples/showTextLength.js for an example. * `state.inventory` takes an array of objects [{name, quantity}] which will be make the inventory option available in the adventure menu (right). For now, this just displays all items and thier quantities from the inventory. See https://github.com/latitudegames/Scripting/blob/master/examples/addSimpleInventory.js for an example. +* `state.evaluationBot` uses an evlation bot to assess latest actions and convert it to machine readable formats. The results of the `evaluationBot` are returned in `info.evaluation`. Different bots return a `reason` (description of their interpretation of the text) as well as various assessment such as `loot` or `health`. See https://github.com/latitudegames/Scripting/blob/master/examples/evaluationBots.js for usage and available bots. * You can set any variable on state to store and modify adventures throughout an adventure.