Update README.md
This commit is contained in:
parent
95b34a276f
commit
a00419df39
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,9 @@ https://www.codecademy.com/courses/introduction-to-javascript
|
||||||
### History
|
### 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.
|
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.
|
||||||
|
|
||||||
|
### Quests
|
||||||
|
You can modify the quests property to change the quests of the adventure mid game.
|
||||||
|
|
||||||
### Input Modifier
|
### Input Modifier
|
||||||
Called each time the player gives an input and has the opportunity to modify that input.
|
Called each time the player gives an input and has the opportunity to modify that input.
|
||||||
|
|
||||||
|
@ -27,7 +30,6 @@ You can modify worldEntries with the below functions
|
||||||
* removeWorldEntry(index)
|
* removeWorldEntry(index)
|
||||||
* updateWorldEntry(index, keys, entry)
|
* updateWorldEntry(index, keys, entry)
|
||||||
|
|
||||||
|
|
||||||
### State
|
### State
|
||||||
The `state` variable can be used to store information that's persistent across function calls.
|
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.memory.context` value will be added to the games memory if exists
|
||||||
|
|
Reference in a new issue