Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.39 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.39 KB

Simultaneous Cards

A system-agnostic Foundry module for the simultaneous choice of cards between all the players and the GM!

How to Use

  1. Install the module
  2. Add some tokens on the scene
  3. In the token tools, click the Simultaneous Cards button, or create a macro (see below)
  4. Configure the participants
  5. Choose your cards and reveal them!
Click to see the demo

Macro

Instead of using the control button, you can create your own macro with one of the following lines of code:

// Create a new instance.
game.simoc.app.create();

// Add the ID or name of a cards stack to filter out the others.
game.simoc.app.create('abcd1234');

// You can add more than one ID or name.
game.simoc.app.create(['abcd1234', 'efgh5678']);

Contributing

Setup

# Install the Node packages
npm install

# Build the distribution
npm run dev

# Then link the project
# Unix
ln -s dist/* /absolute/path/to/foundry/data/module-name

# Windows
mklink /J /absolute/path/to/link /absolute/path/to/this/repo/dist

License

GPLv3

This module contains parts of the SWADE game system licensed under the Apache 2.0 license.