Skip to content

Commit

Permalink
Merge pull request #175 from Stexinator/feature/add_more_active_effects
Browse files Browse the repository at this point in the history
added active effects to
  • Loading branch information
Vendare authored Aug 11, 2024
2 parents 163f042 + f34ec48 commit de721bd
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@
"WOUND.CRITICAL_DAMAGE": "Critical Damage",
"DH": {
"Effect": {
"Effect": "EFFECT",
"Temporary": "Temporary",
"Passive": "Passive",
"Inactive": "Inactive",
Expand Down
1 change: 0 additions & 1 deletion script/sheet/actor/actor.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export class DarkHeresySheet extends ActorSheet {
/** @override */
async getData() {
const data = super.getData();
console.log(data);
data.system = data.data.system;
data.items = this.constructItemLists(data);
data.enrichment = await this._enrichment();
Expand Down
5 changes: 5 additions & 0 deletions template/sheet/malignancy.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

<div class="sheet-tabs tabs flex row" data-group="primary">
<b class="item" data-tab="notes">{{localize "TAB.NOTES"}}</b>
<b class="item" data-tab="effects">{{localize "DH.Effect.Effect"}}</b>
</div>

<div class="sheet-body">
Expand All @@ -26,5 +27,9 @@
</div>
</div>
</div>
{{!-- Effects Tab --}}
<div class="tab effects" data-group="primary" data-tab="effects">
{{> systems/dark-heresy/template/sheet/item/parts/effect-part.hbs}}
</div>
</div>
</form>
5 changes: 5 additions & 0 deletions template/sheet/mental-disorder.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

<div class="sheet-tabs tabs flex row" data-group="primary">
<b class="item" data-tab="notes">{{localize "TAB.NOTES"}}</b>
<b class="item" data-tab="effects">{{localize "DH.Effect.Effect"}}</b>
</div>

<div class="sheet-body">
Expand All @@ -26,5 +27,9 @@
</div>
</div>
</div>
{{!-- Effects Tab --}}
<div class="tab effects" data-group="primary" data-tab="effects">
{{> systems/dark-heresy/template/sheet/item/parts/effect-part.hbs}}
</div>
</div>
</form>
5 changes: 5 additions & 0 deletions template/sheet/mutation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

<div class="sheet-tabs tabs flex row" data-group="primary">
<b class="item" data-tab="notes">{{localize "TAB.NOTES"}}</b>
<b class="item" data-tab="effects">{{localize "DH.Effect.Effect"}}</b>
</div>

<div class="sheet-body">
Expand All @@ -26,5 +27,9 @@
</div>
</div>
</div>
{{!-- Effects Tab --}}
<div class="tab effects" data-group="primary" data-tab="effects">
{{> systems/dark-heresy/template/sheet/item/parts/effect-part.hbs}}
</div>
</div>
</form>
5 changes: 5 additions & 0 deletions template/sheet/special-ability.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<div class="sheet-tabs tabs flex row" data-group="primary">
<b class="item" data-tab="data">{{localize "TAB.DATA"}}</b>
<b class="item" data-tab="notes">{{localize "TAB.NOTES"}}</b>
<b class="item" data-tab="effects">{{localize "DH.Effect.Effect"}}</b>
</div>

<div class="sheet-body">
Expand All @@ -38,5 +39,9 @@
</div>
</div>
</div>
{{!-- Effects Tab --}}
<div class="tab effects" data-group="primary" data-tab="effects">
{{> systems/dark-heresy/template/sheet/item/parts/effect-part.hbs}}
</div>
</div>
</form>
5 changes: 5 additions & 0 deletions template/sheet/talent.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<div class="sheet-tabs tabs flex row" data-group="primary">
<b class="item" data-tab="data">{{localize "TAB.DATA"}}</b>
<b class="item" data-tab="notes">{{localize "TAB.NOTES"}}</b>
<b class="item" data-tab="effects">{{localize "DH.Effect.Effect"}}</b>
</div>

<div class="sheet-body">
Expand Down Expand Up @@ -54,5 +55,9 @@
</div>
</div>
</div>
{{!-- Effects Tab --}}
<div class="tab effects" data-group="primary" data-tab="effects">
{{> systems/dark-heresy/template/sheet/item/parts/effect-part.hbs}}
</div>
</div>
</form>
2 changes: 1 addition & 1 deletion template/sheet/trait.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="sheet-tabs tabs flex row" data-group="primary">
<b class="item" data-tab="data">{{localize "TAB.DATA"}}</b>
<b class="item" data-tab="notes">{{localize "TAB.NOTES"}}</b>
<b class="item" data-tab="effects">Effects</b>
<b class="item" data-tab="effects">{{localize "DH.Effect.Effect"}}</b>
</div>

<div class="sheet-body">
Expand Down

0 comments on commit de721bd

Please sign in to comment.