Minimal working example for a character sheet
This commit is contained in:
parent
08a8b89ec0
commit
e5c1cfec97
11 changed files with 91 additions and 31 deletions
5
templates/actors/char-sheet-mvp/partials/dice_choice.hbs
Normal file
5
templates/actors/char-sheet-mvp/partials/dice_choice.hbs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<select>
|
||||
{{#each (dotdungeon-array "d4" "d6" "d8" "d10" "d12" "d20")}}
|
||||
<option value="{{this}}">{{this}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
4
templates/actors/char-sheet-mvp/partials/stat.hbs
Normal file
4
templates/actors/char-sheet-mvp/partials/stat.hbs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<div class="stat">
|
||||
<label>{{localize (concat "stat." stat)}}</label>
|
||||
{{> dotdungeon.dice_choice }}
|
||||
</div>
|
||||
9
templates/actors/char-sheet-mvp/sheet.hbs
Normal file
9
templates/actors/char-sheet-mvp/sheet.hbs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<form autocomplete="off">
|
||||
<h2>{{localize "stat.title"}}</h2>
|
||||
{{> dotdungeon.stat stat="build" }}
|
||||
{{> dotdungeon.stat stat="meta" }}
|
||||
{{> dotdungeon.stat stat="presence" }}
|
||||
{{> dotdungeon.stat stat="hands" }}
|
||||
{{> dotdungeon.stat stat="tilt" }}
|
||||
{{> dotdungeon.stat stat="rng" }}
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue