Initial system import

This commit is contained in:
2025-05-01 09:29:56 +02:00
commit 7672f861ff
94 changed files with 12616 additions and 0 deletions

17
module/documents/item.mjs Normal file
View File

@@ -0,0 +1,17 @@
export const defaultItemImg = {
weapon: "systems/fvtt-hellborn/assets/icons/icon_weapon.svg",
equipment: "systems/fvtt-hellborn/assets/icons/icon_equipment.svg",
ritual: "systems/fvtt-hellborn/assets/icons/icon_psionic.svg",
maleficias: "systems/fvtt-hellborn/assets/icons/icon_talent.svg",
perk: "systems/fvtt-hellborn/assets/icons/icon_language.svg",
"species-trait": "systems/fvtt-hellborn/assets/icons/icon_creature_trait.svg"
}
export default class HellbornItem extends Item {
constructor(data, context) {
if (!data.img) {
data.img = defaultItemImg[data.type];
}
super(data, context);
}
}