Get the stats displaying on the character sheet nicely

This commit is contained in:
Oliver-Akins 2023-11-26 01:37:21 -07:00
parent 98af0683c3
commit 354a2d099b
6 changed files with 41 additions and 14 deletions

View file

@ -1,4 +1,6 @@
<div class="stat">
<label>{{localize (concat "stat." stat)}}</label>
<label class="stat stat--{{name}}">
<button class="roll-stat" data-stat="{{name}}">
{{localize (concat "dotdungeon.stat." name)}}
</button>
{{> dotdungeon.dice_choice }}
</div>
</label>

View file

@ -1,12 +1,16 @@
<form autocomplete="off" class="dotdungeon actor--pc">
<form autocomplete="off" class="actor--pc">
{{#> dotdungeon.panel class="avatar" title="dotdungeon.panel.avatar"}}
Avatar Content
{{/ dotdungeon.panel}}
{{#> dotdungeon.panel class="stats" title="dotdungeon.panel.statistics"}}
Statistics
{{#each (dotdungeon-array "build" "meta" "presence" "hands" "tilt" "rng")}}
{{> dotdungeon.stat name=this}}
{{/each}}
{{/ dotdungeon.panel}}
{{#> dotdungeon.panel class="skills" title="dotdungeon.panel.skills"}}
Skills
<div class="skill-group">
<h3>{{localize "dotdungeon.skills.build"}}</h3>
</div>
{{/ dotdungeon.panel}}
{{#> dotdungeon.panel class="backpack" title="dotdungeon.panel.backpack"}}
Backpack