Skip to content

p4535992/foundryvtt-choices-plus

 
 

Repository files navigation

Choices Plus

Latest Release Download Count

Forge Installs

Foundry Core Compatible Version

Latest Version

Foundry Hub Endorsements

GitHub all releases

Translation status

Module for creating small scenes with multiple choices novel game style, with a powerful api you can create a chain of choice for your players.

Note: This is module is inspired from the wonderful work done by theRipper93 with its Choices module. If you want to support more modules of this kind, I invite you to go and support his patreon

alt-text alt-text

and if you feel generous you can to buy me a coffee alt-text

A special ty to Forien for the modue Item Macro, and to teroparvinen for module Improved Macro Editor from which I have taken some module functionality.

Features

  • Module for creating small scenes with multiple choices novel game style, with a powerful api you can create a chain of choice for your players.
  • [Experimental] Integration with Forien's Easy Polls

NOTE these video are pretty old the new Choices Plus has a much better behaviour, but just for guve you a hint about the result you can obtain with this module

From version 1.0.8 a lot of features are been added to set up the choices directly on the actor (like item macro do)

A special ty to Forien for the module (https://github.com/Foundry-Workshop/Item-Macro/blob/master/LICENSE) and teroparvinen for the module Improved Macro Editor for inspired me on how to implement the code.

The result is pretty neat

NOTE:

  • GM can activate the hoice with the new token hud button
  • PLAYER can activate the choice with the double right click on the token

Installation

It's always easiest to install modules from the in game add-on browser.

To install this module manually:

  1. Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
  2. Click "Install Module"
  3. In the "Manifest URL" field, paste the following url: https://raw.githubusercontent.com/p4535992/foundryvtt-choices-plus/master/src/module.json
  4. Click 'Install' and wait for installation to complete
  5. Don't forget to enable the module in game using the "Manage Module" button

libWrapper

This module uses the libWrapper library for wrapping core methods. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.

socketLib

This module uses the socketLib library for wrapping core methods. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.

Color Settings

This module uses the colorsettings library for add a color picker. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.

Api

All informations about the api can be found here API

API Chat (Deprecated remain for retro compatibility)
API Chat Japaness (Deprecated remain for retro compatibility)

Build

Install all packages

npm install

dev

dev will let you develop you own code with hot reloading on the browser

npm run dev

build

build will build and set up a symlink between dist and your dataPath.

npm run build

build:watch

build:watch will build and watch for changes, rebuilding automatically.

npm run build:watch

prettier-format

prettier-format launch the prettier plugin based on the configuration here

npm run-script prettier-format

lint

lint launch the eslint process based on the configuration here

npm run-script lint

lint:fix

lint:fix launch the eslint process with the fix argument

npm run-script lint:fix

build:json

build:json unpack LevelDB pack on src/packs to the json db sources in src/packs/_sourcevery useful for backup your items and manually fix some hard issue with some text editor

npm run-script build:json

build:clean

build:clean clean packs json sources in src/packs/_source. NOTE: usually this command is launched after the command build:json and after make some modifications on the json source files with some text editor, but before the build:db

npm run-script build:clean

build:db

build:db packs the json db sources in src/packs/_source to LevelDB pack on src/packs with the new jsons. NOTE: usually this command is launched after the command build:json and after make some modifications on the json source files with some text editor

npm run-script build:db

Issues

Any issues, bugs, or feature requests are always welcome to be reported directly to the Issue Tracker, or using the Bug Reporter Module.

License

All the images used in this module are generated with bing create under these term of use

This package is under an MIT license and the Foundry Virtual Tabletop Limited License Agreement for module development.

Credit

A special ty to the original authors theRipper93, for the idea , the inspiration and the initial template.

About

Module for creating small scenes with multiple choices novel game style, with a powerful api you can create a chain of choice for your players.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.0%
  • CSS 6.0%
  • Other 1.0%