Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
Issues/282 (#303)
Browse files Browse the repository at this point in the history
* Effect reflow options. Improved Action Mgmt performance.

Closes #282

* submodule workflow update

* honeywrap update
  • Loading branch information
trioderegion authored Jul 31, 2022
1 parent 9f88470 commit 0088671
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 70 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout Repo w/Submodules
uses: actions/checkout@v3
with:
submodules: recursive

# Substitute the Manifest and Download URLs in the module.json
# for a FULL RELEASE
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "scripts/lib/honeywrap"]
path = scripts/lib/honeywrap
url = https://github.com/trioderegion/honeywrap.git
branch = v9
7 changes: 5 additions & 2 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"setting.debug.hint": "Logs additional debugging information to the console.",

"setting.effectIconScale.name": "Status Effect Scale",
"setting.effectIconScale.hint": "Multiplier applied to the default icon size of 20px",
"setting.effectIconScale.hint": "Requires 'Reflow Effects.' Multiplier applied to the default icon size of 20px",
"setting.reflowEffects.name": "Reflow Effects",
"setting.reflowEffects.hint": "Changes token status icons to a horizontal layout to better accommodate Action Management HUD.",

"DND5EH.ConfigApp.title": "DnD5e Helpers Configuration",
"DND5EH.ConfigApp.return": "Back",
Expand Down Expand Up @@ -130,7 +132,8 @@
"setting.wmWhisper.hint":"Whispers all rolls and table results to the GM",

"setting.actionMgmtEnable.name": "Enable Combat Action Management",
"setting.actionMgmtEnable.hint": "Enables action tracking during combat. Displaying usage of actions, bonus actions, and reactions.",
"setting.actionMgmtEnable.hint": "Enables action tracking during combat. Displaying usage of actions, bonus actions, and reactions. Enabling for all tokens allows manual management while any combat exists on current scene.",
"option.globalShowMgmt": "Enabled (All Tokens)",
"setting.actionsAsStatus.name": "Display Used Actions as Status Effect",
"setting.actionsAsStatus.hint": "Displaying used actions in this way allows non-owners to see which actions an actor has used this round.",
"option.actionsAsStatus.onlyReaction": "Only Reactions",
Expand Down
1 change: 1 addition & 0 deletions scripts/lib/honeywrap
Submodule honeywrap added at acb940
9 changes: 9 additions & 0 deletions scripts/module.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
import { logger } from './logger.js';
import { HelpersSettingsConfig } from './apps/config-app.js';
import { HoneyWrap } from './lib/honeywrap/shim.js'

const NAME = "dnd5e-helpers";
const PATH = `/modules/${NAME}`;
const TITLE = "DnD5e Helpers";


/**
* @class
* @property {Function} patch
*/
export class MODULE{
static async register(){
logger.info("Initializing Module");
MODULE.settings();
MODULE.globals();
HoneyWrap.register(MODULE, MODULE.data.name);
}

static async build(){
Expand All @@ -23,6 +29,9 @@ export class MODULE{
game.dnd5e.helpers = {};
}

/**
* @returns any
*/
static setting(key){
return game.settings.get(MODULE.data.name, key);
}
Expand Down
Loading

0 comments on commit 0088671

Please sign in to comment.