Register

LD Triggerz

An Add-on Module for Foundry Virtual Tabletop

Author: Lisa's Dungeon Project: Source Foundry Versions 13 to 14 (Verified 14) Last Updated 2 days, 8 hours ago

LD Triggerz

System-agnostic trigger automation and condition control for Foundry VTT.

LD Triggerz lets you build reactive rules that watch actor and token data, then automatically apply, remove, or toggle conditions — or run a macro — when the data crosses the threshold you set. No scripting required.


Features


Installation

  1. Download ld-triggerz.zip from the latest release.
  2. In Foundry VTT, go to Add-on Modules → Install Module.
  3. Paste the manifest URL or upload the zip directly.
  4. Enable LD Triggerz in your world's Module Management settings.
  5. Reload when prompted.

Manifest: https://github.com/lisasdungeon/ld-triggerz/releases/latest/download/module.json


Opening the GM Hub

Everything runs through the GM Hub. You have two ways to open it:

The hub header shows a live count of your saved triggers, saved conditions, and currently selected tokens.


Quick Start

1. Build a Condition

A condition is what gets applied to an actor. It can be a native Foundry status effect, a CSB status, or a fully custom homebrew condition.

  1. Open the GM Hub.
  2. In the Condition Builder (left side), pick a status from Foundry/CSB Status or leave it on Custom status.
  3. Enter a Condition ID (lowercase with hyphens, e.g. bloodied) and a Condition Name (e.g. Bloodied).
  4. Set an Icon Path if you want a specific icon. Default is icons/svg/aura.svg.
  5. Add a Description if it helps you remember what the condition does.
  6. Expand Advanced Effect Changes if you want the condition to modify actor data through ActiveEffects.
  7. Click Save Condition.

2. Build a Trigger

A trigger watches a data path and fires when the comparison matches.

  1. In the Trigger Builder (right side), enter a Trigger Name (e.g. HP Half Check).
  2. Pick an Actor Path from the dropdown or enter a Custom Path (e.g. system.hp.value).
  3. Choose an Operator (Equals, Less than, Greater than, etc.).
  4. Enter a Value to compare against. This can be:
    • A raw number (10)
    • A percentage (50%)
    • Another actor data path (system.hp.max)
  5. Set a Compare Path if you are using a percentage value.
  6. Choose the Scope (All actors, PC only, NPC only).
  7. Tick Ignore Zero if you want the trigger to skip when the watched value is exactly 0.
  8. Choose an Action:
    • None – no direct action; use this for linked condition workflows.
    • Apply condition – applies a saved condition to the actor.
    • Remove condition – removes a saved condition from the actor.
    • Toggle condition – toggles a saved condition on the actor.
    • Run macro – runs a Foundry macro by ID.
  9. Click Save Trigger.

3. Link a Condition to Triggers

  1. Edit a saved condition.
  2. In the Apply Trigger dropdown, select the trigger that should apply the condition.
  3. In the Remove Trigger dropdown, select the trigger that should remove it.
  4. Save the condition.

Now the full lifecycle runs automatically.


Selected Tokens

The top-left panel of the GM Hub shows your currently selected tokens. Choose a condition from the dropdown (or type a custom condition ID), then click:


Import / Export

Your triggers and conditions are saved as Foundry world settings. To back them up or share them:

  1. Open the Advanced Import / Export section at the bottom of the GM Hub.
  2. Click Export to copy the JSON to your clipboard.
  3. Click Import to load JSON from the textarea.

Compatibility


Support


License

Lisa's Dungeon Proprietary License. All rights reserved.


Generative AI Content Declaration

This package contains no generative AI content. All user-facing prepared content written text, visual media, audio media, software code, and marketing materials was created by a human author without the use of generative AI tools.

This package does not invoke AI generation at runtime and does not ship AI-generated assets or models.

See GENERATIVE_AI_CONTENT_DECLARATION.md for the full declaration.


Development

npm install
npm run check
 

To build a release zip:

./scripts/build-release.sh
 

The zip is written to ../../zips/ld-triggerz-<version>.zip.

To regenerate PDF collateral after editing the script content:

python3 -m venv .pdf-venv
.pdf-venv/bin/pip install reportlab
.pdf-venv/bin/python scripts/generate-pdfs.py
rm -rf .pdf-venv

 

Categories

Available Versions

  1. Version V1.0.3

    2 days, 8 hours ago
    Foundry Version 13 - 14 (Verified 14) Manifest URL Read Notes