Coder Social home page Coder Social logo

mparker546 / foundryvtt-special-dice-roller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bernhardposselt/foundryvtt-special-dice-roller

0.0 0.0 0.0 6.79 MB

A FoundryVTT module for testing different dice

License: GNU Affero General Public License v3.0

JavaScript 0.94% TypeScript 97.76% CSS 1.30%

foundryvtt-special-dice-roller's Introduction

Special Dice Roller

Build Status

Supports rolling dice in your chat window for various non regular dice systems:

  • Legend of the 5 Rings 5th edition
  • Vampire the Masquerade 5th edition
  • Genesys
  • FFG's Star Wars TTRPG

L5R, Genesys and Star Wars images are taken from SkyJedi's Discord Roller Vampire the Masquerade images are taken from and Lumi#5953's Thirst Discord bot.

Installation

Go to your setup page and click on the Add-on Modules Tab.

Hit the button Install Module at the bottom.

Insert the module URL https://github.com/BernhardPosselt/foundryvtt-special-dice-roller/raw/master/module.json and click Install.

After you've launched your game, go to the Game Settings page and click on Manage Modules. Enable the Special Dice Roller app and hit Save Module Settings.

Usage

You can roll a system by starting your message with the following string:

  • Legend of the 5 Rings: /l5r
  • FFG Star Wars: /sw
  • FFG Genesys: /gen
  • Vampire the Masquerade: /v5

Then supply a dice formula separated with a space. The formula consists of dice letters that are optionally prefixed with a number.

A full roll example would be /l5r rrs or /l5r 2rs.

Usage L5R

Roll Legend of the 5 Rings 5th edition dice in the chat window. Auto rolls exploding successes and let's you keep/re-roll selected dice.

Use the /l5r command using the following dice letters:

  • r, b: ring
  • s, w: skill

roller usage

You can choose to either keep or re-roll certain dice. To do that, click on the dice to select them and hit either button. Re-rolled dice are removed from the roll and new rolls are attached at the end.

Usage Genesys/Star Wars

Usage is similar to L5R but re-rolls and keeping dice is unsupported. Use the /gen or /sw commands using the following dice letters:

  • b: boost
  • s: setback
  • a: ability
  • d: difficulty
  • p: proficiency
  • c: challenge
  • f: force (sw only)

roller usage

Usage Vampire the Masquerade

Usage is similar to L5R but keeping dice is unsupported. Use the /v5 command using the following dice letters:

  • b, s: skill dice
  • h, r: hunger dice

You can choose to re-roll certain dice. To do that, click on the dice to select them and hit the re-roll button. Re-rolled dice are highlighted with a green border.

roller usage

Building the Project

Install yarn and run:

yarn install
yarn build

Tests use Jest and are run via:

yarn test

TSLint is used to lint files on build. You can run it separately via

yarn run lint

and fix simple errors automatically via:

yarn run fix

The relevant files and folders that need to be included in your (local) FoundryVTT module folder are:

  • module.json
  • dist/
  • public/

Further development documentation is included in the docs/ folder.

foundryvtt-special-dice-roller's People

Contributors

bernhardposselt avatar smunkel avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.