An unofficial Foundry VTT implementation of the Daggerheart system
Find a file
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
.github [Fix] Include Tagify.css file (#353) 2025-07-15 13:24:04 -03:00
.husky Adding Prettier 2025-05-23 18:57:50 +02:00
assets new style for dialog roll and remove console.log debuggers (#272) 2025-07-05 14:34:42 -03:00
lang [Fix] Localization Misses (#381) 2025-07-20 04:15:26 +02:00
module Downtime: allow moves to be taken individually. 2025-07-20 11:05:05 +01:00
src/packs [Fix] Compendium Prep (#360) 2025-07-16 15:10:37 -03:00
styles Fix item desc animation (#382) 2025-07-20 03:58:31 +02:00
templates [Fix] Localization Misses (#381) 2025-07-20 04:15:26 +02:00
tools new style for dialog roll and remove console.log debuggers (#272) 2025-07-05 14:34:42 -03:00
.gitignore File Structure Rework (#262) 2025-07-05 00:26:33 +02:00
.prettierignore PR-Fixes 2025-05-24 22:25:54 +02:00
.prettierrc Adding Prettier 2025-05-23 18:57:50 +02:00
coc.md Add Contributing Guidelines and Code of Conduct (#184) 2025-06-27 18:23:50 +02:00
contributing.md Add Contributing Guidelines and Code of Conduct (#184) 2025-06-27 18:23:50 +02:00
daggerheart.d.ts Refactor/84 data models structure (#131) 2025-06-13 14:17:13 +02:00
daggerheart.mjs Bug/103 enrich htmlfield content before its used in applications (#369) 2025-07-19 22:21:46 +02:00
gulpfile.js Adding Prettier 2025-05-23 18:57:50 +02:00
jsconfig.json #98 jsconfig and symlink setup (#99) 2025-06-01 02:54:45 +02:00
LICENSE Initial commit 2025-05-22 16:53:39 +02:00
package-lock.json [Feature] ActiveEffect Autocomplete (#338) 2025-07-15 10:55:45 -03:00
package.json [Feature] ActiveEffect Autocomplete (#338) 2025-07-15 10:55:45 -03:00
postcss.config.js Adding Prettier 2025-05-23 18:57:50 +02:00
pull_request_template.md fixed pull request template (#215) 2025-06-29 17:33:43 +02:00
README.md Fix link to Developer Setup section in README (#375) 2025-07-19 13:45:51 +02:00
rollup.config.mjs [Fix] Tagify CSS (#350) 2025-07-15 12:13:09 -03:00
system.json Bug/103 enrich htmlfield content before its used in applications (#369) 2025-07-19 22:21:46 +02:00

Daggerheart

Table of Contents

Overview

This is a community repo for a Foundry VTT implementation of Daggerheart. It is not associated with Critical Role or Darrington Press.

User Install

  1. (Not Yet Supported - No Releases Yet) Pasting https://raw.githubusercontent.com/Foundryborne/daggerheart/refs/heads/main/system.json into the Install System dialog on the Setup menu of the application.
  2. (Not Yet Supported - No Releases Yet) Browsing the repository's Releases page, where you can copy any system.json link for use in the Install System dialog.
  3. (Not Yet Supported - No Releases Yet) Downloading one of the .zip archives from the Releases page and extracting it into your foundry Data folder, under Data/systems/daggerheart.

Development Setup

  • Open a terminal in the directory with the repo cd <path>/<to>/<repo>
  • NOTE: The repo should be placed in the system files are or somewhere else and a link (if on linux) is placed in the system directory
  • NOTE: Linux link can be made using ln -snf <path to development folder> daggerheart inside the system folder
  • Install npm npm install
  • Update package.json to match your profile
"start": "concurrently \"rollup -c --watch\" \"node C:/FoundryDev/resources/app/main.js --dataPath=C:/FoundryDevFiles  --noupnp\"  \"gulp\"",
"start-test": "node C:/FoundryDev/resources/app/main.js --dataPath=C:/FoundryDevFiles && rollup -c --watch && gulp",

  • Replace C:/FoundryDev/resources/app/main.js with <your>/<path>/<to>/<foundry>/<main.js>
  • The main is likely in <Foundry Install Location>/resouces/app/main.js
  • Replace --dataPath=C:/FoundryDevFiles with <your>/<path>/<to>/<foundry>/<data>

Now you should be able to build the app using npm start Foundry VTT Website

Contributing

Looking to contribute to the project? Look no further, check out our contributing guide, and keep the Code of Conduct in mind when working on things.