Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18,866 changes: 18,866 additions & 0 deletions ConditionTracker/1.0.0/ConditionTracker.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions ConditionTracker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog

All notable changes to **Condition Tracker** will be documented in this file.

## [1.0.0] - 2026-04-30

### Added

- Initial release of Condition Tracker with token-focused condition and custom-effect tracking for Roll20 Turn Tracker.
- Guided GM workflows: interactive wizard (`--prompt`), multi-target wizard (`--multi-target`), and menu-driven controls for apply/remove/help/config.
- Rich effect modeling: standard conditions plus custom effect types (Spell, Ability, Advantage, Disadvantage, Other) with duplicate prevention and per-target tracking.
- Turn-order integration: stable custom rows, grouped source-based rows for advantage/disadvantage, tracked durations (until removed, end-of-turn anchors, numeric rounds), and efficient row insertion/update handling.
- Automatic lifecycle cleanup: expiry-based removal, zero-HP cleanup prompts/actions, proactive token-deletion pruning (`destroy:graphic`), and manual reconciliation for orphaned/stale entries.
- Marker system: configurable per-condition marker mapping with safe marker application/removal logic that avoids removing markers still required by other active conditions.
- GM tooling: auto-installed `ConditionTrackerWizard` and `ConditionTrackerMultiTarget` macros, plus reinstall support for macros and localized handout content.
- Internationalization support: localized chat/wizard/help/handout content for Roll20 account languages: `af`, `ca`, `zh-TW`, `cs`, `da`, `nl`, `en-US`, `fi`, `fr`, `de`, `el`, `he`, `hu`, `it`, `ja`, `ko`, `pl`, `pt-PT`, `pt-BR`, `ru`, `es`, `sv`, `tr`, and `uk`.
- Locale aliases for common two-letter input: `en` resolves to `en-US`, `zh` resolves to `zh-TW`, and `pt` resolves to `pt-PT`.
- Hebrew right-to-left rendering for chat cards, help tables, and the generated handout.
- Available-translations reference in chat help, invalid-locale warnings, and the generated handout, including accessible flag images and localized language names where available.
- Configuration surface: GM options for marker usage, icon mode, subject prompt bypass, health bar monitoring, marker overrides, and language.
- Performance-focused foundations: precomputed condition-anchor lookups and batch turn-row cleanup passes to reduce repeated rescans in larger combats.
- Developer-ready modular architecture (`src/`) with Rollup build pipeline and generated release artifacts.
Loading
Loading