diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index e901a86..55f675a 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -62,6 +62,9 @@ export default class DeltaGreenActorSheet extends DGSheetMixin(ActorSheetV2) { template: `${this.TEMPLATE_PATH}/actor/parts/bio-tab.html`, templates: [`${this.TEMPLATE_PATH}/actor/partials/cv-partial.html`], }, + bonds: { + template: `${this.TEMPLATE_PATH}/actor/parts/bonds-tab.html`, + }, }); /* -------------------------------------------- */ diff --git a/templates/actor/parts/bonds-tab.html b/templates/actor/parts/bonds-tab.html new file mode 100644 index 0000000..e02746d --- /dev/null +++ b/templates/actor/parts/bonds-tab.html @@ -0,0 +1,57 @@ +
+
+ {{localize "DG.Sheet.BlockHeaders.BondsRelationshipsContacts"}} +
+ +
+
    +
  1. + +
    + +
    +
    +
    {{localize 'DG.Bonds.Name'}}
    +
    {{localize 'DG.Bonds.Relationship'}}
    +
    {{localize 'DG.Bonds.Score'}}
    + +
  2. + + {{#each actor.items as |item id| }} + {{#if_eq item.type "bond" }} + +
  3. + +
    + +
    +

    {{item.name}}

    + {{item.system.relationship}} + {{item.system.score}} +
    + + +
    +
  4. + + {{/if_eq}} + {{/each}} +
+ +
+ {{localizeWithFallback "DG.Generic.CheckDamagedBondsBoxUntilNextHomeScene" "Check a damaged Bond's box until the next Home scene ends." }} +
+ +
+