Skip to content

Commit

Permalink
Fix issue with permanently hidden Campaign Features in Comp Browser (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSchlock authored Sep 20, 2024
1 parent 3dc5012 commit afe50f4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,8 @@
"UnequippedHint": "This armor is bulkier due to not being equipped."
},
"CampaignFeature": {
"CampaignLabel": "Campaign"
"CampaignLabel": "Campaign",
"Plural": "Campaign Features"
},
"CannotAddType": "{type} items cannot be added to this actor.",
"Condition": {
Expand Down
11 changes: 11 additions & 0 deletions static/templates/compendium-browser/settings/pack-settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,14 @@
{{/each}}
</dl>
</div>

{{#if @root.showCampaign}}
<div class="setting-section">
<h3>{{localize "PF2E.Item.CampaignFeature.Plural"}}</h3>
<dl>
{{#each settings.campaignFeature as |conf pack|}}
<label><dt><input type="checkbox" name="campaignFeature-{{pack}}" {{checked conf.load}}></dt><dd>{{conf.name}} ({{conf.package}})</dd></label>
{{/each}}
</dl>
</div>
{{/if}}

0 comments on commit afe50f4

Please sign in to comment.