This is a web-app for managing the monster ability decks in the board game Gloomhaven
You can run it from the web directly on https://johreh.github.io/gloomycompanion/.
You can also download it and run it locally without internet connection. Click Clone or download above, then Download ZIP. Unpack the ZIP and start the app by opening index.html
.
If you want to add new cards, you need to update cards.js
. The decks has the following syntax:
{ name: "Name of monster"
, cards:
[ [false, "42", "* First line", "** sub-line 1", "** sub-line 2", "* Second line"]
, [true, "55", "* Card text"]
]
}
The value in the first column is true
if the deck shall be reshuffled after that card, false
otherwise. The second colum is card initiative value. The following values is the card text, one row per column.
A single *
means a top-level action. Double asterisk **
means it modifies the previous action. Commonly used text snippets can be expanded using macros. E.g. %move%
expands to the text Move followed by the move icon, %immobilize%
expands to IMMOBILIZE followed by the immobilization icon. The list of available macros can be seen in macros.js
.
- Clone the repository
- Run the
gen-manifest.sh
script (Linux and MacOS only; you'll have to make theapp.manifest
by hand if you are running Windows)
Any time a source/asset file is added or removed, re-run the above manifest generation script. Or manually make the appropriate change to the manifest instead.