mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
[Fix] RollMessage Order (#1626)
* Fixed so that the description message always comes first with the action workflow
* Changed to instead render the description in the roll message
* Made the action config title not get changed in d20rolldialog if it's not a trait roll
* Initial chat message description design change
* Revert "Initial chat message description design change"
This reverts commit f4f5fd6c24.
* .
This commit is contained in:
parent
c8d1ea1460
commit
735ed4c214
12 changed files with 201 additions and 127 deletions
11
templates/ui/chat/parts/description-part.hbs
Normal file
11
templates/ui/chat/parts/description-part.hbs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<div class="roll-part dice-roll description-section" data-action="expandRoll">
|
||||
<div class="roll-part-header"><div><span>{{localize "DAGGERHEART.GENERAL.description"}}</span></div></div>
|
||||
|
||||
<div class="roll-part-content description-content">
|
||||
<div class="dice-tooltip">
|
||||
<div class="wrapper">
|
||||
<i>{{{actionDescription}}}</i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,6 +1,10 @@
|
|||
<div class="chat-roll">
|
||||
<div class="roll-part-header"><span>{{title}}</span></div>
|
||||
{{#if hasRoll}}{{> 'systems/daggerheart/templates/ui/chat/parts/roll-part.hbs'}}{{/if}}
|
||||
<div class="roll-part-title"><span>{{title}}</span></div>
|
||||
{{#if actionDescription}}{{> 'systems/daggerheart/templates/ui/chat/parts/description-part.hbs'}}{{/if}}
|
||||
{{#if hasRoll}}
|
||||
<div class="roll-part-header"><span>{{localize "Result"}}</span></div>
|
||||
{{> 'systems/daggerheart/templates/ui/chat/parts/roll-part.hbs'}}
|
||||
{{/if}}
|
||||
{{#if (or hasDamage hasHealing)}}{{> 'systems/daggerheart/templates/ui/chat/parts/damage-part.hbs'}}{{/if}}
|
||||
{{#if hasTarget}}{{> 'systems/daggerheart/templates/ui/chat/parts/target-part.hbs'}}{{/if}}
|
||||
<div class="roll-part-header"><div></div></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue