Char creation process finalized

This commit is contained in:
2022-11-26 21:00:40 +01:00
parent dad117fc17
commit 45e856a30b
3 changed files with 277 additions and 15 deletions

View File

@ -186,8 +186,62 @@
</table>
{{/if}}
{{#if (eq step "select-bonus-selection")}}
<div>Select a bonus
</div>
<table class="table-create-actor">
{{#each bonuses as |bonus key|}}
<tr>
<td><a class="view-item-from-chat" data-step="{{@root.step}}" data-bonus-key="{{key}}">{{bonus.name}}</a></td>
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-bonus-key="{{key}}" >Select it !</a></td>
</tr>
{{/each}}
</table>
{{/if}}
{{#if (eq step "select-global-virtue")}}
<div>Choose a Virtue.
</div>
<table class="table-create-actor">
{{#each virtues as |virtue index|}}
<tr>
<td><a class="view-item-from-chat" data-step="{{@root.step}}" data-item-id="{{virtue._id}}">{{virtue.name}}</a></td>
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-item-id="{{virtue._id}}" >Select it !</a></td>
</tr>
{{/each}}
</table>
{{/if}}
{{#if (eq step "select-global-vice")}}
<div>Choose an available Vice.
</div>
<table class="table-create-actor">
{{#each vices as |vice index|}}
<tr>
<td><a class="view-item-from-chat" data-step="{{@root.step}}" data-item-id="{{vice._id}}">{{vice.name}}</a></td>
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-item-id="{{vice._id}}" >Select it !</a></td>
</tr>
{{/each}}
</table>
{{/if}}
{{#if (eq step "select-vice-question")}}
<div>Would you like to skip, to choose a second Vice for 5 CDP or to choose 1 Virtue and 1 Vice?
</div>
<table class="table-create-actor">
{{#each questions as |question key|}}
<tr>
<td><a class="view-item-from-chat" data-step="{{@root.step}}" data-question-key="{{key}}">{{question.name}}</a></td>
<td><a class="chat-card-button chat-create-actor" data-step-name="{{@root.step}}" data-question-key="{{key}}" >Select it !</a></td>
</tr>
{{/each}}
</table>
{{/if}}
{{#if (eq step "character-end")}}
<div>Follow the next steps from the rulebook page 50 !. You can now spend 150 CDPs to customise your character.
<div>Choose Starting Gear, Worst Fear, Desires, Catchphrase & Catchphrase Trigger
and fill in the empty fields in the Bio Tab.<br>
Automated character creation is over.
</div>
{{/if}}