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
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.
- 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
It's always easiest to install modules from the in game add-on browser.
To install this module manually:
- Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
- Click "Install Module"
- In the "Manifest URL" field, paste the following url:
https://raw.githubusercontent.com/p4535992/foundryvtt-choices-plus/master/src/module.json
- Click 'Install' and wait for installation to complete
- Don't forget to enable the module in game using the "Manage Module" button
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.
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.
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.
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)
npm install
dev
will let you develop you own code with hot reloading on the browser
npm run dev
build
will build and set up a symlink between dist
and your dataPath
.
npm run build
build:watch
will build and watch for changes, rebuilding automatically.
npm run build:watch
prettier-format
launch the prettier plugin based on the configuration here
npm run-script prettier-format
lint
launch the eslint process based on the configuration here
npm run-script lint
lint:fix
launch the eslint process with the fix argument
npm run-script lint:fix
build:json
unpack LevelDB pack on src/packs
to the json db sources in src/packs/_source
very useful for backup your items and manually fix some hard issue with some text editor
npm run-script build:json
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
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
Any issues, bugs, or feature requests are always welcome to be reported directly to the Issue Tracker, or using the Bug Reporter Module.
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.
A special ty to the original authors theRipper93, for the idea , the inspiration and the initial template.
- theRipper93 and the module choices
- Forien and the module (https://github.com/Foundry-Workshop/Item-Macro/blob/master/LICENSE)
- teroparvinen and the module Improved Macro Editor
- antonmedv and the project CodeJar