This is a FoundryVTT module for the **5e, SFRPG, SWADE, Old-School Essentials, Dungeon World, and Simple Worldbuilding (as of now) systems. It allow macros to be saved inside of an item and for various different ways to execute macros.
You can execute the macro from the "item" class using the executeMacro(...args) function, from the character sheet (if the settings are satisfied to do so), from the hotbar using the default rollItemMacro function for your system (if the settings are satisfied to do so), or from token-action-hud.
https://github.com/Kekilla0/Item-Macro/releases/download/v1.5.3/module.json
Once activated, open an Item Sheet, click on the Item Macro button to open the Macro window.
Various different settings will change the way Item Macro interacts with the game server.
With no settings enabled, you can still execute the macro that is saved in the item, perfect for macros!
Added context menu support allowing GM users to mass update item-macros on like named items throughout the game! (the context menu is on items in the game directory, will update all item-macros in the item-directory, actor items, and token items)
item
, speaker
, actor
, token
, character
, and event
constants. This is recognized as the macro itself. Pass an event as the first argument.game.worldbuilding.rollItemMacro(itemNameString)
.new Roll
system macro.For questions, feature requests, or bug reports, feel free to contact me on the Foundry Discord (honeybadger#2614) or open an issue here directly.
This Foundry VTT module, writen by Kekilla, is licensed under a MIT License.
This work is licensed under Foundry Virtual Tabletop EULA - Limited License Agreement for module development.