Releases: sagarc03/tension-pool-2
Releases · sagarc03/tension-pool-2
Release list
v0.6.1
Full Changelog: v0.6.0...v0.6.1
v0.6.0
Macro API
Tension Pool 2 now exposes a public API for use in Foundry macros and other modules:
const api = game.modules.get("tension-pool-2")?.api;Available methods:
| Method | Description |
|---|---|
api.add(count?) |
Add dice to the pool (default 1, handles overflow/auto-roll) |
api.remove(count?) |
Remove dice from the pool (default 1, floors at 0) |
api.roll() |
Roll the current pool and clear it |
api.clear() |
Clear the pool without rolling |
api.customRoll(count) |
Roll tension dice without affecting the pool |
api.getDiceCount() |
Get current dice count |
api.getPoolSize() |
Get configured pool size |
Install Example Macros setting
A new GM setting creates a "Tension Pool 2 (Examples)" folder in the Macros sidebar with one ready-to-use macro per API method. Managed by the module — toggling the setting off removes the folder and macros.
Full Changelog: v0.5.6...v0.6.0
v0.5.6
Added
- AI-generated code disclaimer dialog shown to GM on first load and after every version upgrade. (2bb6568)
- Roll Visibility world setting (Public / GM Only). When set to GM Only, roll results are whispered to GMs only.(bbfa3c7)
Full Changelog: v0.5.5...v0.5.6