Item and Actor icons on creation

Working peculiarities
pre-version of csv importer for compendium
This commit is contained in:
Vlyan
2020-12-19 22:42:27 +01:00
parent d8358c11f9
commit 22f2a8ab2e
13 changed files with 3038 additions and 18 deletions

View File

@@ -1 +1,10 @@
export class ItemL5r5e extends Item {}
export class ItemL5r5e extends Item {
/**
* Create a new entity using provided input data
* @override
*/
static async create(data, options = {}) {
data.img = `${CONFIG.l5r5e.paths.assets}icons/items/${data.type}.svg`;
return super.create(data, options);
}
}