Skip to content

Macros and API

Rutz edited this page Oct 23, 2026 · 1 revision

Macros & API

Available after the world is ready, as game.rutzBuilder.

Call What it does
game.rutzBuilder.open(actor) Opens the builder for a character. open(null) starts a new character.
game.rutzBuilder.familiar(actor) Opens the Familiar Builder.
game.rutzBuilder.compare(actor) Opens the comparison for that character's plans.
game.rutzBuilder.quickApply(actor) Applies the main plan up to the character's current level (same as the level-up card's button).
game.rutzBuilder.reloadIndex() Re-reads the compendiums (after changing packs).

Example macro — open the builder for the selected token, else your character:

const actor = canvas.tokens.controlled[0]?.actor ?? game.user.character;
game.rutzBuilder.open(actor ?? null);

Clone this wiki locally