[Feature] Homebrew Domains (#639)

* Split into tabs

* Finished homebrew settings

* .

* Improved domainremoval cleanup
This commit is contained in:
WBHarry 2025-08-06 13:58:17 +02:00 committed by GitHub
parent d186c62ee5
commit 02958f9574
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 560 additions and 49 deletions

View file

@ -7,8 +7,8 @@
<i class="fa-solid fa-bolt"></i>
</span>
<span class="item-icon">
<span class="recall-label">{{localize (concat 'DAGGERHEART.GENERAL.Domain.' source.system.domain '.label')}}</span>
<img src="{{concat 'systems/daggerheart/assets/icons/domains/' source.system.domain '.svg'}}" alt="">
<span class="recall-label">{{localize @root.domain.label}}</span>
<img src="{{@root.domain.src}}" alt="">
</span>
</div>
<div class='item-info'>
@ -18,7 +18,7 @@
<h3>
{{localize (concat 'DAGGERHEART.CONFIG.DomainCardTypes.' source.system.type)}}
<span>-</span>
{{localize (concat 'DAGGERHEART.GENERAL.Domain.' source.system.domain '.label')}}
{{localize @root.domain.label}}
<span>-</span>
{{localize "DAGGERHEART.GENERAL.level"}}:
{{source.system.level}}

View file

@ -9,7 +9,7 @@
<span>{{localize "DAGGERHEART.GENERAL.type"}}</span>
{{formField systemFields.type value=source.system.type localize=true}}
<span>{{localize "DAGGERHEART.GENERAL.Domain.single"}}</span>
{{formField systemFields.domain value=source.system.domain localize=true}}
{{formField systemFields.domain value=source.system.domain choices=domainChoices valueAttr="id" labelAttr="label" localize=true}}
<span>{{localize "DAGGERHEART.GENERAL.level"}}</span>
{{formField systemFields.level value=source.system.level data-dtype="Number"}}
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.recallCost"}}</span>