Releases: nikkorn/mistreevous
Releases · nikkorn/mistreevous
v4.2.0
v4.1.1
v4.1.0
v4.0.0
- Added support for JSON tree defintions
- Added validateDefintion function to use in validating JSON/MDSL definitons
- Added convertMDSLToJSON function to convert existing MDSL definitions to JSON
- Tidied up error handling for agent and registered function invocation
- Action functions can now explictly return a value of State.RUNNING instead of having to return undefined
- Fixed issue where rejected action function promises were not handled correctly
- Fixed issue where registered functions were called with incorrect arguments
- Fixed some typings
- Added a BUNCH of tests
v3.1.0 - Added 'random' function option and Indefinite Waits
- Added the 'random' function option which, if defined, is used to source a pseudo-random number to use in operations such as the selection of active children for any
lotto
nodes and the selection of durations forwait
nodes when minimum and maximum durations are defined. - Wait nodes will remain in the running state indefinitely until they are aborted if no explicit or minimum and maximum durations are defined.
- Added more unit tests.
v3.0.0 - Converted to Typescript
- Converted the project to Typescript.
wait
nodes can now use a delta time function in order to calculate elapsed durations.- Added more unit tests.
v2.3.0 - Global Subtrees and Functions
Added the ability to register global subtrees and functions to be referenced by any behaviour tree instances
v2.2.0 - Succeed, Fail and Retry Decorators
Added Succeed, Fail and Retry decorators