Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RLG Maker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Romain DELEAU
RLG Maker
Commits
b4764ce7
Commit
b4764ce7
authored
Mar 07, 2024
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add role reward NPC contact
parent
2497f12e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
role.component.html
src/app/pieces/role/role.component.html
+6
-4
en.json
src/assets/lang/en.json
+2
-0
fr.json
src/assets/lang/fr.json
+2
-0
No files found.
src/app/pieces/role/role.component.html
View file @
b4764ce7
...
@@ -67,7 +67,7 @@ matTooltipPosition="left" [matTooltipDisabled]="!tooltipService.activatedTooltip
...
@@ -67,7 +67,7 @@ matTooltipPosition="left" [matTooltipDisabled]="!tooltipService.activatedTooltip
matTooltipPosition=
"above"
[
matTooltipDisabled
]="!
tooltipService
.
activatedTooltips
"
>
matTooltipPosition=
"above"
[
matTooltipDisabled
]="!
tooltipService
.
activatedTooltips
"
>
<option
value=
"quest"
>
{{'role_reward_type_newQuest' | translate}}
</option>
<option
value=
"quest"
>
{{'role_reward_type_newQuest' | translate}}
</option>
<option
value=
"skill"
>
{{'role_reward_type_skill' | 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=
"objective"
>
{{'role_reward_type_objective' | translate}}
</option>
<option
value=
"objects"
>
{{'role_reward_type_object' | translate}}
</option>
<option
value=
"objects"
>
{{'role_reward_type_object' | translate}}
</option>
<!--<option value="discuss">Changer de discussion</option>-->
<!--<option value="discuss">Changer de discussion</option>-->
...
@@ -82,14 +82,16 @@ matTooltipPosition="left" [matTooltipDisabled]="!tooltipService.activatedTooltip
...
@@ -82,14 +82,16 @@ matTooltipPosition="left" [matTooltipDisabled]="!tooltipService.activatedTooltip
</div>
</div>
<button
mat-button
class=
"piece-form-rewards-reward-objects-add"
(
click
)="
addObject
(
i
)"
><mat-icon
fontIcon=
"add"
></mat-icon></button>
<button
mat-button
class=
"piece-form-rewards-reward-objects-add"
(
click
)="
addObject
(
i
)"
><mat-icon
fontIcon=
"add"
></mat-icon></button>
</div>
</div>
<!--
<div
class=
"piece-form-rewards-reward-character"
*
ngIf=
"reward.type == 'character'"
>
<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>
<option
[
ngValue
]="
character
"
*
ngFor=
"let character of scenario.characters"
>
{{character.name}}
</option>
</select>
</select>
<button
mat-button
(
click
)="
removeReward
(
i
)"
><mat-icon
fontIcon=
"remove"
></mat-icon></button>
<button
mat-button
(
click
)="
removeReward
(
i
)"
><mat-icon
fontIcon=
"remove"
></mat-icon></button>
</div>
</div>
<!--
<div class="piece-form-rewards-reward-discussion" *ngIf="reward.type == 'discuss'">
<div class="piece-form-rewards-reward-discussion" *ngIf="reward.type == 'discuss'">
<select>
<select>
<option>Discussion 1</option>
<option>Discussion 1</option>
...
...
src/assets/lang/en.json
View file @
b4764ce7
...
@@ -140,6 +140,8 @@
...
@@ -140,6 +140,8 @@
"role_reward_type_newQuest_tooltip"
:
"Choose a quest from another mission with the same Role name"
,
"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"
:
"Develop a field of expertise"
,
"role_reward_type_skill_tooltip"
:
"Choose a skill created below"
,
"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"
:
"Achieve an educational objective"
,
"role_reward_type_objective_tooltip"
:
"Choose an educational objective created above"
,
"role_reward_type_objective_tooltip"
:
"Choose an educational objective created above"
,
"role_reward_type_object"
:
"Retrieve an item"
,
"role_reward_type_object"
:
"Retrieve an item"
,
...
...
src/assets/lang/fr.json
View file @
b4764ce7
...
@@ -140,6 +140,8 @@
...
@@ -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_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"
:
"Travailler un champ de compétence"
,
"role_reward_type_skill_tooltip"
:
"Choisir une compétence créée ci-dessous"
,
"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"
:
"Atteindre un objectif pédagogique"
,
"role_reward_type_objective_tooltip"
:
"Choisir un objectif pédagogique créé ci-dessus"
,
"role_reward_type_objective_tooltip"
:
"Choisir un objectif pédagogique créé ci-dessus"
,
"role_reward_type_object"
:
"Récupérer un objet"
,
"role_reward_type_object"
:
"Récupérer un objet"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment