-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from cirrahn/feature/remove-mass-preload
Remove mass effect preload
- Loading branch information
Showing
5 changed files
with
12 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{ | ||
"lancer-weapon-fx.Sound Volume": "Sound Volume", | ||
"lancer-weapon-fx.Sound Volume Hint": "Set a base volume level for all sound effects. Note that for each user, this value is combined with the user's \"Global: Interface\" volume setting (see the \"Playlists\" sidebar tab) to produce their final volume level.", | ||
"lancer-weapon-fx.Preload Effects": "Preload Effects", | ||
"lancer-weapon-fx.Preload Effects Hint": "If enabled, common effects (images and videos) will be pre-loaded when loading the world. Disabling this improves world loading time at the cost of lag the first time an animation is played.", | ||
"lancer-weapon-fx.Debug: Play Miss Animations by Default": "Debug: Play Miss Animations by Default" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import {bindHooks as bindApiHooks} from "./api.js"; | ||
import {bindHooks as bindSettingsHooks} from "./settings.js"; | ||
import {bindHooks as bindPreloaderHooks} from "./preloader.js"; | ||
import {bindHooks as bindModuleCheckHooks} from "./moduleCheck.js"; | ||
import {bindHooks as bindFlowListenerHooks} from "./flow/flowListener.js"; | ||
|
||
bindSettingsHooks(); | ||
bindApiHooks(); | ||
bindPreloaderHooks(); | ||
bindModuleCheckHooks(); | ||
bindFlowListenerHooks(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export const bindHooks = () => { | ||
Hooks.once("sequencer.ready", () => { | ||
// Check if either free or Patreon JB2A module is installed and activated, otherwise return and display an error message. | ||
if (game.modules.get('jb2a_patreon')?.active || game.modules.get('JB2A_DnD5e')?.active) return; | ||
|
||
const message = "Lancer Weapon FX | You need either the Free or the Patreon version of JB2A installed and active for this module to work properly!"; | ||
console.error(`${message} The free version can be found at: https://foundryvtt.com/packages/JB2A_DnD5e`); | ||
ui.notifications.error(message, {permanent: true, console: false}); | ||
}); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters