diff --git a/templates/ui/tooltip/action.hbs b/templates/ui/tooltip/action.hbs index 8740c9d9..353c708d 100644 --- a/templates/ui/tooltip/action.hbs +++ b/templates/ui/tooltip/action.hbs @@ -1,82 +1,70 @@
-

{{localize item.name}}

-
{{{description}}}
- {{#if item.uses.max}} -

{{localize "DAGGERHEART.GENERAL.uses"}}

-
-
- -
{{item.uses.value}}
+

{{localize item.name}}

+
+ {{#if item.uses.max}} +
+ {{localize "DAGGERHEART.GENERAL.used"}} {{item.uses.value}}
-
- -
{{formulaValue item.uses.max item}}
+
+ {{localize "DAGGERHEART.GENERAL.max"}} {{formulaValue item.uses.max item}}
-
- - {{#with (lookup config.GENERAL.refreshTypes item.uses.recovery) as | type |}} -
{{localize type.label}}
- {{/with}} +
+ {{localize "DAGGERHEART.GENERAL.recovery"}} {{#with (lookup config.GENERAL.refreshTypes item.uses.recovery) as | type |}}{{localize type.label}}{{/with}}
-
- {{/if}} - - {{#if (gt item.cost.length 0)}} -

{{localize "DAGGERHEART.GENERAL.Cost.plural"}}

- {{#each item.cost as | cost |}} -
-
- - {{#with (lookup @root.config.GENERAL.abilityCosts cost.type) as | type |}} -
{{localize type.label}}
- {{/with}} + {{/if}} + {{#if (gt item.cost.length 0)}} + {{#each item.cost as | cost |}} +
+ {{localize "Type"}} {{#with (lookup @root.config.GENERAL.abilityCosts cost.type) as | type |}}{{localize type.label}}{{/with}}
-
- -
{{cost.value}}
+
+ {{localize "DAGGERHEART.GENERAL.value"}} {{cost.value}} +
+
+ {{localize "DAGGERHEART.GENERAL.value"}} {{cost.value}}
{{#if cost.scalable}} -
- -
{{localize "DAGGERHEART.GENERAL.true"}}
-
-
- -
{{cost.step}}
-
+
+ {{localize "DAGGERHEART.GENERAL.scalable"}} {{localize "DAGGERHEART.GENERAL.true"}} +
+
+ {{localize "DAGGERHEART.GENERAL.value"}} {{cost.step}} +
{{/if}} + {{/each}} + {{/if}} + {{#if (or item.range item.target)}} +
+ + {{localize "DAGGERHEART.GENERAL.range"}} + {{#if item.range}} + {{#with (lookup @root.config.GENERAL.range item.range) as | range |}} + {{localize range.label}} + {{/with}} + {{else}} + {{localize "DAGGERHEART.GENERAL.none"}} + {{/if}} +
- {{/each}} - {{/if}} - - {{#if (or item.range item.target)}} -

{{localize "DAGGERHEART.UI.Tooltip.rangeAndTarget"}}

-
-
- -
- {{#if item.range}} - {{#with (lookup @root.config.GENERAL.range item.range) as | range |}} -
{{localize range.label}}
- {{/with}} - {{else}} -
{{localize "DAGGERHEART.GENERAL.none"}}
- {{/if}} -
-
-
- -
- {{#if item.target.type}} - {{#with (lookup @root.config.ACTIONS.targetTypes item.target.type) as | target |}} -
{{@root.item.target.amount}} {{localize target.label}}
- {{/with}} - {{else}} -
{{localize "DAGGERHEART.GENERAL.none"}}
- {{/if}} -
-
+ {{/if}} +
+ + {{localize "DAGGERHEART.GENERAL.Target.single"}} + {{#if item.target.type}} + {{#with (lookup @root.config.ACTIONS.targetTypes item.target.type) as | target |}} + {{@root.item.target.amount}} {{localize target.label}} + {{/with}} + {{else}} + {{localize "DAGGERHEART.GENERAL.none"}} + {{/if}} +
+
+ {{#if description}} +
{{{description}}}
{{/if}} +

+ {{localize "DAGGERHEART.UI.Tooltip.middleClick"}} +

\ No newline at end of file