Commit b4764ce7 authored by Romain DELEAU's avatar Romain DELEAU

add role reward NPC contact

parent 2497f12e
......@@ -67,7 +67,7 @@ matTooltipPosition="left" [matTooltipDisabled]="!tooltipService.activatedTooltip
matTooltipPosition="above" [matTooltipDisabled]="!tooltipService.activatedTooltips">
<option value="quest">{{'role_reward_type_newQuest' | translate}}</option>
<option value="skill">{{'role_reward_type_skill' | translate}}</option>
<!--<option value="character">Récupérer le contact d'un PNJ</option>-->
<option value="character">{{'role_reward_type_character' | translate}}</option>
<option value="objective">{{'role_reward_type_objective' | translate}}</option>
<option value="objects">{{'role_reward_type_object' | translate}}</option>
<!--<option value="discuss">Changer de discussion</option>-->
......@@ -82,14 +82,16 @@ matTooltipPosition="left" [matTooltipDisabled]="!tooltipService.activatedTooltip
</div>
<button mat-button class="piece-form-rewards-reward-objects-add" (click)="addObject(i)"><mat-icon fontIcon="add"></mat-icon></button>
</div>
<!--
<div class="piece-form-rewards-reward-character" *ngIf="reward.type == 'character'">
<select [(ngModel)]="getCharacterReward(i).character">
<select [(ngModel)]="getCharacterReward(i).character" (change)="editTrace($event, 'Reward_['+i+']_character')"
[matTooltip]="translate.instant('role_reward_type_character_tooltip')"
matTooltipPosition="above" [matTooltipDisabled]="!tooltipService.activatedTooltips">
<option [ngValue]="character" *ngFor="let character of scenario.characters">{{character.name}}</option>
</select>
<button mat-button (click)="removeReward(i)"><mat-icon fontIcon="remove"></mat-icon></button>
</div>
<!--
<div class="piece-form-rewards-reward-discussion" *ngIf="reward.type == 'discuss'">
<select>
<option>Discussion 1</option>
......
......@@ -140,6 +140,8 @@
"role_reward_type_newQuest_tooltip": "Choose a quest from another mission with the same Role name",
"role_reward_type_skill": "Develop a field of expertise",
"role_reward_type_skill_tooltip": "Choose a skill created below",
"role_reward_type_character": "Retrieve the contact of an NPC",
"role_reward_type_character_tooltip": "",
"role_reward_type_objective": "Achieve an educational objective",
"role_reward_type_objective_tooltip": "Choose an educational objective created above",
"role_reward_type_object": "Retrieve an item",
......
......@@ -140,6 +140,8 @@
"role_reward_type_newQuest_tooltip": "Choisir une quête d'une autre mission avec le même nom de Rôle",
"role_reward_type_skill": "Travailler un champ de compétence",
"role_reward_type_skill_tooltip": "Choisir une compétence créée ci-dessous",
"role_reward_type_character": "Récupérer le contact d'un PNJ",
"role_reward_type_character_tooltip": "",
"role_reward_type_objective": "Atteindre un objectif pédagogique",
"role_reward_type_objective_tooltip": "Choisir un objectif pédagogique créé ci-dessus",
"role_reward_type_object": "Récupérer un objet",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment