Iterate through each the skill definitions based on the data instead of hard-coding them
This commit is contained in:
parent
bd7df724c4
commit
a4329e6216
1 changed files with 10 additions and 1 deletions
|
|
@ -8,7 +8,16 @@
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{/ dotdungeon.panel}}
|
{{/ dotdungeon.panel}}
|
||||||
{{#> dotdungeon.panel class="skills" title="dotdungeon.actor.pc.panel.skills"}}
|
{{#> dotdungeon.panel class="skills" title="dotdungeon.actor.pc.panel.skills"}}
|
||||||
Skills
|
{{#each system.skills}}
|
||||||
|
<div class="skill-group">
|
||||||
|
<h3 class="skill-group__label">{{localize (concat "dotdungeon.actor.pc.skills." @key)}}</h3>
|
||||||
|
{{#with @key as | stat |}}
|
||||||
|
{{#each ..}}
|
||||||
|
{{> dotdungeon.skill stat=stat name=@key value=this}}
|
||||||
|
{{/each}}
|
||||||
|
{{/with}}
|
||||||
|
</div>
|
||||||
|
{{/each}}
|
||||||
{{/ dotdungeon.panel}}
|
{{/ dotdungeon.panel}}
|
||||||
{{#> dotdungeon.panel class="backpack" title="dotdungeon.actor.pc.panel.backpack"}}
|
{{#> dotdungeon.panel class="backpack" title="dotdungeon.actor.pc.panel.backpack"}}
|
||||||
Backpack
|
Backpack
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue