From 0ef3aafba48dbbe1736e3b235b65ce7e39bdf83f Mon Sep 17 00:00:00 2001 From: TheLastScrub <67403321+TheLastScrub@users.noreply.github.com> Date: Sat, 5 Jun 2021 15:04:18 -0700 Subject: [PATCH] default bond item image to mystery person --- module/actor/actor-sheet.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 52d9a25..be5ec9a 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -294,7 +294,10 @@ export class DeltaGreenActorSheet extends ActorSheet { } else if(type == "bond"){ itemData.data.score = this.object.data.data.statistics.cha.value; // Can vary, but at character creation starting bond score is usually agent's charisma + itemData.img = "icons/svg/mystery-man.svg" } + + console.log(itemData); // Finally, create the item! //return this.actor.createOwnedItem(itemData);