Skip to content

5.3.0 - Wings

Latest

Choose a tag to compare

@Sayshal Sayshal released this 23 Aug 21:30
6e01949

Breaking Changes

  • [#29] Enabled mounts are stored as a list of UUIDs, so world actors and compendium actors resolve through the same lookup. Mounts the configuration menu cannot list stay enrolled when it is saved.
  • [#31][#26] The module-level unit toggle is gone. Distances follow the system's metric setting, and pace tables, travel hours and unit conversion are read from the system instead of being hardcoded.

New Features

  • [#24] Added a public API at game.modules.get('travel-pace').api and globalThis.TRAVELPACE, plus a travelPace.calculated hook and a result flag on each chat card.
  • [#24] Advancing more than one calendar day asks for confirmation first, and day length is read from the world calendar instead of assuming 24 hours.
  • [#24] New Time Advance Mode world setting: advance by full calendar days or by travel hours only.
  • [#24] Travel result chat cards now show an advance-time button, visible to the GM only, that moves world time forward by the calculated travel duration.
  • [#25] New Use Weather world setting: when Calendaria is active, the current weather preset and its severity band scale travel time and distance. Off by default.
  • [#25] New Weather Multipliers config menu for overriding the per-preset and per-severity multipliers. Once Use Weather is on, the built-in severity multipliers apply until the GM overrides them.
  • [#25] New cancellable travelPace.preCalculate hook lets other modules add labeled multipliers or block a calculation. The scene-control button also reopens the calculator after it has been closed.
  • [#25] Travel chat cards now list each applied modifier in plain text. The calculator preview applies the same multipliers and refreshes when Calendaria reports a weather change.
  • [#28] A group actor with no speed of its own now travels at the speed of its slowest creature member.
  • [#28] The travel calculator window was rebuilt.
  • [#28] The traveller is now set by dragging an actor, group, vehicle or mount onto the traveller field, with a clear button to remove it. The mount dropdown only appears when more than one traveller is available.
  • The public API now exposes a unit getter returning the world's configured distance abbreviation, plus durationToSeconds for converting a travel duration in minutes to seconds.

Bug Fixes

  • [#28] The calculator stylesheet is scoped to the calculator, so it no longer restyles the dnd5e group sheet.
  • [#29] A mount with no walking speed is now reported as unable to travel instead of silently falling back to 30 ft.
  • [#29] Mount and vehicle speeds are now read as numbers from the actor's own data instead of being parsed out of formatted text, so the calculator, preview and chat card report the same speed in non-English worlds.
  • [#30] The calculator preview now updates once per input instead of twice.
  • [#31][#26] A walking mount's speed is reported per minute instead of per round.
  • [#31][#26] The Weather Multipliers menu no longer wipes its saved tables when Calendaria is not active.
  • [#31][#26] Vehicle travel speeds come from the system's prepared travel block and are converted with the system's travel-unit conversion, instead of matching the mile and kilometer labels. Any unit registered with the system is recognized and converted to the world's metric or imperial setting.
  • Mounts that were enabled before the switch to UUID storage now resolve correctly again: bare world-actor ids saved by earlier versions are promoted to their Actor.<id> form on read, so those mounts stay enrolled instead of disappearing from the list.

Changes

  • [#27] Added a rollup build with build, watch, dev and clean npm scripts.
  • [#31] Added npm scripts for lint, format and stylelint, plus a combined validate script. Declared the eslint, prettier and stylelint devDependencies the existing configs need.
  • [#31][#26] Chat cards are localized as whole sentences.
  • [#31][#26] Hour and minute lengths come from the world calendar rather than assuming Earth time. Travel estimates no longer invent weeks, months or years.
  • Added the repository's own eslint, prettier and stylelint configs, VS Code settings and an i18n-ally framework config pointing key lookup at the ATLAS, dnd5e and Foundry core locale folders. Normalized line endings to CRLF.
  • Duplicate labels now use the shared ATLAS.Common keys, so distance, time, save and configure strings match the rest of the ATLAS suite.
  • MIT license copyright holder updated from "Tyler" to "3 Death Saves".
  • Stylesheet references to ATLAS and font-size variables dropped their hardcoded fallbacks now that every module resolves to a theme block. Eslint enforces no-undef on .mjs files again.
  • Verified Foundry compatibility bumped to 14.366.

What's Changed

Full Changelog: release-5.2.0...release-5.3.0

Installation: To manually install this release, use the following manifest URL: https://github.com/Sayshal/travel-pace/releases/download/release-5.3.0/module.json