Skip to content
 
 

Repository files navigation

Interested in following along with development of any of my modules? Join the Discord server.

Visual Active Effects

Visualize your active effects.

While the module is enabled, all temporary effects (including status conditions) affecting your current token will be displayed in the top right.

  • Double-clicking an effect will toggle it between enabled and disabled.
  • Right-clicking an effect will let you delete it. A GM can shift-right-click an effect for quick deletion.
  • Ctrl-double-clicking an effect will open its config.

Visual Active Effects Example

Module and System Requirements

None.

For Module Developers

Visual Active Effects supports adding your own buttons into the descriptions. You can hook into the template data creation using the hook "visual-active-effects.createEffectButtons" and push your button to the array. Example that creates a toggle button in a description, only if the effect is named 'Steve':

Hooks.on("visual-active-effects.createEffectButtons", function(eff, buttons) {
  if (eff.name === "Steve") {
    buttons.push({
      label: "Toggle",
      callback: function() {
        eff.update({disabled: !eff.disabled});
      }
    });
  }
});

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages