daggerheart/module/applications
George Brocklehurst b05915bd80
Downtime: allow moves to be taken individually.
Fixes https://github.com/Foundryborne/daggerheart/issues/374

Some downtime moves require a roll to see how successful they are. In these
cases, the player might want to see how their first move works out before
they select their next one.

This commit updates the downtime dialog to allow for this behaviour:

- The "Take Downtime" button is enabled whenever any moves are selected.
- Clicking the button only closes the dialog when all moves have been made.

To keep track of this, the `nrChoices` object has been expanded to include a
`taken` counter, which is increased whenever a move is taken.

After making one move the selection is reset, but the number of moves
displayed in the dialog header and the number of permitted selections both
take the number of taken moves into account.
2025-07-20 11:05:05 +01:00
..
characterCreation [Fix] Class Feature Change (#364) 2025-07-17 19:43:35 +02:00
dialogs Downtime: allow moves to be taken individually. 2025-07-20 11:05:05 +01:00
hud Fixes tokenHUD import path (#348) 2025-07-15 16:15:58 +02:00
levelup actors datas max/total rework (#332) 2025-07-13 18:39:23 +02:00
settings [Fix] Downtime Rework (#367) 2025-07-17 19:48:59 -03:00
sheets Bug/103 enrich htmlfield content before its used in applications (#369) 2025-07-19 22:21:46 +02:00
sheets-configs Bug/103 enrich htmlfield content before its used in applications (#369) 2025-07-19 22:21:46 +02:00
ui Fix Damage chat message (#377) 2025-07-19 18:08:32 +02:00
ux Bug/103 enrich htmlfield content before its used in applications (#369) 2025-07-19 22:21:46 +02:00
_module.mjs Added a separation of system effects and generic effects on token status effects. Can be turned off in settings. (#317) 2025-07-11 16:53:22 -03:00