module

Rolltable Requester

Endorsements
0
Installs
0.28%
Comments
0
Latest version1.2.0
Minimum Core9
Compatible Core9
Last updated1 month ago
Created10 months ago
Authors
Languages English
French
Systems All systems
Dependencies socketlib
Project source Project URL

Rolltables (or rollable tables, or random tables) are a great way to fuel ideas and add a bit of randomness to your games. They are often used ahead of time to set up a session or as part of world-building. However, they are also sometimes used directly within a game. The issue with rolling on a rolltable in Foundry is that accessing them as players is awkward.

This module makes it easier to use rolltables during your game and involve your players. If you want to give your players Observer access to your tables so they can open them and roll on them, then you don't need this module. If you want them to be able to roll but not see the full list (or even the result), then this may be the module you are looking for. waves hand like a Jedi

Features

Adds options to the context (right-click) menu of the rolltables:

  • Make Roll
    • Performs the roll in public and displays the results to GM only.
  • Request Named Roll
    • Displays a chat card with a button asking a player to click it to roll on the table which is named. When they click it, the roll happens just as with the 'Make Roll' option.
  • Request Blind Roll
    • Displays the same chat card prompt, but without the name of the table.
  • Request Descriptive Roll
    • This is like the named roll except that it will also display the rolltable description.

Provides API access to making and requesting rolls above, so you can add them to macros.

If you give Limited access to a rolltable to a player, they can access the 'Make Roll' option, providing a self-service way for them to roll without being able to see the full list of options.

API

The following functions are available:

// Options = { blind: boolean; description: boolean; }
RolltableRequester.requestRollById(tableId, opts);
RolltableRequester.requestRollByName(tableName, opts);

RolltableRequester.makeRollById(tableId);
RolltableRequester.makeRollByName(tableName);
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x