An unofficial Foundry VTT implementation of the Daggerheart system
Find a file
Psitacus 687500f191
Iss4 - create a way to attach attach items to armor and weapons (#310)
* add basic drag drop window

* add better field

* make effects copy onto actor on attachment

* make items from inventory draggable

* working drop from inventory

* remove duplication issue

* add attachment only flag and logic

* add weapons to attachables

* remove debug logs

* try to make it drier

* remove unecessary try catch

* remove extra configs

* remove superfluous comments

* remove spurious defenses

* make drier

* remove unecessary code

* deduplicate and simplify

* its a desert

* standardize to be more similar to class item code

* fix bug of duplicate effects being created

* fix localization string

* fix bug of item equiping and un equiping

* remove this since were not going to be using attachmentonly

* update attachment tab with comments

* remove attachment only logic in favor of just transfer

* change flags

* change armor and weapon to be attachableItem

* change armor and weapon to be attachableItem

* change weapon to use mixin

* add mixin to armor

* move everything to mixin sheet

* refactor code for review comments

* cleanup and somehow git is ignoring some changes

* see if this picks up the changes now

* Import/Export updates

---------

Co-authored-by: psitacus <walther.johnson@ucalgary.ca>
Co-authored-by: WBHarry <williambjrklund@gmail.com>
2025-07-13 03:07:22 +02:00
.github Update issue templates (#196) 2025-06-28 15:36:01 -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 Iss4 - create a way to attach attach items to armor and weapons (#310) 2025-07-13 03:07:22 +02:00
module Iss4 - create a way to attach attach items to armor and weapons (#310) 2025-07-13 03:07:22 +02:00
src/packs Compendium Reorg (#94) 2025-05-31 22:20:10 +02:00
styles Iss4 - create a way to attach attach items to armor and weapons (#310) 2025-07-13 03:07:22 +02:00
templates Iss4 - create a way to attach attach items to armor and weapons (#310) 2025-07-13 03:07:22 +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 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
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 Rebuilt package.lock 2025-06-22 14:47:53 +02:00
package.json Added gulp to build step in deploy 2025-06-22 15:06:45 +02: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 159 - Companion (#224) 2025-07-01 17:19:41 +02:00
rollup.config.mjs File Structure Rework (#262) 2025-07-05 00:26:33 +02:00
system.json File Structure Rework (#262) 2025-07-05 00:26:33 +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.