This commit is contained in:
François-Xavier Guillois
2023-08-25 10:36:25 +02:00
parent 7aeef29e34
commit 641d2a892a
29 changed files with 238 additions and 19 deletions
+3 -1
View File
@@ -1,3 +1,4 @@
import { registerTours } from "./tour.mjs";
export const registerHooks = function () {
/**
@@ -6,6 +7,7 @@ export const registerHooks = function () {
Hooks.once("ready", async () => {
console.info("Vermine 2047 | System Initialized.");
await registerTours();
});
// changement de la pause
@@ -58,7 +60,7 @@ export const registerHooks = function () {
Hooks.on("preCreateItem", function (item) {
if (item.img == "icons/svg/item-bag.svg") {
item.updateSource({"img": `systems/vermine2047/icons/items/${item.type}.webp`});
item.updateSource({"img": `systems/vermine2047/assets/icons/items/${item.type}.webp`});
// item.updateSource({"img": `systems/vermine2047/icons/competence.webp`});
}
});