Allow creating custom embedded documents of any type from the sheet, and add functionality to the aspect create button
This commit is contained in:
parent
134b13756a
commit
7d990fe64b
7 changed files with 52 additions and 48 deletions
|
|
@ -67,16 +67,15 @@
|
|||
{{/each}}
|
||||
|
||||
|
||||
<div class="flex-row">
|
||||
<button
|
||||
class="confirm add-spell"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--20">
|
||||
{{{ icons.create }}}
|
||||
</div>
|
||||
<span>
|
||||
{{localize "dotdungeon.actor.pc.spells.add.label"}}
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<button
|
||||
class="confirm"
|
||||
data-embedded-create="Spell"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--20">
|
||||
{{{ icons.create }}}
|
||||
</div>
|
||||
<span>
|
||||
{{localize "dotdungeon.actor.pc.spells.add.label"}}
|
||||
</span>
|
||||
</button>
|
||||
{{/ dotdungeon.panel}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue