Foundry: TOR 2e - Journey Events (for Foundry v12)
Tables are from Strider Mode9littlebees
javascript
a year ago
521 B
5
Indexable
TOR 2e Macros for Foundry v12
// MACRO NAME: JOURNEY EVENTS
// MACRO TYPE: script
// REQUIRED TABLES: Journey-Events (itself a nested table containing these tables: Event-Misfortune, Event-Despair, Event-Ill-Choices, Event-Mishap, Event-Shortcut, Event-Meeting, Event-Joyful)
// copy and paste from below this line:
const table1 = await game.tables.getName("Journey-Events").roll();
const result1 = table1.results[0].text;
const content = `<div style="text-align:center">
${result1}
</div>`;
ChatMessage.create({content});Editor is loading...
Leave a Comment