mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +01:00
Character Setup Rework (#315)
* Updated to make use of setup tabs. Ancestry now has primary/secondary features * Changed so ancestry uses a single Features field * Revert "Changed so ancestry uses a single Features field" This reverts commit0bda6b5dbe. * Reapply "Changed so ancestry uses a single Features field" This reverts commit1febafd441. * Made it work again the bad way \._./ * Changed so that Feature(Item) has a primary field * Feature(Item) now has subtype instead of primary as a field * Fixed experience/evasion * Moved light styling to appTheme mixing * Added svg and style rules
This commit is contained in:
parent
4be3e6179c
commit
a768b1dfdb
24 changed files with 756 additions and 144 deletions
22
templates/characterCreation/setupTabs/domainCards.hbs
Normal file
22
templates/characterCreation/setupTabs/domainCards.hbs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<section
|
||||
class='tab {{setupTabs.domainCards.cssClass}} {{setupTabs.domainCards.id}}'
|
||||
data-tab='{{setupTabs.domainCards.id}}'
|
||||
data-group='{{setupTabs.domainCards.group}}'
|
||||
>
|
||||
<div class="main-selections-container">
|
||||
<fieldset class="section-container">
|
||||
<legend>{{localize "TYPES.Item.domainCard"}}</legend>
|
||||
<div class="selections-outer-container">
|
||||
{{#each domainCards as |domainCard id|}}
|
||||
<div class="selections-container domain-card" data-card="{{id}}">
|
||||
{{#> "systems/daggerheart/templates/components/card-preview.hbs" domainCard }}
|
||||
{{#each @root.class.system.domains }}
|
||||
<div>{{localize (concat "DAGGERHEART.GENERAL.Domain." this ".label")}}</div>
|
||||
{{/each}}
|
||||
{{/"systems/daggerheart/templates/components/card-preview.hbs"}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue