Initial system import

This commit is contained in:
2025-12-25 23:08:06 +01:00
commit 4beb5806eb
4623 changed files with 682363 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
export const defaultItemImg = {
arme: "systems/fvtt-hamalron/assets/icons/arme.webp",
armure: "systems/fvtt-hamalron/assets/icons/armure.webp",
competence: "systems/fvtt-hamalron/assets/icons/competence.webp",
equipement: "systems/fvtt-hamalron/assets/icons/equipement.webp",
faction: "systems/fvtt-hamalron/assets/icons/faction.webp",
langue: "systems/fvtt-hamalron/assets/icons/langue.webp",
peuple: "systems/fvtt-hamalron/assets/icons/peuple.webp",
region: "systems/fvtt-hamalron/assets/icons/region.webp",
sortilege: "systems/fvtt-hamalron/assets/icons/sortilege.webp",
tarot: "systems/fvtt-hamalron/assets/icons/tarot.webp",
}
export default class HamalronItem extends Item {
constructor(data, context) {
if (!data.img) {
data.img = defaultItemImg[data.type];
}
super(data, context);
}
}