Roll : Added target info in ChatMessage

This commit is contained in:
Vlyan
2022-02-16 17:20:56 +01:00
parent bc103c2988
commit 448fadeca7
22 changed files with 295 additions and 101 deletions

View File

@@ -32,8 +32,8 @@
</label>
</li>
<li>
<label class="attribute-label">
{{localize 'l5r5e.roles'}}
<label class="attribute-label autocomplete">
{{localize 'l5r5e.roles.title'}}
<input type="text" name="data.identity.roles" value="{{data.data.identity.roles}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
</label>
</li>

View File

@@ -19,7 +19,7 @@
</li>
<li class="affinities">
{{!-- Attitude --}}
<label class="attitude">
<label class="attitude autocomplete">
<input type="text" name="data.attitude" value="{{data.data.attitude}}" data-dtype="String" placeholder="" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
{{localize 'l5r5e.social.attitude'}}
</label>

View File

@@ -37,7 +37,9 @@
<article class="tab parts part1" data-group="primary" data-tab="part1">
<h2>{{localize (localize 'l5r5e.twenty_questions.part1.title{suffix}' suffix=suffix)}}</h2>
<h3>{{localize (localize 'l5r5e.twenty_questions.part1.q1{suffix}' suffix=suffix)}}</h3>
<input type="text" name="step1.clan" value="{{data.step1.clan}}">
<div class="autocomplete">
<input type="text" name="step1.clan" value="{{data.step1.clan}}">
</div>
<table>
<tr>
<td class="third">
@@ -84,7 +86,9 @@
</tr>
</table>
<h3>{{localize (localize 'l5r5e.twenty_questions.part1.q2{suffix}' suffix=suffix)}}</h3>
<input type="text" name="step2.family" value="{{data.step2.family}}">
<div class="autocomplete">
<input type="text" name="step2.family" value="{{data.step2.family}}">
</div>
<table>
<tr>
<td class="third">
@@ -147,7 +151,7 @@
{{localize 'l5r5e.twenty_questions.part2.school'}}
<input type="text" name="step3.school" value="{{data.step3.school}}">
</label>
<label class="full">
<label class="full autocomplete">
{{localize 'l5r5e.twenty_questions.part2.role'}}
<input type="text" name="step3.roles" value="{{data.step3.roles}}">
</label>

View File

@@ -38,6 +38,13 @@
</div>
{{/if}}
{{#if l5r5e.targetInfos}}
<div class="l5r5e target">
<div class="profile"><img class="profile-img" src="{{l5r5e.targetInfos.img}}" alt="{{l5r5e.targetInfos.name}}" /></div>
<div class="name"> &nbsp; {{l5r5e.targetInfos.name}}</div>
</div>
{{/if}}
<div class="l5r5e dice-formula">{{#if l5r5e.initialFormula}}{{l5r5e.initialFormula}}{{else}}{{formula}}{{/if}}</div>
<div class="l5r5e dice-result">