Remove unused import
This commit is contained in:
parent
8e8aa4caee
commit
dac37eeaa1
2 changed files with 0 additions and 9 deletions
|
@ -2,7 +2,6 @@ import { DS4 } from "../../config";
|
||||||
import { DS4Item } from "../../item/item";
|
import { DS4Item } from "../../item/item";
|
||||||
import { DS4ItemData } from "../../item/item-data";
|
import { DS4ItemData } from "../../item/item-data";
|
||||||
import { DS4Actor } from "../actor";
|
import { DS4Actor } from "../actor";
|
||||||
import { DS4ActorData } from "../actor-data";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The base Sheet class for all DS4 Actors
|
* The base Sheet class for all DS4 Actors
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
// Import Modules
|
|
||||||
import { DS4Actor } from "./actor/actor";
|
import { DS4Actor } from "./actor/actor";
|
||||||
import { DS4Item } from "./item/item";
|
import { DS4Item } from "./item/item";
|
||||||
import { DS4ItemSheet } from "./item/item-sheet";
|
import { DS4ItemSheet } from "./item/item-sheet";
|
||||||
|
@ -21,25 +20,19 @@ Hooks.once("init", async function () {
|
||||||
migration,
|
migration,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Record configuration
|
|
||||||
CONFIG.DS4 = DS4;
|
CONFIG.DS4 = DS4;
|
||||||
|
|
||||||
// Define custom Entity classes
|
|
||||||
CONFIG.Actor.entityClass = DS4Actor;
|
CONFIG.Actor.entityClass = DS4Actor;
|
||||||
CONFIG.Item.entityClass = DS4Item;
|
CONFIG.Item.entityClass = DS4Item;
|
||||||
|
|
||||||
// Define localized type labels
|
|
||||||
CONFIG.Actor.typeLabels = DS4.i18n.actorTypes;
|
CONFIG.Actor.typeLabels = DS4.i18n.actorTypes;
|
||||||
CONFIG.Item.typeLabels = DS4.i18n.itemTypes;
|
CONFIG.Item.typeLabels = DS4.i18n.itemTypes;
|
||||||
|
|
||||||
// Configure Dice
|
|
||||||
CONFIG.Dice.types.push(DS4Check);
|
CONFIG.Dice.types.push(DS4Check);
|
||||||
CONFIG.Dice.terms.s = DS4Check;
|
CONFIG.Dice.terms.s = DS4Check;
|
||||||
|
|
||||||
// Register system settings
|
|
||||||
registerSystemSettings();
|
registerSystemSettings();
|
||||||
|
|
||||||
// Register sheet application classes
|
|
||||||
Actors.unregisterSheet("core", ActorSheet);
|
Actors.unregisterSheet("core", ActorSheet);
|
||||||
Actors.registerSheet("ds4", DS4CharacterActorSheet, { types: ["character"], makeDefault: true });
|
Actors.registerSheet("ds4", DS4CharacterActorSheet, { types: ["character"], makeDefault: true });
|
||||||
Actors.registerSheet("ds4", DS4CreatureActorSheet, { types: ["creature"], makeDefault: true });
|
Actors.registerSheet("ds4", DS4CreatureActorSheet, { types: ["creature"], makeDefault: true });
|
||||||
|
@ -76,7 +69,6 @@ async function registerHandlebarsPartials() {
|
||||||
* This function runs after game data has been requested and loaded from the servers, so entities exist
|
* This function runs after game data has been requested and loaded from the servers, so entities exist
|
||||||
*/
|
*/
|
||||||
Hooks.once("setup", function () {
|
Hooks.once("setup", function () {
|
||||||
// Exclude some from sorting where the default order matters
|
|
||||||
const noSort = ["attributes", "traits", "combatValues", "creatureSizeCategories"];
|
const noSort = ["attributes", "traits", "combatValues", "creatureSizeCategories"];
|
||||||
|
|
||||||
// Localize and sort CONFIG objects
|
// Localize and sort CONFIG objects
|
||||||
|
|
Loading…
Reference in a new issue