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

@@ -11,7 +11,10 @@ export class ActorL5r5e extends Actor {
// data.type = "character";
// }
// Some tweak on actors
// Replace default image
data.img = `${CONFIG.l5r5e.paths.assets}icons/actors/${data.type}.svg`;
// Some tweak on actors token
data.token = data.token || {};
switch (data.type) {
case "character":