A tick based combat system for Foundry Virtual Tabletop
Find a file
Renovate Bot 893aa27324
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
chore(deps): update dependency eslint to v8.49.0
2023-09-09 09:01:00 +00:00
.gitea/ISSUE_TEMPLATE ci: switch to gitea + woodpecker 2023-07-10 00:18:44 +02:00
.reuse feat: initial commit 2022-05-16 02:08:27 +02:00
.vscode chore: update yarn and sdks 2023-07-10 01:24:08 +02:00
.woodpecker ci: switch to gitea + woodpecker 2023-07-10 00:18:44 +02:00
.yarn chore(deps): update yarn to v3.6.3 2023-08-23 23:01:30 +00:00
lang feat: integrate with ds4 item roll functionality 2022-05-19 03:25:18 +02:00
LICENSES feat: initial commit 2022-05-16 02:08:27 +02:00
src fix: correctly calculate tick value when stopping to wait 2023-07-10 02:17:05 +02:00
styles feat: initial commit 2022-05-16 02:08:27 +02:00
templates feat: update for v10 2022-11-28 00:52:31 +01:00
tools fix: use correct tick value for combatants joining later 2023-07-10 01:01:38 +02:00
.editorconfig feat: initial commit 2022-05-16 02:08:27 +02:00
.eslintignore feat: initial commit 2022-05-16 02:08:27 +02:00
.eslintrc.cjs feat: update for v10 2022-11-28 00:52:31 +01:00
.gitignore feat: update for v10 2022-11-28 00:52:31 +01:00
.nvmrc feat: initial commit 2022-05-16 02:08:27 +02:00
.nvmrc.license feat: initial commit 2022-05-16 02:08:27 +02:00
.prettierignore feat: initial commit 2022-05-16 02:08:27 +02:00
.prettierrc.cjs feat: initial commit 2022-05-16 02:08:27 +02:00
.yarnrc.yml chore(deps): update yarn to v3.6.3 2023-08-23 23:01:30 +00:00
.yarnrc.yml.license feat: initial commit 2022-05-16 02:08:27 +02:00
commitlint.config.cjs feat: initial commit 2022-05-16 02:08:27 +02:00
jsconfig.json fix: correctly calculate tick value when stopping to wait 2023-07-10 02:17:05 +02:00
jsconfig.json.license feat: update for v10 2022-11-28 00:52:31 +01:00
LICENSE.md feat: initial commit 2022-05-16 02:08:27 +02:00
module.json chore(release): 1.4.0 2023-07-10 00:25:20 +00:00
module.json.license feat: initial commit 2022-05-16 02:08:27 +02:00
package.json chore(deps): update dependency eslint to v8.49.0 2023-09-09 09:01:00 +00:00
package.json.license feat: initial commit 2022-05-16 02:08:27 +02:00
README.md docs: fix readme 2023-07-10 00:39:30 +02:00
renovate.json chore: enable renovate lockFileMaintenance 2022-07-25 01:57:06 +02:00
renovate.json.license feat: initial commit 2022-05-16 02:08:27 +02:00
rollup.config.js ci: run commitlint in ci 2022-11-28 01:04:49 +01:00
tsconfig.json.license feat: initial commit 2022-05-16 02:08:27 +02:00
yarn.lock chore(deps): update dependency eslint to v8.49.0 2023-09-09 09:01:00 +00:00
yarn.lock.license feat: initial commit 2022-05-16 02:08:27 +02:00

Tickwerk

status-badge REUSE status Forge installs Supported foundry versions Ko-fi

A tick based combat system for Foundry Virtual Tabletop.

This module adjusts the combat to use ticks instead of rounds for tracking time. It has special integration with the Dungeonslayers 4 system, based on the fanwork “Tickwerk”, but is also be adaptable to other systems.

Installation

To install and use the Tickwerk module for Foundry Virtual Tabletop, find it in the list in the Install Module dialog on the Setup menu of the application. Alternatively, paste the following Manifest URL in that dialog:

https://git.f3l.de/api/packages/dungeonslayers/generic/tickwerk/latest/module.json

Development

Prerequisites

In order to build this module, recent versions of node and yarn are required. Most likely using npm also works but only yarn is officially supported. We recommend using the latest lts version of node. If you use nvm to manage your node versions, you can simply run

nvm install

in the project's root directory.

You also need to install the project's dependencies. To do so, run

yarn install

Building

You can build the project by running

yarn build

Alternatively, you can run

yarn watch

to watch for changes and automatically build as necessary.

Linking the built package to Foundry VTT

In order to provide a fluent development experience, it is recommended to link the built package to your local Foundry VTT installation's data folder. In order to do so, first add a file called foundryconfig.json to the project root with the following content:

{
  "dataPath": "<path to your home directory>/.local/share/FoundryVTT"
}

On platforms other than Linux you need to adjust the path accordingly.

Then run

yarn link-package

Running the tests

You can run the tests with the following command:

yarn test

Contributing

Code and content contributions are accepted. Please feel free to submit issues to the issue tracker or submit merge requests for code changes.

Licensing

This project is being developed under the terms of the LIMITED LICENSE AGREEMENT FOR MODULE DEVELOPMENT for Foundry Virtual Tabletop.

The project itself is licensed under multiple licenses. REUSE is used to specify the licenses for the individual files. Most of the licenses are specified either inside the source file or by an accompanying .license file, but for some files, the licenses are specified in .reuse/dep5.