Skip to content

Commit

Permalink
Merge pull request #4 from ortegamarcel/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ortegamarcel authored May 6, 2023
2 parents d71e698 + 5f90542 commit e04441a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Token Action HUD is a repositionable HUD of actions for a selected token.
## Method 1
1. On Foundry VTT's **Configuration and Setup** screen, go to **Add-on Modules**
2. Click **Install Module**
3. In the Manifest URL field, paste: `https://github.com/ortegamarcel/fvtt-token-action-hud-TheWitcherTRPG/releases/latest/download/module.json`
3. In the Manifest URL field, paste: `https://github.com/ortegamarcel/fvtt-token-action-hud-thewitchertrpg/releases/latest/download/module.json`
4. Click **Install** next to the pasted Manifest URL

## Required Modules
Expand All @@ -32,7 +32,7 @@ Token Action HUD is a repositionable HUD of actions for a selected token.
Token Action HUD uses either the [Color Picker](https://foundryvtt.com/packages/color-picker), [libThemer](https://foundryvtt.com/packages/lib-themer) or [VTTColorSettings](https://foundryvtt.com/packages/colorsettings) library modules for its color picker settings. Only one is required.

# Known issues
**The Skills HUD doesn't work on TheWitcherTRPG v0.96**. The [Witcher-system](https://github.com/AnthonyMonette/TheWitcherTRPG) v0.96 currently doesn't expose the necessary function to do skill rolls. That's why skills currently don't work. If you don't want to wait for a fix, you can use [this version]() of the system. This is a fork from the original that already includes a fix and some other features, like [improved inventory](https://github.com/ortegamarcel/TheWitcherTRPG/pull/2) and [zoomable images](https://github.com/ortegamarcel/TheWitcherTRPG/pull/8).
**The Skills HUD doesn't work on TheWitcherTRPG v0.96**. The [Witcher-system](https://github.com/AnthonyMonette/TheWitcherTRPG) v0.96 currently doesn't expose the necessary function to do skill rolls. That's why skills currently don't work. If you don't want to wait for a fix, you can use [this version]() of the system. This is a fork from the original that already includes a fix and some other features, like [improved inventory](https://github.com/ortegamarcel/TheWitcherTRPG/wiki/Features#improved-inventory) and [zoomable images](https://github.com/ortegamarcel/TheWitcherTRPG/wiki/Features#zoomable-images).

Alternatively you can paste the following code into **row 2635** of `<foundry_path>\Data\systems\TheWitcherTRPG\module\sheets\WitcherActorSheet.js` **before the `}`**.

Expand Down Expand Up @@ -62,6 +62,6 @@ It should look like this:

# Support

For questions, feature requests or bug reports, please open an issue [here](https://github.com/ortegamarcel/fvtt-token-action-hud-TheWitcherTRPG/issues).
For questions, feature requests or bug reports, please open an issue [here](https://github.com/ortegamarcel/fvtt-token-action-hud-thewitchertrpg/issues).

Pull requests are welcome. Please include a reason for the request or create an issue before starting one.
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "fvtt-token-action-hud-TheWitcherTRPG",
"name": "fvtt-token-action-hud-TheWitcherTRPG",
"id": "fvtt-token-action-hud-thewitchertrpg",
"name": "fvtt-token-action-hud-thewitchertrpg",
"title": "Token Action HUD TheWitcherTRPG",
"description": "An integration of Token Action HUD for the system TheWitcherTRPG",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion scripts/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Module-based constants
*/
export const MODULE = {
ID: 'fvtt-token-action-hud-TheWitcherTRPG'
ID: 'fvtt-token-action-hud-thewitchertrpg'
};

/**
Expand Down
4 changes: 2 additions & 2 deletions scripts/roll-handler.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ACTION_TYPE } from "./constants.js";
import { ACTION_TYPE, MODULE } from "./constants.js";
import { Utils } from "./utils.js";

export let RollHandler = null
Expand Down Expand Up @@ -33,7 +33,7 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {
actor.sheet._onSkillRoll.call(actor.sheet, statNum, skillNum);
break;
default:
console.warn(`token-action-hud-TheWitcherTRPG: Unknown action "${action}"`);
console.warn(`${MODULE.ID}: Unknown action "${action}"`);
break;
}

Expand Down

0 comments on commit e04441a

Please sign in to comment.