## v14.365.4.1 - Improved continuous keyboard movement reliability, including smoother diagonal movement for larger tokens. ## v14.365.4 - Added an optional setting to keep the viewport centered on a moving token. - Toggle it at any time with the configurable shortcut (default: Shift + P). ## v14.365.3 - Added continuous keyboard token movement as an optional default setting. - Toggle it at any time with the configurable shortcut (default: Left Shift + M). - Token Warp now confirms when continuous movement is enabled or disabled. - Fixed continuous keyboard movement activating while typing in text fields. ## v14.365.2 - Teleport-key (default: T) movement now travels directly to its final destination without triggering regions it passes over or lands into. - Added a configurable Blink keybinding (default: B) for teleporting while measuring movement distance; regions passed over are ignored, while the destination region is triggered. ## v14.365.1 - Added a configurable Ctrl modifier keybinding for continuous keyboard token movement. ## v14.365.1 - Added a configurable Ctrl modifier keybinding for continuous keyboard token movement. - Hold Ctrl while using the keyboard keys to move selected tokens continuously, without the usual delay before movement repeats. ## v14.364.1 - Updated minimum and verified Foundry compatibility to v14.364. - Added system integration providers for movement speeds and HP-zero support, with built-in dnd5e providers. - Added dynamic system integration loading from `src/integrations/speeds/.js` and `src/integrations/hit-points/.js`. - Updated the Actor sheet button/dialog label from `Token Warp Triggers` to `Token Warp Menu`. - Added linked-token selection for Actor sheet Token Warp Menu configuration when an actor has multiple active tokens. - Linked-token menu selection now pans to hovered token options when needed and restores/pans back to the previously controlled token selection. - Preserved macro payload compatibility aliases for `changes` and `context` with Foundry v14-style deprecation warnings. - Updated macro trigger `user` payloads to expose the Foundry User document while retaining `userId`. - Added actor guards for token trigger execution when a placed token no longer has an actor document. - Migrated legacy movement animation speed flag objects to the new `movementAnimation.speeds` schema when read. - Fixed snake follower waypoint routing. - Updated keyboard shortcut handling to use Foundry's native keyboard manager pressed-key state. ## v14.359.1 - Verified compatibility with Foundry v14.359 ## v13.351.4 - Added leader-follow snake routing for multi-selected token moves. - Mark a token as leader with `flags.tokenwarp.leader = true`. - Other selected tokens follow the leader's waypoint path behind it with grid-based spacing. - Follower tokens can explicitly target a leader with `flags.tokenwarp.leader = { follow: "" }`. ## v13.351.3 - Added trigger presets (first pass, low impact and feedback appreciated) in the Actor `Triggers` tab: - `Spawn`, `Despawn`, `Movement`, `HP Zero`, `All Events` - Presets now act as scope filters for visible trigger fields. - `All hooks` now copies only into the currently active preset scope. - Added HP-zero compatibility API for systems/modules: - Default support is built in for `dnd5e` and systems exposing `actor.getRollData().attributes.hp.value/max`. - Exposed on `ready` via `game.modules.get("tokenwarp").api` and `Hooks.callAll("tokenwarp.ready", api)`. - Quick registration example [README HP-Zero Compatibility API](./README.md#hp-zero-compatibility-api) - The support for Crucible has been added in the "setup.js" of the module, as an example of how to use the API. - Trigger dialog reset updates: - Added a `Reset` dialog button that resets only the currently active tab and keeps the dialog open. - Trigger-tab reset clears only the active preset scope (`All hooks` + that preset's fields). - Movement animation tab reset behavior: - non-dnd5e resets to the module global `Token movement animation speed`. - dnd5e resets each movement mode slider to its pre-calculated default. - Multi-token movement speed behavior: - When multiple tokens are controlled and moved together, Token Warp uses the global `Token movement animation speed` for all selected tokens. - Per-actor movement animation overrides are ignored for that multi-token move. ## v13.351.2 - Added a per-user keybinding (`KeyN` by default) to temporarily disable token auto-rotation for the current movement. ## v13.351.1 - Updated for Foundry v13.351 - Expanded Token Warp trigger coverage beyond create/delete: - `preUpdateToken` / `updateToken` - `preUpdateActor` / `updateActor` - movement start/stop via `moveToken` - actor HP-zero checks during actor updates - Added explicit Token Warp hooks for user/module integration: - `tokenwarp.movementStart` - `tokenwarp.movementStop` - `tokenwarp.preActorHpZero` (fires during `preUpdateActor` when `changes.system.attributes.hp.value <= 0`) - `tokenwarp.actorHpZero` (fires during `updateActor` when `changes.system.attributes.hp.value <= 0`) - Added new Trigger dialog fields: - `Pre token update` - `Post token update` - `Movement start` - `Movement stop` - `Pre Actor update` - `Post Actor update` - `Pre Actor HP zero` - `Post Actor HP zero` - Added a tabbed Actor-sheet Token Warp dialog: - `Triggers` tab - `Movement animation speed` tab - Added per-actor movement animation overrides: - `Override animation speeds` toggle is saved and reloaded from actor flags - Per-actor speed overrides take precedence over world default movement speed - On dnd5e, per-mode sliders are built from non-zero `actor.system.attributes.movement` values - On dnd5e, per-mode defaults are prefilled from movement ratios against the world movement speed baseline - Movement override wiring and behavior updates: - Hooked `preMoveToken` to Token Warp movement handling - Teleport-key override now runs inline on the active movement update (no `_preUpdateMovement` force-allow wrapper) - Always applies `options.animation.movementSpeed` from actor override or world default when movement data is present - Movement mode behavior clarifications: - `Walls block` only applies when Foundry Core `unconstrainedMovement` is enabled for the GM - If Core `unconstrainedMovement` is disabled, `Walls block` has no additional effect - `Disallow out of bounds movement` clamps to the nearest legal destination while preserving segment continuation - Out-of-bounds clamping does not force no-animation unless `No movement animations` is selected - Hook payload normalization and compatibility: - Macro payloads use `token`/`actor` plus `data`, `options`, and user fields - Kept `context` alias for `options` with compatibility warning - Updated localization/README to document new movement behavior notes and trigger hook usage. ## v13.348.2 - Added an `All hooks` field, which will add the same macro to all fields. If you clear that field, all the macros from the other fields will be cleared as well. ## v13.348.1 - Dropped v12 support. For v12 use [13.347.2 json](https://github.com/thatlonelybugbear/token-warp/releases/download/v13.347.2/module.json) - First pass into adding triggers for macros pre/post token creation and pre/post token deletion. - In the Actor sheet context menu, there is a new button for `Token Warp Triggers`. Drag and drop macros in the dialog fields to link them as needed. ## v13.347.2 - Clear deprecation warning about `options.teleport`, replaced by `options.action === 'displace'` ## v13.347.1 - Fix for `options.movement` being undefined when updating a token document's position in a macro. - Compatibility bump for Foundry v13.347 ## v13.339.1 - Initial release for dual v12 and v13 compatibility ## v12.0.2 - Fix typo in module's manifest ## v12.0.1 - Respect isGM only teleport key - Forgotten translation key, for the teleport keybind ## v12.0.0 - Full compatibility with v12 - Drag Ruler and Elevation Ruler compatibility updates - Out of bounds fixes - Teleport keys fixes - Settings migrations ## v11.2.2 - More compatibility updates for Elevation Ruler. - Added a default Token Warp KeyQ to teleport tokens when pressed. - Now TW respects the boundaries of the padding when moving by arrows or by dragging the tokens, except for the case that KeyQ is pressed, or Elevation Ruler's toggle pathfinding button. ## v11.2.1 - Clean up code. - Add Elevation Ruler compatibility, by overriding any settings if ER is doing anything in that segment of movement (will revisit). ## v11.1.1 - Add translation file. - Bump compatibility to Foundry v11.315 and dnd5e 3.0.4 ## v11.0.1.1 - Hotfix for excluded scenes being `undefined` - Changed the manifest url to make it easier to release hotfixes ## v11.0.1 - Player clients should respect movement animation speed too... ## v11.0.0 - Initial release of Token Warp! - Settings for movement animation default on/off, - Specific scenes excluded from no movement animation, - Moving over walls removes movement animation automatically, - Set default movement animation speed.