diff --git a/public/module.json b/public/module.json index 07b13057e..10e18e579 100644 --- a/public/module.json +++ b/public/module.json @@ -109,9 +109,9 @@ { "id": "dnd5e", "compatibility": { - "minimum": "4.0.0", - "verified": "4.0.0", - "maximum": "4.0.x" + "minimum": "4.1.0", + "verified": "4.1.0", + "maximum": "4.1.x" } } ], diff --git a/src/components/item-list/controls/DeleteOrOpenActivity.svelte b/src/components/item-list/controls/DeleteOrOpenActivity.svelte new file mode 100644 index 000000000..6a7fc10f5 --- /dev/null +++ b/src/components/item-list/controls/DeleteOrOpenActivity.svelte @@ -0,0 +1,13 @@ + + +{#if item.canDelete || !item.system.linkedActivity} + +{:else} + +{/if} diff --git a/src/components/item-list/controls/SpellOpenCastActivityControl.svelte b/src/components/item-list/controls/SpellOpenCastActivityControl.svelte new file mode 100644 index 000000000..2e73f9e5d --- /dev/null +++ b/src/components/item-list/controls/SpellOpenCastActivityControl.svelte @@ -0,0 +1,16 @@ + + + item.system.linkedActivity.sheet.render(true)} + title={localize('DOCUMENT.DND5E.Activity')} +/> diff --git a/src/components/spellbook/SpellbookFooter.svelte b/src/components/spellbook/SpellbookFooter.svelte index 63c1b3142..77b6a2f38 100644 --- a/src/components/spellbook/SpellbookFooter.svelte +++ b/src/components/spellbook/SpellbookFooter.svelte @@ -46,8 +46,8 @@ {#if $context.spellcastingInfo.calculations.rangedMod !== $context.spellcastingInfo.calculations.meleeMod}