mclemente / simplefog

A module for FoundryVTT that lets you draw fog of war manually
MIT License
5 stars 0 forks source link

GitHub release GitHub release (latest by SemVer and asset)

ko-fi

Simple Fog

A module for FoundryVTT that lets you draw fog of war manually.

Feature Overview Video

Encounter Library did a review of Simple Fog which explains how it works much better than I can, please check it out if you would like an idea how this module works.

Feature Overview

Features

Tools Palette

Scene Configuration

Allows you to set various options which affect the entire layer for the current scene

Scene Configuration Screenshot

Planned Future Features

Build

Install all packages

npm install

npm build scripts

build

will build the code and copy all necessary assets into the dist folder and make a symlink to install the result into your foundry data; create a foundryconfig.json file with your Foundry Data path.

{
  "dataPath": "~/.local/share/FoundryVTT/"
}

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

npm run-script build

NOTE:

You don't need to build the foundryconfig.json file you can just copy the content of the dist folder on the module folder under modules of Foundry

build:watch

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

npm run-script build:watch

clean

clean will remove all contents in the dist folder (but keeps the link from build:install).

npm run-script clean

prettier-format

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

npm run-script prettier-format

package

package generates a zip file containing the contents of the dist folder generated previously with the build command. Useful for those who want to manually load the module or want to create their own release

npm run-script package

Changelog

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

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

Credit