Amelioration fiche items
This commit is contained in:
@@ -18,7 +18,6 @@ import { TeDeumCompetenceSchema } from "./data/tedeum-schema-competence.js";
|
||||
import { TeDeumEquipementSchema } from "./data/tedeum-schema-equipement.js";
|
||||
import { TeDeumOrigineSchema } from "./data/tedeum-schema-origine.js";
|
||||
import { TeDeumEducationSchema } from "./data/tedeum-schema-education.js";
|
||||
import { TeDeumDeboucheSchema } from "./data/tedeum-schema-debouche.js";
|
||||
|
||||
import { TeDeumItem } from "./items/tedeum-item.js";
|
||||
import { TeDeumItemSheet } from "./items/tedeum-item-sheet.js";
|
||||
@@ -27,8 +26,8 @@ import { TeDeumHotbar } from "./app/tedeum-hotbar.js"
|
||||
import { TeDeumCombat } from "./app/tedeum-combat.js";
|
||||
|
||||
import { TeDeumUtility } from "./common/tedeum-utility.js";
|
||||
import { TEDEUM_CONFIG, LOCALISATION, ARME_SPECIFICITE} from "./common/tedeum-config.js";
|
||||
import { ClassCounter} from "https://www.uberwald.me/fvtt_appcount/count-class-ready.js";
|
||||
import { TEDEUM_CONFIG } from "./common/tedeum-config.js";
|
||||
|
||||
/* -------------------------------------------- */
|
||||
/* Foundry VTT Initialization */
|
||||
/* -------------------------------------------- */
|
||||
@@ -40,8 +39,6 @@ Hooks.once("init", async function () {
|
||||
|
||||
game.system.tedeum = {
|
||||
config: TEDEUM_CONFIG,
|
||||
LOCALISATION: LOCALISATION,
|
||||
ARME_SPECIFICITE: ARME_SPECIFICITE,
|
||||
TeDeumHotbar
|
||||
}
|
||||
console.log(`Initializing TeDeum RPG 2`);
|
||||
@@ -72,8 +69,7 @@ Hooks.once("init", async function () {
|
||||
equipement: TeDeumEquipementSchema,
|
||||
armure: TeDeumArmureSchema,
|
||||
origine: TeDeumOrigineSchema,
|
||||
education: TeDeumEducationSchema,
|
||||
debouche: TeDeumDeboucheSchema,
|
||||
education: TeDeumEducationSchema
|
||||
};
|
||||
|
||||
console.log("TeDeum RPG | Ready");
|
||||
@@ -83,7 +79,7 @@ Hooks.once("init", async function () {
|
||||
Actors.registerSheet("fvtt-te-deum", TeDeumActorPJSheet, { types: ["pnj"], makeDefault: true });
|
||||
|
||||
Items.unregisterSheet("core", ItemSheet);
|
||||
Items.registerSheet("fvtt-te-deum", TeDeumItemSheet, { types: ["arme"], makeDefault: true });
|
||||
Items.registerSheet("fvtt-te-deum", TeDeumItemSheet, { makeDefault: true });
|
||||
|
||||
TeDeumUtility.init()
|
||||
});
|
||||
@@ -113,11 +109,16 @@ Hooks.once("ready", function () {
|
||||
});
|
||||
}
|
||||
|
||||
console.log("YEADEAE");
|
||||
ClassCounter.registerUsageCount();
|
||||
welcomeMessage();
|
||||
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{
|
||||
console.log("ClassCounter loaded", moduleCounter)
|
||||
moduleCounter.ClassCounter.registerUsageCount()
|
||||
}).catch(err=>
|
||||
console.log("No stats available, giving up.")
|
||||
)
|
||||
TeDeumUtility.ready();
|
||||
|
||||
welcomeMessage();
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user