Daggerheart: Resource Macros
A Foundry VTT module designed for the Daggerheart system. It automatically triggers macros whenever the global Fear resource or a player character's Hope resource changes.
This allows Game Masters to automate events, send chat messages, or trigger visual effects exactly when Fear goes up, Hope runs out, or any other threshold is crossed.
A simple example of a chat message displayed when Fear changes:
✨ Features
- Fear Triggers: Detects changes in the global Daggerheart Fear resource.
- Hope Triggers: Detects changes in Hope for every player-owned character.
- Dynamic Limits: Automatically respects the maximum Fear value configured in the system settings (no longer fixed at 12).
- Configurable Macros: Assign different macros for each trigger event (see below).
Resource.Message()API: A simple function you can call inside any macro to send a styled Daggerheart chat card, with optional text, background image, and sound.
🚀 Getting Started
This module includes a Compendium Pack named Resource Macros containing basic examples.
- Go to the Compendium Packs tab in Foundry VTT.
- Locate Resource Macros.
- Import the macros into your world.
- The module settings are pre-configured to use these default names.
⚙️ Configuration
Go to the Module Settings tab in Foundry VTT to configure the behavior.
Fear Triggers
| Trigger | Description |
|---|---|
| Macro: Increase Fear | Runs when Fear goes UP (but has not yet reached the maximum). |
| Macro: Decrease Fear | Runs when Fear goes DOWN (but has not yet reached 0). |
| Macro: Fear Max | Runs when Fear reaches the maximum value defined in system settings. |
| Macro: Fear Min | Runs when Fear reaches exactly 0. |
Hope Triggers
| Trigger | Description |
|---|---|
| Macro: Increase Hope | Runs when a player character's Hope goes UP (but has not yet reached the maximum). |
| Macro: Decrease Hope | Runs when a player character's Hope goes DOWN (but has not yet reached 0). |
| Macro: Hope Max | Runs when Hope reaches the character's maximum value. |
| Macro: Hope Zero | Runs when Hope reaches exactly 0. |
Note: All triggers execute only on the GM's client to prevent duplicate effects. Hope macros receive the
actorvariable in scope, so you can reference the character who triggered the change inside the macro script.
🧰 My Daggerheart Modules
| Module | Description |
|---|---|
| 💀 Adversary Manager | Scale adversaries instantly and build balanced encounters in Foundry VTT. |
| 🌟 Best Modules | A curated collection of essential modules to enhance the Daggerheart experience. |
| 🐉 Colossus | Manage massive multi-part boss encounters with independent HP per part and a single shared stress pool. |
| 💥 Critical | Animated Critical. |
| 💠 Custom Stat Tracker | Add custom trackers to actors. |
| ☠️ Death Moves | Enhances the Death Move moment with a dramatic interface and full automation. |
| 📏 Distances | Visualizes combat ranges with customizable rings and hover calculations. |
| 📦 Extra Content | Homebrew for Daggerheart. |
| 🤖 Resource Macros | Automatically executes macros when the Fear or Hope resource changes. |
| 😱 Fear Tracker | Adds an animated slider bar with configurable fear tokens to the UI. |
| 🧟 Horde | Explode single horde tokens into dozens of individual tokens and manage their movement and stats automatically. |
| 🎁 Mystery Box | Introduces mystery box mechanics for random loot and surprises. |
| ⚡ Quick Actions | Quick access to common mechanics like Falling Damage, Downtime, etc. |
| 📜 Quick Rules | Fast and accessible reference guide for the core rules. |
| 🎲 Stats | Tracks dice rolls from GM and Players. |
| 🧠 Stats Toolbox | Import using a statblock. |
| 🛒 Store | A dynamic, interactive, and fully configurable store for Foundry VTT. |
| 🔍 Unidentified | Obfuscates item names and descriptions until they are identified by the players. |
🗺️ Adventures
| Adventure | Description |
|---|---|
| ✨ I Wish | A wealthy merchant is cursed; one final expedition may be the only hope. |
| 💣 Suicide Squad | Criminals forced to serve a ruthless master in a land on the brink of war. |


