Merge branch 'master' of github.com:AIDungeon/Scripting into master

This commit is contained in:
Andrew Cantino 2020-09-29 12:04:24 -07:00
commit c822be6880

View file

@ -30,7 +30,7 @@ Prepended to the start of the other three scripts before execution so that you c
### Input Modifier ### Input Modifier
Called each time the player gives an input and has the opportunity to modify that input. When inside of an Input Modifier, Called each time the player gives an input and has the opportunity to modify that input. When inside of an Input Modifier,
you can return `stop: true` in order to stop processing——see [examples/commandParser.js]. you can return `stop: true` in order to stop processing——see [examples/commandParser.js](examples/commandParser.js).
### Context Modifier ### Context Modifier
Called each time the AI model is about to receive input and has the opportunity to modify that input (by up to a 75% [edit distance](https://en.wikipedia.org/wiki/Levenshtein_distance) change). Called each time the AI model is about to receive input and has the opportunity to modify that input (by up to a 75% [edit distance](https://en.wikipedia.org/wiki/Levenshtein_distance) change).