# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [2.1.4] - 2020-05-21 ### Bug Fixes: - Updated controlledTokens to controlled so that hotkeys work again - Updated settings extender ## [2.1.3] - 2020-05-22 ### Bug Fixes: - Fixed rotation on angled token vision ## [2.1.2] - 2020-05-22 ### Bug Fixes: - Update prevent linear mode bugs on gridless and hex maps. ## [2.1.1] - 2020-05-22 ### Added: - Added polyglot integration ### Bug fixes: - Added a warning for when a possible error will occur during linear generation. ## [2.0.9] - 2020-05-20 - Token line of sight is now respected. ## [2.0.8] - 2020-05-18 - Fixed a bug where swapping between forward-backwards and cycle mode would result in the token hopping around a lot. - Fixed a bug with linearmode not working with cycle mode ## [2.0.7] - 2020-05-18 ### Bug fixes: - Fixed a bug where patrol quotes would always activate even if disabled - Fixed a bug where undo-last would throw an error - Fixed a bug where the linearPath wouldn't be deleted on clear - Fixed a bug where the linear/continuous path doesn't update on the HUD. ### Changed: - Changed clear all routes from `CTRL-SHIFT-C` to `CTRL-SHIFT-D` as the former is too close to copy on the Window's workflow. ## [2.0.3] - 2020-05-16 ### Added - Added a setting to pause tokens on combat start. ### Bug Fixes: - Fixed an issue where the quote parser would try to parse an empty array - Fixed an issue where tokens would say "UNDEFINED" if no quote was given. ## [2.0.0] - 2020-05-16 ### Added - Token settings: Tokens now have a down caret on the hud. This will open a token patrol menu for all your needs - Settings option - Quote options - Vision options --> Note: A small radius size will cause strange issue. I'd advise 20 >= - Audio options - Disable HUD option: You can now disble the tokenPatroller HUD if you want to clear the clutter, the caret still remains. Keybindings still work - Quotes: Quotes are now an option! Using this feature will make tokens speak as they patrol their route. If vision mode is enabled, special quotes will be played when seen! - Vision: Tokens can now be given optional vision to start combat when players are seen, say something when a player enters the range, or even stop the route! - Audio: A moving audio range can be set up to follow the token on it's route, that way you can create footsteps, flying, or other noises creatures may make. - Token rotation: Allows tokens to face towards the direction of their next route. Good for topdown tokens! This comes in both a global form and individual level - Global key configuration: You can now configure what keybinding you would like to use for your route start/stop - API calling available: Namespaced under TP these are good for macros! - TP.tokenPatroller.startPatrol(delay: string, tokenId: string) - TP.tokenPatroller.stopPatrol(tokenId: string) - TP.tokenPatroller.addPlotPoint(tokenId: string) // Takes the tokens current position as a point. ### Changed - Token paths have been changed from system settings to a file. This will prevent unintentional bogging down of system resources on setting updates. - Previously, when token routes were longer than the delay, the token would change directions mid-cycle. That has been changed and the delay will only begin after the token has stopped moving. - When using hot keys, selecting tokens will affect only the selected tokens. If no tokens are selected, then it is applied to all tokens. ### Bug Fixes - Issue where 'X' would show on a token after a reboot (if the token was moving prior to the restart) has been fixed. - Fixed a bug where deleting a token didn't remove corresponding token path data resulting in a massively growing data file. ## Known Issue: - Activating another scene while tokens are moving will result in a unique error where the active scene indicator will no longer function Scenes will still change and work as expected, but the active indicator will not update. This is a issue with core, as the issue persists still occurs with the module disabled