Foundry: TOR 2e - Lore Table (FVTT v12)
2 years ago// MACRO NAME: LORE TABLE
// MACRO TYPE: script
// REQUIRED TABLES: Lore-Action, Lore-Aspect, Lore-Aspect
// copy and paste from below this line:
const table1 = await game.tables.getName("Lore-Action").roll();
const table2 = await game.tables.getName("Lore-Aspect").roll();
const table3 = await game.tables.getName("Lore-Focus").roll();Foundry: TOR 2e - Fortune Table (FVTT v12)
2 years ago// MACRO NAME: FORTUNE TABLE
// MACRO TYPE: script
// REQUIRED TABLES: Fortune, Ill-Fortune
// copy and paste from below this line:
let message;
async function printMessage(table) {
let roll = await table.roll()
Tables are from Strider Mode
// MACRO NAME: REVELATION EPISODE
// MACRO TYPE: script
// REQUIRED TABLES: Revelation-Episode
// copy and paste from below this line:
const table1 = await game.tables.getName("Revelation-Episode").roll();
const result1 = table1.results[0].text;
Tables are from Strider Mode
// 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;
Tables are from Strider Mode
// MACRO NAME: TELLING TABLE
// MACRO TYPE: script
// REQUIRED TABLES: Telling-Certain, Telling-Likely, Telling-Middling, Telling-Doubtful, Telling-Unthinkable
// copy and paste from below this line:
let message;
async function printMessage(table) {
let roll = await table.roll()