Minimal working example for a character sheet

This commit is contained in:
Oliver-Akins 2023-11-21 22:59:22 -07:00
parent 08a8b89ec0
commit e5c1cfec97
11 changed files with 91 additions and 31 deletions

View file

@ -0,0 +1,5 @@
<select>
{{#each (dotdungeon-array "d4" "d6" "d8" "d10" "d12" "d20")}}
<option value="{{this}}">{{this}}</option>
{{/each}}
</select>

View file

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

View 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>

View file

@ -1,16 +0,0 @@
<form autocomplete="off">
Build:
<br>
Meta:
<br>
Presence:
<br>
Hands:
<br>
Tilt:
<br>
RNG:
<br>
<br>
Respawns: [ ] [ ] [ ]
</form>