Foundry: TOR 2e - Journey Events
Tables are from Strider Mode9littlebees
plain_text
3 years ago
526 B
450
Indexable
// 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].data.text;
const content = `<div style="text-align:center">
${result1}
</div>`;
ChatMessage.create({content});Editor is loading...