Fixed up downtime dialogs and data model

This commit is contained in:
WBHarry 2025-06-19 17:11:01 +02:00
parent f6e077b290
commit e38ebfab29
10 changed files with 284 additions and 118 deletions

View file

@ -1,16 +1,11 @@
<div class="daggerheart chat downtime">
<h2 class="downtime-title-container">
<div>{{this.player}} {{localize "DAGGERHEART.Chat.Downtime.Title"}}</div>
<div class="downtime-subtitle">{{this.title}}</div>
<div>{{title}}</div>
</h2>
<img class="downtime-image" src="{{this.img}}" />
<div>{{{this.description}}}</div>
<div class="downtime-refresh-container">
<div class="refresh-title">Refreshed Features</div>
{{#each this.refreshedFeatures}}
<div class="refresh-inner-container">
<div>{{this.name}}</div>
</div>
{{/each}}
</div>
{{#each moves}}
<strong>{{this.name}}</strong>
<img class="downtime-image" src="{{this.img}}" />
<div>{{{this.description}}}</div>
{{#if (gt this.actions.length 0)}}<button class="action-use-button">{{localize "Action"}}</button>{{/if}}
{{/each}}
</div>