2022-01-06 18:22:05 +01:00
|
|
|
<div class="chat-message-header">
|
|
|
|
<img class="actor-icon" src="{{img}}" alt="{{alias}}" />
|
|
|
|
<h4 class=chat-actor-name>{{name}}</h4>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<div class="flexcol">
|
|
|
|
|
|
|
|
{{#if (eq step "select-race")}}
|
2022-01-07 20:40:40 +01:00
|
|
|
<div>Select a race from the list below</div>
|
|
|
|
<table class="table-create-actor">
|
|
|
|
{{#each races as |race index|}}
|
|
|
|
<tr>
|
|
|
|
<td>{{race.name}}</td>
|
|
|
|
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-item-id="{{race._id}}" >Select it !</a></td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if (eq step "select-race-optionnal")}}
|
|
|
|
<div>The selected Race has some optionnal abilities. Select one ability by clicking the relevant button below<br>
|
|
|
|
Remaining abilities to select : {{nboptionnal}}
|
|
|
|
</div>
|
|
|
|
<table class="table-create-actor">
|
|
|
|
{{#each optionnalabilities as |ability index|}}
|
|
|
|
<tr>
|
|
|
|
<td>{{ability.name}}</td>
|
|
|
|
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-item-id="{{ability._id}}" >Select it !</a></td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if (eq step "select-race-stats")}}
|
|
|
|
<div>Select Stats to gain +1 modifier : <br>
|
|
|
|
Remaining stats to select : {{numberstats}}
|
|
|
|
</div>
|
|
|
|
<table class="table-create-actor">
|
|
|
|
{{#each stats as |stat key|}}
|
|
|
|
{{#if @root.statsonlyonce}}
|
|
|
|
{{#if stat.used}}
|
|
|
|
{{else}}
|
|
|
|
<tr>
|
|
|
|
<td>{{stat.label}} ({{stat.abbrev}})</td>
|
|
|
|
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-stat-key="{{key}}" >Select it !</a></td>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
<tr>
|
|
|
|
<td>{{stat.label}} ({{stat.abbrev}})</td>
|
|
|
|
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-stat-key="{{key}}" >Select it !</a></td>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#if (eq step "select-role")}}
|
|
|
|
<div>Now select a Role for your character.
|
|
|
|
</div>
|
|
|
|
<table class="table-create-actor">
|
|
|
|
{{#each roles as |role index|}}
|
|
|
|
<tr>
|
|
|
|
<td>{{role.name}}</td>
|
|
|
|
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-item-id="{{role._id}}" >Select it !</a></td>
|
|
|
|
</tr>
|
2022-01-06 18:22:05 +01:00
|
|
|
{{/each}}
|
2022-01-07 20:40:40 +01:00
|
|
|
</table>
|
2022-01-06 18:22:05 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|