diff --git a/system/lang/fr-fr.json b/system/lang/fr-fr.json index a7fd2a1..437c724 100644 --- a/system/lang/fr-fr.json +++ b/system/lang/fr-fr.json @@ -273,7 +273,7 @@ } }, "twenty_questions": { - "title": "Vingt questions", + "title": "Le jeu des Vingt questions", "bt_abrev": "20Q", "bt_refresh": "Actualiser", "intro": "Renseignez vos réponses au jeu des vingt questions sur ce formulaire et notez-y des éléments à utiliser ultérieurement !", diff --git a/system/scripts/actors/twenty-questions-dialog.js b/system/scripts/actors/twenty-questions-dialog.js index 40adc35..0be2151 100644 --- a/system/scripts/actors/twenty-questions-dialog.js +++ b/system/scripts/actors/twenty-questions-dialog.js @@ -34,7 +34,7 @@ export class TwentyQuestionsDialog extends FormApplication { title: game.i18n.localize("l5r5e.twenty_questions.title"), width: 600, height: 800, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "part1" }], + tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "part0" }], resizable: true, closeOnSubmit: false, submitOnClose: false, diff --git a/system/scripts/actors/twenty-questions.js b/system/scripts/actors/twenty-questions.js index 09510e1..bf4004b 100644 --- a/system/scripts/actors/twenty-questions.js +++ b/system/scripts/actors/twenty-questions.js @@ -38,6 +38,7 @@ export class TwentyQuestions { "step12.anxiety", "step13.advantage", "step13.disadvantage", + "step14.special_features", "step16.item", ]; @@ -97,12 +98,12 @@ export class TwentyQuestions { step7: { clan_relations: "", skill: "", - social_add_glory: 0, + social_add_glory: 5, }, step8: { bushido: "", skill: "", - social_add_honor: 0, + social_add_honor: 10, }, step9: { success: "", @@ -128,7 +129,7 @@ export class TwentyQuestions { }, step14: { first_sight: "", - special_features: "", + special_features: [], }, step15: { stress: "", @@ -187,9 +188,7 @@ export class TwentyQuestions { // If not fill some values this.data.step1.clan = actorDatas.identity.clan; - this.data.step1.social_status = actorDatas.social.status; this.data.step2.family = actorDatas.identity.family; - this.data.step2.social_glory = actorDatas.social.glory; this.data.step3.school = actorDatas.identity.school; this.data.step3.roles = actorDatas.identity.roles; this.data.step3.allowed_techniques.kata = actorDatas.techniques.kata; @@ -199,7 +198,6 @@ export class TwentyQuestions { this.data.step3.allowed_techniques.shuji = actorDatas.techniques.shuji; this.data.step3.allowed_techniques.maho = actorDatas.techniques.maho; this.data.step3.allowed_techniques.ninjutsu = actorDatas.techniques.ninjutsu; - this.data.step3.social_honor = actorDatas.social.honor; this.data.step5.social_giri = actorDatas.social.giri; this.data.step6.social_ninjo = actorDatas.social.ninjo; this.data.step19.firstname = actor.data.name.replace(/^(?:\w+\s+)?(.+)$/gi, "$1") || ""; diff --git a/system/templates/actors/twenty-questions-dialog.html b/system/templates/actors/twenty-questions-dialog.html index b3aec38..3049db2 100644 --- a/system/templates/actors/twenty-questions-dialog.html +++ b/system/templates/actors/twenty-questions-dialog.html @@ -4,15 +4,9 @@ {{/if}}
-

{{localize 'l5r5e.twenty_questions.title'}}

-
- {{localize 'l5r5e.twenty_questions.intro'}} -
-
{{localize 'l5r5e.twenty_questions.section'}} -
-
+
+

{{localize 'l5r5e.twenty_questions.title'}}

+
+ {{localize 'l5r5e.twenty_questions.intro'}} +
+
{{localize 'l5r5e.twenty_questions.section'}} +
+

{{localize 'l5r5e.twenty_questions.part1.title'}}