-Added PoW 20Q

This commit is contained in:
Vlyan
2021-06-27 12:33:57 +02:00
parent 78068da433
commit 5f4d1a930b
10 changed files with 379 additions and 138 deletions

View File

@@ -1,7 +1,8 @@
# Changelog # Changelog
## 1.3.2 - Bubble Everywhere ## 1.3.2 - Ronin Bubble Everywhere
- Replaced moving description in items by a big popup on hover. - Replaced moving description in items by a big popup on hover.
- Added PoW Revised 20Q (and added tenet to core too).
- Added English/French Journal Compendiums for Conditions and Terrain Qualities (thanks to TesserWract). - Added English/French Journal Compendiums for Conditions and Terrain Qualities (thanks to TesserWract).
- Added FoV Terrain Compendium. - Added FoV Terrain Compendium.
- Added PoW Name Tables compendium : Qamarist Names, Ivory Kingdoms Names, Rokugani Names and Ujik Names. - Added PoW Name Tables compendium : Qamarist Names, Ivory Kingdoms Names, Rokugani Names and Ujik Names.

View File

@@ -71,6 +71,8 @@
"experience": "Experience", "experience": "Experience",
"clan": "Clan", "clan": "Clan",
"family": "Family", "family": "Family",
"region": "Region",
"upbringing": "Upbringing",
"school": "School", "school": "School",
"schoolrank": "Rank", "schoolrank": "Rank",
"roles": "Roles", "roles": "Roles",
@@ -210,6 +212,7 @@
"status": "Status", "status": "Status",
"ninjo": "Ninjo", "ninjo": "Ninjo",
"giri": "Giri", "giri": "Giri",
"past": "Past",
"titles": "Titles", "titles": "Titles",
"attitude": "Demeanor:", "attitude": "Demeanor:",
"advantages": "Distinctions and Passions", "advantages": "Distinctions and Passions",
@@ -360,19 +363,27 @@
"error": "Oops it looks like there's an error:", "error": "Oops it looks like there's an error:",
"part0": { "part0": {
"intro": "You can use this sheet to fill in your answers to The Game of Twenty Questions, and to take notes for later!", "intro": "You can use this sheet to fill in your answers to The Game of Twenty Questions, and to take notes for later!",
"section": "Legend of the Five Rings Core Rulebook, Chapter 2: Creating a character, p. 41-95" "section": "Legend of the Five Rings Core Rulebook, Chapter 2: Creating a character, p. 41-95",
"section_pow": "Legend of the Five Rings Path of Waves, Chapter 2: Creating a Character p. 3082",
"type": "Select the 20Q template you want to use",
"type_core": "Samurai (Core Rulebook)",
"type_pow": "Ronin (Path of Waves)"
}, },
"part1": { "part1": {
"title": "Part I: Core Identity (Clan and Family)", "title": "Part I: Core Identity (Clan and Family)",
"title_pow": "Part I: Core Identity (Region and Upbringing)",
"q1": "1. What clan does your character belong to? (p. 41)", "q1": "1. What clan does your character belong to? (p. 41)",
"q1_pow": "1. What region does your character come from? (p. 31)",
"status": "Status", "status": "Status",
"q2": "2. What family does your character belong to? (p. 49)", "q2": "2. What family does your character belong to? (p. 49)",
"q2_pow": "2. What was your characters upbringing? (p. 43)",
"money": "Starting wealth in Koku", "money": "Starting wealth in Koku",
"glory": "Glory" "glory": "Glory"
}, },
"part2": { "part2": {
"title": "Part II: Role and School", "title": "Part II: Role and School",
"q3": "3. What is your characters school, and what roles does that school fall into? (p. 56)", "q3": "3. What is your characters school, and what roles does that school fall into? (p. 56)",
"q3_pow": "3. What is your characters school, and what are its associated roles? (p. 46)",
"school": "School", "school": "School",
"role": "Roles", "role": "Roles",
"honor": "Honor", "honor": "Honor",
@@ -380,55 +391,80 @@
"school_ability": "School ability", "school_ability": "School ability",
"starting_techniques": "Starting techniques (2-5)", "starting_techniques": "Starting techniques (2-5)",
"outfit": "Starting outfit", "outfit": "Starting outfit",
"q4": "4. How does your character stand out within their school? (p. 88)" "q4": "4. How does your character stand out within their school? (p. 88)",
"q4_pow": "4. What gets your character in and out of trouble? (p. 60)"
}, },
"part3": { "part3": {
"title": "Part III: Honor and Glory", "title": "Part III: Honor and Glory",
"title_pow": "Part III: The Past and the Future they interact and process",
"q5": "5. Who is your lord and what is your characters duty to them? (p. 88)", "q5": "5. Who is your lord and what is your characters duty to them? (p. 88)",
"choose_giri": "Select giri:", "q5_pow": "5. What is your characters past and how does it Affect them? (p. 60)",
"choose_giri": "Select giri",
"choose_past": "Select past",
"q6": "6. What does your character long for, and how might this impede their duty? (p. 90)", "q6": "6. What does your character long for, and how might this impede their duty? (p. 90)",
"choose_ninjo": "Select ninjō:", "q6_pow": "6. What does your character long for, and how might their past impact their ninjō? (p. 62)",
"choose_ninjo": "Select ninjō",
"q7": "7. What is your characters relationship with their clan? (p. 91)", "q7": "7. What is your characters relationship with their clan? (p. 91)",
"q7_pow": "7. What is your character known for? (p. 61)",
"increase_glory": "Glory increase", "increase_glory": "Glory increase",
"q8": "8. What does your character think of Bushidō? (p. 91)", "q8": "8. What does your character think of Bushidō? (p. 91)",
"increase_honor": "Honor increase" "q8_pow": "8. What does your character think of Bushidō? (p. 62)",
"increase_honor": "Honor increase",
"tenets": "Choose one tenet of Bushidō as paramount and one tenet as less significant (see The Clans Views of Bushidō, page 301 of the core rulebook):",
"tenet_paramount": "Paramount",
"tenet_less_significant": "Less Significant",
"object": "Item (Rarity 7 or lower)"
}, },
"part4": { "part4": {
"title": "Part IV: Strengths and Weaknesses", "title": "Part IV: Strengths and Weaknesses",
"q9": "9. What is your characters greatest accomplishment so far? (p. 92)", "q9": "9. What is your characters greatest accomplishment so far? (p. 92)",
"q9_pow": "9. What is your characters greatest accomplishment so far? (p. 64)",
"distinction": "Distinction (1)", "distinction": "Distinction (1)",
"q10": "10. What holds your character back the most in life? (p. 92)", "q10": "10. What holds your character back the most in life? (p. 92)",
"q10_pow": "10. What holds your character back most in life? (p. 64)",
"adversity": "Adversity (1)", "adversity": "Adversity (1)",
"q11": "11. What activity Most makes your character feel at peace? (p. 93)", "q11": "11. What activity Most makes your character feel at peace? (p. 93)",
"q11_pow": "11. What activity most makes your character feel at peace? (p. 65)",
"passion": "Passion (1)", "passion": "Passion (1)",
"q12": "12. What concern, fear, or foible troubles your character the most? (p. 93)", "q12": "12. What concern, fear, or foible troubles your character the most? (p. 93)",
"q12_pow": "12. What concern, fear, or foible troubles your character the most? (p. 65)",
"anxiety": "Anxiety (1)", "anxiety": "Anxiety (1)",
"q13": "13. Who has your character learned the most from during their life? (p. 93)", "q13": "13. Who has your character learned the most from during their life? (p. 93)",
"q13_pow": "13. Who has your character learned the most from during their life? (p. 65)",
"disadvantage": "Disadvantage (1)", "disadvantage": "Disadvantage (1)",
"advantage": "Advantage (1)" "advantage": "Advantage (1)"
}, },
"part5": { "part5": {
"title": "Part V: Personality and Behavior", "title": "Part V: Personality and Behavior",
"q14": "14. What do people notice first upon encountering your character? (p. 93)", "q14": "14. What do people notice first upon encountering your character? (p. 93)",
"q14_pow": "14. What is your characters most prized possession? (p. 66)",
"accoutrement": "Personal accoutrement", "accoutrement": "Personal accoutrement",
"q15": "15. How does your character react to stressful situations? (p. 94)", "q15": "15. How does your character react to stressful situations? (p. 94)",
"q15_pow": "15. How does your character react to stressful situations? (p. 66)",
"q16": "16. What are your characters preexisting relationships with other clans, families, organizations, and traditions? (p. 94)", "q16": "16. What are your characters preexisting relationships with other clans, families, organizations, and traditions? (p. 94)",
"q16_pow": "16. What are your relationships to your family, the clans, peasants, and others? (p. 66)",
"object": "Item (Rarity 7 or lower)" "object": "Item (Rarity 7 or lower)"
}, },
"part6": { "part6": {
"title": "Part VI: Ancestry and Family", "title": "Part VI: Ancestry and Family",
"title_pow": "Part VI: Ancestry and Bonds",
"q17": "17. How would your characters parents describe them? (p. 95)", "q17": "17. How would your characters parents describe them? (p. 95)",
"q17_pow": "17. What shared history do you have with your group? (p. 66)",
"bond": "Determine an appropriate bond to apply to your relationship",
"q18": "18. Who was your character named to honor? (p. 95)", "q18": "18. Who was your character named to honor? (p. 95)",
"q18_pow": "18. Who raised you? (p. 67)",
"d10r1": "D10 Result (1/2)", "d10r1": "D10 Result (1/2)",
"d10r1_choice": "1st D10 Effect", "d10r1_choice": "1st D10 Effect",
"d10r2": "D10 Result (2/2)", "d10r2": "D10 Result (2/2)",
"d10r2_choice": "2nd D10 Effect", "d10r2_choice": "2nd D10 Effect",
"d10r2_drop_items": "Or a technique, a advantage, a object...", "d10r2_drop_items": "Or a technique, a advantage, a object...",
"q19": "19. What is your characters personal name? (p. 95)" "q19": "19. What is your characters personal name? (p. 95)",
"q19_pow": "19. What is your characters name? (p. 68)"
}, },
"part7": { "part7": {
"title": "Part VII: Death", "title": "Part VII: Death",
"q20": "20. How should your character die? (p. 95)", "q20": "20. How should your character die? (p. 95)",
"q20_pow": "20. How should your character die? (p. 68)",
"summary": "Summary", "summary": "Summary",
"generchar": "Generate the character", "generchar": "Generate the character",
"generchar_disclaimer": "Warning, this will erase character's current data!", "generchar_disclaimer": "Warning, this will erase character's current data!",

View File

@@ -71,6 +71,8 @@
"experience": "Experiencia", "experience": "Experiencia",
"clan": "Clan", "clan": "Clan",
"family": "Familia", "family": "Familia",
"region": "Region",
"upbringing": "Upbringing",
"school": "Escuela", "school": "Escuela",
"schoolrank": "Rango", "schoolrank": "Rango",
"roles": "Funciones", "roles": "Funciones",
@@ -210,6 +212,7 @@
"status": "Estatus", "status": "Estatus",
"ninjo": "Ninjo", "ninjo": "Ninjo",
"giri": "Giri", "giri": "Giri",
"past": "Past",
"titles": "Títulos", "titles": "Títulos",
"attitude": "Actitud:", "attitude": "Actitud:",
"advantages": "Distinciones y pasiones", "advantages": "Distinciones y pasiones",
@@ -360,19 +363,27 @@
"error": "Uy, parece que hay un error:", "error": "Uy, parece que hay un error:",
"part0": { "part0": {
"intro": "Puedes usar esta hoja para rellenar tus respuestas al Juego de las 20 Preguntas, y para tomar notas para más tarde!", "intro": "Puedes usar esta hoja para rellenar tus respuestas al Juego de las 20 Preguntas, y para tomar notas para más tarde!",
"section": "Leyenda de los Cinco Anillos, capítulo 2: Creación de personajes, p. 41-95" "section": "Leyenda de los Cinco Anillos, capítulo 2: Creación de personajes, p. 41-95",
"section_pow": "Legend of the Five Rings Path of Waves, Chapter 2: Creating a Character p. 3082",
"type": "Select the 20Q template you want to use",
"type_core": "Samurai (Core Rulebook)",
"type_pow": "Ronin (Path of Waves)"
}, },
"part1": { "part1": {
"title": "Parte I: Identidad básica (Clan y Familia)", "title": "Parte I: Identidad básica (Clan y Familia)",
"title_pow": "Part I: Core Identity (Region and Upbringing)",
"q1": "1. ¿A qué clan pertenece tu personaje? (p. 41)", "q1": "1. ¿A qué clan pertenece tu personaje? (p. 41)",
"q1_pow": "1. What region does your character come from? (p. 31)",
"status": "Estatus", "status": "Estatus",
"q2": "2. ¿A qué familia pertenece tu personaje? (p. 49)", "q2": "2. ¿A qué familia pertenece tu personaje? (p. 49)",
"q2_pow": "2. What was your characters upbringing? (p. 43)",
"money": "Riqueza inicial en Koku", "money": "Riqueza inicial en Koku",
"glory": "Gloria" "glory": "Gloria"
}, },
"part2": { "part2": {
"title": "Parte II: Función y escuela", "title": "Parte II: Función y escuela",
"q3": "3. ¿Cuál es la escuela de tu personaje, y en qué funciones cumple esa escuela? (p. 56)", "q3": "3. ¿Cuál es la escuela de tu personaje, y en qué funciones cumple esa escuela? (p. 56)",
"q3_pow": "3. What is your characters school, and what are its associated roles? (p. 46)",
"school": "Escuela", "school": "Escuela",
"role": "Funciones", "role": "Funciones",
"honor": "Honor", "honor": "Honor",
@@ -380,55 +391,80 @@
"school_ability": "Capacidad de escuela", "school_ability": "Capacidad de escuela",
"starting_techniques": "Técnicas iniciales (2-5)", "starting_techniques": "Técnicas iniciales (2-5)",
"outfit": "Equipo inicial", "outfit": "Equipo inicial",
"q4": "4. ¿De qué manera destaca tu personaje dentro de su escuela? (p. 88)" "q4": "4. ¿De qué manera destaca tu personaje dentro de su escuela? (p. 88)",
"q4_pow": "4. What gets your character in and out of trouble? (p. 60)"
}, },
"part3": { "part3": {
"title": "Parte III: Honor y Gloria", "title": "Parte III: Honor y Gloria",
"title_pow": "Part III: The Past and the Future they interact and process",
"q5": "5. ¿Quién es tu señor y cuál es el deber de tu personaje hacia él? (p. 88)", "q5": "5. ¿Quién es tu señor y cuál es el deber de tu personaje hacia él? (p. 88)",
"q5_pow": "5. What is your characters past and how does it Affect them? (p. 60)",
"choose_giri": "Elige un giri:", "choose_giri": "Elige un giri:",
"choose_past": "Select past",
"q6": "6. ¿Qué es lo que anhela tu personaje, y cómo podría esto interferir con su deber? (p. 90)", "q6": "6. ¿Qué es lo que anhela tu personaje, y cómo podría esto interferir con su deber? (p. 90)",
"q6_pow": "6. What does your character long for, and how might their past impact their ninjō? (p. 62)",
"choose_ninjo": "Elige un ninjō:", "choose_ninjo": "Elige un ninjō:",
"q7": "7. ¿Cuál es la relación de tu personaje con tu clan? (p. 91)", "q7": "7. ¿Cuál es la relación de tu personaje con tu clan? (p. 91)",
"q7_pow": "7. What is your character known for? (p. 61)",
"increase_glory": "Aumento de la gloria", "increase_glory": "Aumento de la gloria",
"q8": "8. ¿Qué piensa tu personaje acerca del Bushidō? (p. 91)", "q8": "8. ¿Qué piensa tu personaje acerca del Bushidō? (p. 91)",
"increase_honor": "Aumento del honor" "q8_pow": "8. What does your character think of Bushidō? (p. 62)",
"increase_honor": "Aumento del honor",
"tenets": "Choose one tenet of Bushidō as paramount and one tenet as less significant (see The Clans Views of Bushidō, page 301 of the core rulebook):",
"tenet_paramount": "Paramount",
"tenet_less_significant": "Less Significant",
"object": "Item (Rarity 7 or lower)"
}, },
"part4": { "part4": {
"title": "Parte IV: Fortalezas y Debilidades", "title": "Parte IV: Fortalezas y Debilidades",
"q9": "9. ¿Cuál es el mayor logro de tu personaje hasta ahora? (p. 92)", "q9": "9. ¿Cuál es el mayor logro de tu personaje hasta ahora? (p. 92)",
"q9_pow": "9. ¿Cuál es el mayor logro de tu personaje hasta ahora? (p. 64)",
"distinction": "Distinción (1)", "distinction": "Distinción (1)",
"q10": "10. ¿Qué es lo que más frena a tu personaje en la vida? (p. 92)", "q10": "10. ¿Qué es lo que más frena a tu personaje en la vida? (p. 92)",
"q10_pow": "10. ¿Qué es lo que más frena a tu personaje en la vida? (p. 64)",
"adversity": "Adversidad (1)", "adversity": "Adversidad (1)",
"q11": "11. ¿Qué actividad hace que tu personaje se sienta más en paz? (p. 93)", "q11": "11. ¿Qué actividad hace que tu personaje se sienta más en paz? (p. 93)",
"q11_pow": "11. ¿Qué actividad hace que tu personaje se sienta más en paz? (p. 65)",
"passion": "Pasión (1)", "passion": "Pasión (1)",
"q12": "12. ¿Qué preocupación, miedo o debilidad perturba más a tu personaje? (p. 93)", "q12": "12. ¿Qué preocupación, miedo o debilidad perturba más a tu personaje? (p. 93)",
"q12_pow": "12. ¿Qué preocupación, miedo o debilidad perturba más a tu personaje? (p. 65)",
"anxiety": "Ansiedad (1)", "anxiety": "Ansiedad (1)",
"q13": "13. ¿Quién ha sido la persona de la que más ha aprendido tu personaje en el transcurso de su vida? (p. 93)", "q13": "13. ¿Quién ha sido la persona de la que más ha aprendido tu personaje en el transcurso de su vida? (p. 93)",
"q13_pow": "13. ¿Quién ha sido la persona de la que más ha aprendido tu personaje en el transcurso de su vida? (p. 65)",
"disadvantage": "Desventaja (1)", "disadvantage": "Desventaja (1)",
"advantage": "Ventaja (1)" "advantage": "Ventaja (1)"
}, },
"part5": { "part5": {
"title": "Parte V: Personalidad y Comportamiento", "title": "Parte V: Personalidad y Comportamiento",
"q14": "14. ¿Qué es lo que advierte primero la gente al encontrarse con tu personaje? (p. 93)", "q14": "14. ¿Qué es lo que advierte primero la gente al encontrarse con tu personaje? (p. 93)",
"q14_pow": "14. What is your characters most prized possession? (p. 66)",
"accoutrement": "Accesorio estético distintivo", "accoutrement": "Accesorio estético distintivo",
"q15": "15. ¿Cómo reacciona tu personaje ante situaciones de tensión? (p. 94)", "q15": "15. ¿Cómo reacciona tu personaje ante situaciones de tensión? (p. 94)",
"q15_pow": "15. ¿Cómo reacciona tu personaje ante situaciones de tensión? (p. 66)",
"q16": "16. ¿Cuáles son las relaciones previas de tu personaje con otros clanes, familias, organizaciones y tradiciones? (p. 94)", "q16": "16. ¿Cuáles son las relaciones previas de tu personaje con otros clanes, familias, organizaciones y tradiciones? (p. 94)",
"q16_pow": "16. What are your relationships to your family, the clans, peasants, and others? (p. 66)",
"object": "Objeto (Rareza 7 o inferior)" "object": "Objeto (Rareza 7 o inferior)"
}, },
"part6": { "part6": {
"title": "Parte VI: Ascestros y familia", "title": "Parte VI: Ascestros y familia",
"title_pow": "Part VI: Ancestry and Bonds",
"q17": "17. ¿Cómo describirían sus padres a tu personaje? (p. 95)", "q17": "17. ¿Cómo describirían sus padres a tu personaje? (p. 95)",
"q17_pow": "17. What shared history do you have with your group? (p. 66)",
"bond": "Determine an appropriate bond to apply to your relationship",
"q18": "18. ¿En honor de quién se eligio el nombre de tu personaje? (p. 95)", "q18": "18. ¿En honor de quién se eligio el nombre de tu personaje? (p. 95)",
"q18_pow": "18. Who raised you? (p. 67)",
"d10r1": "Resultado D10 (1/2)", "d10r1": "Resultado D10 (1/2)",
"d10r1_choice": "Primer efecto de D10", "d10r1_choice": "Primer efecto de D10",
"d10r2": "Resultado D10 (2/2)", "d10r2": "Resultado D10 (2/2)",
"d10r2_choice": "Segundo efecto de D10", "d10r2_choice": "Segundo efecto de D10",
"d10r2_drop_items": "O una técnica, una ventaja, un objeto...", "d10r2_drop_items": "O una técnica, una ventaja, un objeto...",
"q19": "19. ¿Cuál es el nombre personal de tu personaje? (p. 95)" "q19": "19. ¿Cuál es el nombre personal de tu personaje? (p. 95)",
"q19_pow": "19. ¿Cuál es el nombre personal de tu personaje? (p. 68)"
}, },
"part7": { "part7": {
"title": "Parte VII: Muerte", "title": "Parte VII: Muerte",
"q20": "20. ¿Cómo debería morir tu personaje? (p. 95)", "q20": "20. ¿Cómo debería morir tu personaje? (p. 95)",
"q20_pow": "20. ¿Cómo debería morir tu personaje? (p. 68)",
"summary": "Resumen", "summary": "Resumen",
"generchar": "Generar el personaje", "generchar": "Generar el personaje",
"generchar_disclaimer": "Advertencia, esto borrará los datos actuales del personaje!", "generchar_disclaimer": "Advertencia, esto borrará los datos actuales del personaje!",

View File

@@ -71,6 +71,8 @@
"experience": "Expérience", "experience": "Expérience",
"clan": "Clan", "clan": "Clan",
"family": "Famille", "family": "Famille",
"region": "Region",
"upbringing": "Upbringing",
"school": "Ecole", "school": "Ecole",
"schoolrank": "Rang", "schoolrank": "Rang",
"roles": "Rôles", "roles": "Rôles",
@@ -210,6 +212,7 @@
"status": "Statut", "status": "Statut",
"ninjo": "Ninjo", "ninjo": "Ninjo",
"giri": "Giri", "giri": "Giri",
"past": "Past",
"titles": "Titres", "titles": "Titres",
"attitude": "attitude :", "attitude": "attitude :",
"advantages": "Aptitudes et Passions", "advantages": "Aptitudes et Passions",
@@ -360,19 +363,27 @@
"error": "Oops il semble qu'il y est erreur : ", "error": "Oops il semble qu'il y est erreur : ",
"part0": { "part0": {
"intro": "Renseignez vos réponses au jeu des vingt questions sur ce formulaire et notez-y des éléments à utiliser ultérieurement !", "intro": "Renseignez vos réponses au jeu des vingt questions sur ce formulaire et notez-y des éléments à utiliser ultérieurement !",
"section": "Livre de Règles de La Légende des Cinq Anneaux, Chapitre 2 : Création de personnage, p. 41-95" "section": "Livre de Règles de La Légende des Cinq Anneaux, Chapitre 2 : Création de personnage, p. 41-95",
"section_pow": "La Légende des Cinq Anneaux, La Voie des Vagues, Chapitre 2: Création de personnage, p. 3082",
"type": "Sélectionnez le type de 20Q que vous souhaitez utiliser",
"type_core": "Samurai (Livre de Règles)",
"type_pow": "Ronin (La Voie des Vagues)"
}, },
"part1": { "part1": {
"title": "Partie I : Identité (clan et famille)", "title": "Partie I : Identité (clan et famille)",
"title_pow": "Partie I: Identité (Région et Education)",
"q1": "1. A quel clan appartient votre personnage ? (p. 41)", "q1": "1. A quel clan appartient votre personnage ? (p. 41)",
"q1_pow": "1. De quelle région vient votre personnage ? (p. 31)",
"status": "Statut", "status": "Statut",
"q2": "2. A quelle famille appartient votre personnage ? (p. 49)", "q2": "2. A quelle famille appartient votre personnage ? (p. 49)",
"q2_pow": "2. Quelle a été l'éducation de votre personnage ? (p. 43)",
"money": "Fortune de départ en Koku", "money": "Fortune de départ en Koku",
"glory": "Gloire" "glory": "Gloire"
}, },
"part2": { "part2": {
"title": "Partie II : Rôle et École", "title": "Partie II : Rôle et École",
"q3": "3. Quelle est l'École votre personnage, et quel rôle remplit-elle ? (p. 56)", "q3": "3. Quelle est l'École votre personnage, et quel rôle remplit-elle ? (p. 56)",
"q3_pow": "3. Quelle est l'École votre personnage, et quel rôle remplit-elle ? (p. 46)",
"school": "École", "school": "École",
"role": "Rôles", "role": "Rôles",
"honor": "Honneur", "honor": "Honneur",
@@ -380,55 +391,80 @@
"school_ability": "Capacité d'école", "school_ability": "Capacité d'école",
"starting_techniques": "Techniques de départ (2-5)", "starting_techniques": "Techniques de départ (2-5)",
"outfit": "Équipement de départ", "outfit": "Équipement de départ",
"q4": "4. De quelle manière votre personnage se démarque-t-il au sein de son école ? (p. 88)" "q4": "4. De quelle manière votre personnage se démarque-t-il au sein de son école ? (p. 88)",
"q4_pow": "4. Qu'est-ce qui met votre personnage dans et hors du pétrin ? (p. 60)"
}, },
"part3": { "part3": {
"title": "Partie III : Honneur et Gloire", "title": "Partie III : Honneur et Gloire",
"title_pow": "Partie III: Le passé et l'Avenir : ils interagissent et se transforment",
"q5": "5. Qui est le seigneur de votre personnage et quel est le devoir de votre personnage envers lui ? (p. 88)", "q5": "5. Qui est le seigneur de votre personnage et quel est le devoir de votre personnage envers lui ? (p. 88)",
"q5_pow": "5. Quel est le passé de votre personnage et comment l'affecte-t-il ? (p. 60)",
"choose_giri": "Choisissez un giri", "choose_giri": "Choisissez un giri",
"choose_past": "Choisissez un passé",
"q6": "6. Que désire votre personnage, et en quoi ce désir risque-t-il de lempêcher daccomplir son devoir ? (p. 90)", "q6": "6. Que désire votre personnage, et en quoi ce désir risque-t-il de lempêcher daccomplir son devoir ? (p. 90)",
"q6_pow": "6. À quoi votre personnage aspire-t-il, et comment son passé peut-il avoir un impact sur son ninjō ? (p. 62)",
"choose_ninjo": "Choisissez un ninjō", "choose_ninjo": "Choisissez un ninjō",
"q7": "7. Quelle relation votre personnage entretient-il avec son clan ? (p. 91)", "q7": "7. Quelle relation votre personnage entretient-il avec son clan ? (p. 91)",
"q7_pow": "7. Pour quoi votre personnage est-il connu ? (p. 61)",
"increase_glory": "Augmentation de la gloire (+5)", "increase_glory": "Augmentation de la gloire (+5)",
"q8": "8. Que pense votre personnage du bushido ? (p. 91)", "q8": "8. Que pense votre personnage du bushido ? (p. 91)",
"increase_honor": "Augmentation de l'honneur (+10)" "q8_pow": "8. Que pense votre personnage du bushido ? (p. 62)",
"increase_honor": "Augmentation de l'honneur (+10)",
"tenets": "Choisissez un principe du Bushidō comme primordial et un principe comme moins important (voir Les Clans et leurs vision du Bushido, page 301 du livre de règles)",
"tenet_paramount": "Primordiale",
"tenet_less_significant": "Moins importante",
"object": "Objet (Rareté inférieur ou égale à 7)"
}, },
"part4": { "part4": {
"title": "Partie IV : Forces et Faiblesses", "title": "Partie IV : Forces et Faiblesses",
"q9": "9. Quelle est à ce jour la plus belle réussite de votre personnage ? (p. 92)", "q9": "9. Quelle est à ce jour la plus belle réussite de votre personnage ? (p. 92)",
"q9_pow": "9. Quelle est à ce jour la plus belle réussite de votre personnage ? (p. 64)",
"distinction": "Aptitude (1)", "distinction": "Aptitude (1)",
"q10": "10. Quel est le frein principal dans la vie de votre personnage ? (p. 92)", "q10": "10. Quel est le frein principal dans la vie de votre personnage ? (p. 92)",
"q10_pow": "10. Quel est le frein principal dans la vie de votre personnage ? (p. 64)",
"adversity": "Coup du sort (1)", "adversity": "Coup du sort (1)",
"q11": "11. Quelle activité apaise le plus votre personnage ? (p. 93)", "q11": "11. Quelle activité apaise le plus votre personnage ? (p. 93)",
"q11_pow": "11. Quelle activité apaise le plus votre personnage ? (p. 65)",
"passion": "Passion (1)", "passion": "Passion (1)",
"q12": "12. Quelle inquiétude, crainte ou manie tracasse le plus votre personnage ? (p. 93)", "q12": "12. Quelle inquiétude, crainte ou manie tracasse le plus votre personnage ? (p. 93)",
"q12_pow": "12. Quelle inquiétude, crainte ou manie tracasse le plus votre personnage ? (p. 65)",
"anxiety": "Défaillance (1)", "anxiety": "Défaillance (1)",
"q13": "13. De qui votre personnage a-t-il le plus appris au cours de sa vie ? (p. 93)", "q13": "13. De qui votre personnage a-t-il le plus appris au cours de sa vie ? (p. 93)",
"q13_pow": "13. De qui votre personnage a-t-il le plus appris au cours de sa vie ? (p. 65)",
"disadvantage": "Désavantage (1)", "disadvantage": "Désavantage (1)",
"advantage": "Avantage (1)" "advantage": "Avantage (1)"
}, },
"part5": { "part5": {
"title": "Partie V : Personnalité et Comportement", "title": "Partie V : Personnalité et Comportement",
"q14": "14. Que remarque-t-on en premier chez votre personnage ? (p. 93)", "q14": "14. Que remarque-t-on en premier chez votre personnage ? (p. 93)",
"q14_pow": "14. Quel est le bien le plus précieux de votre personnage ? (p. 66)",
"accoutrement": "Vêtement ou objet distinctif", "accoutrement": "Vêtement ou objet distinctif",
"q15": "15. Comment votre personnage réagit-il aux situations stressantes ? (p. 94)", "q15": "15. Comment votre personnage réagit-il aux situations stressantes ? (p. 94)",
"q15_pow": "15. Comment votre personnage réagit-il aux situations stressantes ? (p. 66)",
"q16": "16. Quelles relations votre personnage entretient-il avec des familles, des organisations, des traditions et des clans différents ? (p. 94)", "q16": "16. Quelles relations votre personnage entretient-il avec des familles, des organisations, des traditions et des clans différents ? (p. 94)",
"q16_pow": "16. Quelles sont vos relations avec votre famille, les clans, les paysans et les autres ? (p. 66)",
"object": "Objet (Rareté inférieur ou égale à 7)" "object": "Objet (Rareté inférieur ou égale à 7)"
}, },
"part6": { "part6": {
"title": "Partie VI : Lignée et Famille", "title": "Partie VI : Lignée et Famille",
"title_pow": "Partie VI: Ancêtres et Liens",
"q17": "17. Comment les parents de votre personnage le décriraient-ils ? (p. 95)", "q17": "17. Comment les parents de votre personnage le décriraient-ils ? (p. 95)",
"q17_pow": "17. Quelle histoire partagée avez-vous avec votre groupe ? (p. 66)",
"bond": "Déterminez un lien approprié qui s'applique à votre relation",
"q18": "18. En lhonneur de qui votre personnage a-t-il été prénommé ? (p. 95)", "q18": "18. En lhonneur de qui votre personnage a-t-il été prénommé ? (p. 95)",
"q18_pow": "18. Qui vous a élevé ? (p. 67)",
"d10r1": "Résultat du 1er D10", "d10r1": "Résultat du 1er D10",
"d10r1_choice": "Effet du 1er D10", "d10r1_choice": "Effet du 1er D10",
"d10r2": "Résultat du 2eme D10", "d10r2": "Résultat du 2eme D10",
"d10r2_choice": "Effet du 2ème D10", "d10r2_choice": "Effet du 2ème D10",
"d10r2_drop_items": "Ou une technique, un avantage, un objet...", "d10r2_drop_items": "Ou une technique, un avantage, un objet...",
"q19": "19. Quel est le prénom de votre personnage ? (p. 95)" "q19": "19. Quel est le prénom de votre personnage ? (p. 95)",
"q19_pow": "19. Quel est le prénom de votre personnage ? (p. 68)"
}, },
"part7": { "part7": {
"title": "Partie VII : Mort", "title": "Partie VII : Mort",
"q20": "20. Comment envisagez-vous la mort de votre personnage ? (p. 95)", "q20": "20. Comment envisagez-vous la mort de votre personnage ? (p. 95)",
"q20_pow": "20. Comment envisagez-vous la mort de votre personnage ? (p. 68)",
"summary": "Résumé", "summary": "Résumé",
"generchar": "Générer le personnage", "generchar": "Générer le personnage",
"generchar_disclaimer": "Attention cela écrasera les données de votre personnage actuel !", "generchar_disclaimer": "Attention cela écrasera les données de votre personnage actuel !",

View File

@@ -122,6 +122,15 @@ export class TwentyQuestionsDialog extends FormApplication {
drop: this._onDropItem.bind(this, "peculiarity"), drop: this._onDropItem.bind(this, "peculiarity"),
}, },
}), }),
new DragDrop({
dragSelector: ".bond",
dropSelector: ".bonds",
permissions: { dragstart: this._canDragStart.bind(this), drop: this._canDragDrop.bind(this) },
callbacks: {
dragstart: this._onDragStart.bind(this),
drop: this._onDropItem.bind(this, "bond"),
},
}),
]; ];
} }
@@ -149,6 +158,11 @@ export class TwentyQuestionsDialog extends FormApplication {
...this.summary, ...this.summary,
errors: this.summary.errors.join(", "), errors: this.summary.errors.join(", "),
}, },
templates: [
{ id: "core", label: game.i18n.localize("l5r5e.twenty_questions.part0.type_core") },
{ id: "pow", label: game.i18n.localize("l5r5e.twenty_questions.part0.type_pow") },
],
suffix: this.object.data.template === "pow" ? "_pow" : "",
}; };
} }
@@ -218,7 +232,7 @@ export class TwentyQuestionsDialog extends FormApplication {
return; return;
} }
if (!["item", "technique", "peculiarity"].includes(type)) { if (!["item", "technique", "peculiarity", "bond"].includes(type)) {
return; return;
} }
const stepKey = $(event.target).data("step"); const stepKey = $(event.target).data("step");
@@ -230,7 +244,7 @@ export class TwentyQuestionsDialog extends FormApplication {
// Get item // Get item
const item = await game.l5r5e.HelpersL5r5e.getDragnDropTargetObject(event); const item = await game.l5r5e.HelpersL5r5e.getDragnDropTargetObject(event);
if (item.documentName !== "Item" || !item) { if (item.documentName !== "Item" || !item) {
console.warn("forbidden item for this drop zone", type, item.data.type); console.warn(`forbidden item for this drop zone ${type} : ${item.data.type}`);
return; return;
} }
@@ -243,7 +257,7 @@ export class TwentyQuestionsDialog extends FormApplication {
(type !== "item" && item.data.type !== type) || (type !== "item" && item.data.type !== type) ||
(type === "item" && !["item", "weapon", "armor"].includes(item.data.type)) (type === "item" && !["item", "weapon", "armor"].includes(item.data.type))
) { ) {
console.warn("forbidden item for this drop zone", type, item.data.type); console.warn(`forbidden item for this drop zone ${type} : ${item.data.type}`);
return; return;
} }
@@ -255,7 +269,7 @@ export class TwentyQuestionsDialog extends FormApplication {
// School Ability // School Ability
if (stepKey === "step3.school_ability") { if (stepKey === "step3.school_ability") {
if (item.data.data.technique_type !== "school_ability") { if (item.data.data.technique_type !== "school_ability") {
console.warn("This technique is not a school ability", item.data.data.technique_type); console.warn(`This technique is not a school ability : ${item.data.data.technique_type}`);
return; return;
} }
} else if (!this.object.data.step3.allowed_techniques?.[item.data.data.technique_type]) { } else if (!this.object.data.step3.allowed_techniques?.[item.data.data.technique_type]) {
@@ -327,7 +341,15 @@ export class TwentyQuestionsDialog extends FormApplication {
async _updateObject(event, formData) { async _updateObject(event, formData) {
// Check "Or" conditions // Check "Or" conditions
formData["step7.social_add_glory"] = formData["step7.skill"] === "none" ? 5 : 0; formData["step7.social_add_glory"] = formData["step7.skill"] === "none" ? 5 : 0;
formData["step8.social_add_honor"] = formData["step8.skill"] === "none" ? 10 : 0;
if (formData["template"] === "pow" && this.object.data.step8.item.length > 0) {
formData["step8.skill"] = "none";
formData["step8.social_add_honor"] = 0;
} else {
formData["step8.social_add_honor"] =
!formData["step8.skill"] || formData["step8.skill"] === "none" ? 10 : 0;
foundry.utils.setProperty(this.object.data, "step8.item", []);
}
if (this.object.data.step13.advantage.length > 0) { if (this.object.data.step13.advantage.length > 0) {
formData["step13.skill"] = "none"; formData["step13.skill"] = "none";

View File

@@ -34,6 +34,7 @@ export class TwentyQuestions {
"step3.school_ability", "step3.school_ability",
"step3.equipment", "step3.equipment",
"step9.distinction", "step9.distinction",
"step8.item",
"step10.adversity", "step10.adversity",
"step11.passion", "step11.passion",
"step12.anxiety", "step12.anxiety",
@@ -41,6 +42,7 @@ export class TwentyQuestions {
"step13.disadvantage", "step13.disadvantage",
"step14.special_features", "step14.special_features",
"step16.item", "step16.item",
"step17.bond",
"step18.heritage_item", "step18.heritage_item",
]; ];
@@ -48,6 +50,7 @@ export class TwentyQuestions {
* All this object data (Steps) * All this object data (Steps)
*/ */
data = { data = {
template: "core",
generated: false, generated: false,
step1: { step1: {
clan: "", clan: "",
@@ -108,6 +111,9 @@ export class TwentyQuestions {
bushido: "", bushido: "",
skill: "", skill: "",
social_add_honor: 10, social_add_honor: 10,
tenet_paramount: "",
tenet_less_significant: "",
item: [],
}, },
step9: { step9: {
success: "", success: "",
@@ -145,6 +151,7 @@ export class TwentyQuestions {
step17: { step17: {
parents_pov: "", parents_pov: "",
skill: "", skill: "",
bond: [],
}, },
step18: { step18: {
heritage_name: "", heritage_name: "",
@@ -186,7 +193,7 @@ export class TwentyQuestions {
const actorDatas = actor.data.data; const actorDatas = actor.data.data;
// already 20q struct ? // already 20q struct ?
if (!isObjectEmpty(actorDatas.twenty_questions)) { if (!foundry.utils.isObjectEmpty(actorDatas.twenty_questions)) {
this.data = { this.data = {
...this.data, ...this.data,
...actorDatas.twenty_questions, ...actorDatas.twenty_questions,
@@ -234,6 +241,7 @@ export class TwentyQuestions {
parseInt(formData.step18.heritage_add_honor); parseInt(formData.step18.heritage_add_honor);
// Update the actor // Update the actor
actorDatas.template = formData.template;
actorDatas.zeni = Math.floor(formData.step2.wealth * 50); actorDatas.zeni = Math.floor(formData.step2.wealth * 50);
actorDatas.identity = { actorDatas.identity = {
...actorDatas.identity, ...actorDatas.identity,

View File

@@ -110,6 +110,7 @@
}, },
"character": { "character": {
"templates": ["identity", "rings", "social", "skills", "techniques", "conflict", "advancement"], "templates": ["identity", "rings", "social", "skills", "techniques", "conflict", "advancement"],
"template": "core",
"zeni": 0, "zeni": 0,
"twenty_questions": {} "twenty_questions": {}
}, },

View File

@@ -1,13 +1,21 @@
<ul class="identity-content"> <ul class="identity-content">
<li> <li>
<label class="attribute-label"> <label class="attribute-label">
{{localize 'l5r5e.clan'}} {{#ifCond data.data.template '==' 'pow'}}
{{localize 'l5r5e.region'}}
{{else}}
{{localize 'l5r5e.clan'}}
{{/ifCond}}
<input type="text" name="data.identity.clan" value="{{data.data.identity.clan}}"/> <input type="text" name="data.identity.clan" value="{{data.data.identity.clan}}"/>
</label> </label>
</li> </li>
<li> <li>
<label class="attribute-label"> <label class="attribute-label">
{{localize 'l5r5e.family'}} {{#ifCond data.data.template '==' 'pow'}}
{{localize 'l5r5e.upbringing'}}
{{else}}
{{localize 'l5r5e.family'}}
{{/ifCond}}
<input type="text" name="data.identity.family" value="{{data.data.identity.family}}"/> <input type="text" name="data.identity.family" value="{{data.data.identity.family}}"/>
</label> </label>
</li> </li>

View File

@@ -1,10 +1,16 @@
<div class="narrative-content"> <div class="narrative-content">
<fieldset> <fieldset>
<legend class="text-block-header">{{localize 'l5r5e.social.title'}}</legend> <legend class="text-block-header">{{localize 'l5r5e.social.title'}}</legend>
<label class="attribute-label">{{localize 'l5r5e.social.ninjo'}} <label class="attribute-label">
{{localize 'l5r5e.social.ninjo'}}
<textarea type="text" name="data.social.ninjo">{{data.data.social.ninjo}}</textarea> <textarea type="text" name="data.social.ninjo">{{data.data.social.ninjo}}</textarea>
</label> </label>
<label class="attribute-label">{{localize 'l5r5e.social.giri'}} <label class="attribute-label">
{{#ifCond data.data.template '==' 'pow'}}
{{localize 'l5r5e.social.past'}}
{{else}}
{{localize 'l5r5e.social.giri'}}
{{/ifCond}}
<textarea type="text" name="data.social.giri">{{data.data.social.giri}}</textarea> <textarea type="text" name="data.social.giri">{{data.data.social.giri}}</textarea>
</label> </label>
</fieldset> </fieldset>

View File

@@ -19,12 +19,24 @@
{{localize 'l5r5e.twenty_questions.part0.intro'}} {{localize 'l5r5e.twenty_questions.part0.intro'}}
<br /> <br />
<br /> <br />
<i> {{localize 'l5r5e.twenty_questions.part0.section'}}</i> <label>
{{localize 'l5r5e.twenty_questions.part0.type'}}
<select name="template" class="skill-select">
{{#select data.template}}
{{#each templates as |obj|}}
<option value="{{obj.id}}">{{obj.label}}</option>
{{/each}}
{{/select}}
</select>
</label>
<br />
<br />
<i>{{localize (localize 'l5r5e.twenty_questions.part0.section{suffix}' suffix=suffix)}}</i>
<button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button> <button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button>
</article> </article>
<article class="tab parts part1" data-group="primary" data-tab="part1"> <article class="tab parts part1" data-group="primary" data-tab="part1">
<h2>{{localize 'l5r5e.twenty_questions.part1.title'}}</h2> <h2>{{localize (localize 'l5r5e.twenty_questions.part1.title{suffix}' suffix=suffix)}}</h2>
<h3>{{localize 'l5r5e.twenty_questions.part1.q1'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part1.q1{suffix}' suffix=suffix)}}</h3>
<input type="text" name="step1.clan" value="{{data.step1.clan}}"> <input type="text" name="step1.clan" value="{{data.step1.clan}}">
<table> <table>
<tr> <tr>
@@ -60,13 +72,18 @@
</td> </td>
<td class="third"> <td class="third">
<label> <label>
{{localize 'l5r5e.twenty_questions.part1.status'}} {{#ifCond data.template '==' 'core'}}
<input type="number" name="step1.social_status" min="0" max="100" value="{{data.step1.social_status}}" data-dtype="Number" placeholder="0" /> {{localize 'l5r5e.twenty_questions.part1.status'}}
<input type="number" name="step1.social_status" min="0" max="100" value="{{data.step1.social_status}}" data-dtype="Number" placeholder="0" />
{{else}}
{{localize 'l5r5e.twenty_questions.part1.glory'}}
<input type="number" name="step2.social_glory" min="0" max="100" value="{{data.step2.social_glory}}" data-dtype="Number" placeholder="0" />
{{/ifCond}}
</label> </label>
</td> </td>
</tr> </tr>
</table> </table>
<h3>{{localize 'l5r5e.twenty_questions.part1.q2'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part1.q2{suffix}' suffix=suffix)}}</h3>
<input type="text" name="step2.family" value="{{data.step2.family}}"> <input type="text" name="step2.family" value="{{data.step2.family}}">
<table> <table>
<tr> <tr>
@@ -111,8 +128,13 @@
<td class="third"> <td class="third">
{{localize 'l5r5e.twenty_questions.part1.money'}} {{localize 'l5r5e.twenty_questions.part1.money'}}
<input type="number" name="step2.wealth" value="{{data.step2.wealth}}" data-dtype="Number" placeholder="0" /> <input type="number" name="step2.wealth" value="{{data.step2.wealth}}" data-dtype="Number" placeholder="0" />
{{localize 'l5r5e.twenty_questions.part1.glory'}} {{#ifCond data.template '==' 'core'}}
<input type="number" name="step2.social_glory" min="0" max="100" value="{{data.step2.social_glory}}" data-dtype="Number" placeholder="0" /> {{localize 'l5r5e.twenty_questions.part1.glory'}}
<input type="number" name="step2.social_glory" min="0" max="100" value="{{data.step2.social_glory}}" data-dtype="Number" placeholder="0" />
{{else}}
{{localize 'l5r5e.twenty_questions.part1.status'}}
<input type="number" name="step1.social_status" min="0" max="100" value="{{data.step1.social_status}}" data-dtype="Number" placeholder="0" />
{{/ifCond}}
</td> </td>
</tr> </tr>
</table> </table>
@@ -120,7 +142,7 @@
</article> </article>
<article class="tab parts part2" data-group="primary" data-tab="part2"> <article class="tab parts part2" data-group="primary" data-tab="part2">
<h2>{{localize 'l5r5e.twenty_questions.part2.title'}}</h2> <h2>{{localize 'l5r5e.twenty_questions.part2.title'}}</h2>
<h3>{{localize 'l5r5e.twenty_questions.part2.q3'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part2.q3{suffix}' suffix=suffix)}}</h3>
<label class="full"> <label class="full">
{{localize 'l5r5e.twenty_questions.part2.school'}} {{localize 'l5r5e.twenty_questions.part2.school'}}
<input type="text" name="step3.school" value="{{data.step3.school}}"> <input type="text" name="step3.school" value="{{data.step3.school}}">
@@ -230,17 +252,17 @@
<tr> <tr>
<td class="fifty"> <td class="fifty">
{{localize 'l5r5e.twenty_questions.part2.school_ability'}} {{localize 'l5r5e.twenty_questions.part2.school_ability'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.school_ability stepName='step3.school_ability' itemType='techniques' hideDndAt=1 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.school_ability stepName='step3.school_ability' itemType='techniques' hideDndAt=1}}
{{localize 'l5r5e.twenty_questions.part2.starting_techniques'}} {{localize 'l5r5e.twenty_questions.part2.starting_techniques'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.techniques stepName='step3.techniques' itemType='techniques' hideDndAt=5 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.techniques stepName='step3.techniques' itemType='techniques' hideDndAt=5}}
</td> </td>
<td class="fifty"> <td class="fifty">
{{localize 'l5r5e.twenty_questions.part2.outfit'}} {{localize 'l5r5e.twenty_questions.part2.outfit'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.equipment stepName='step3.equipment' itemType='items' hideDndAt=20 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step3.equipment stepName='step3.equipment' itemType='items' hideDndAt=20}}
</td> </td>
</tr> </tr>
</table> </table>
<h3>{{localize 'l5r5e.twenty_questions.part2.q4'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part2.q4{suffix}' suffix=suffix)}}</h3>
<textarea name="step4.stand_out">{{data.step4.stand_out}}</textarea> <textarea name="step4.stand_out">{{data.step4.stand_out}}</textarea>
<label> <label>
{{localize 'l5r5e.twenty_questions.increase_ring1'}} {{localize 'l5r5e.twenty_questions.increase_ring1'}}
@@ -256,18 +278,22 @@
<button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button> <button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button>
</article> </article>
<article class="tab parts part3" data-group="primary" data-tab="part3"> <article class="tab parts part3" data-group="primary" data-tab="part3">
<h2>{{localize 'l5r5e.twenty_questions.part3.title'}}</h2> <h2>{{localize (localize 'l5r5e.twenty_questions.part3.title{suffix}' suffix=suffix)}}</h2>
<h3>{{localize 'l5r5e.twenty_questions.part3.q5'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part3.q5{suffix}' suffix=suffix)}}</h3>
<label> <label>
{{localize 'l5r5e.twenty_questions.part3.choose_giri'}} {{#ifCond data.template '==' 'core'}}
{{localize 'l5r5e.twenty_questions.part3.choose_giri'}}
{{else}}
{{localize 'l5r5e.twenty_questions.part3.choose_past'}}
{{/ifCond}}
<textarea name="step5.social_giri">{{data.step5.social_giri}}</textarea> <textarea name="step5.social_giri">{{data.step5.social_giri}}</textarea>
</label> </label>
<h3>{{localize 'l5r5e.twenty_questions.part3.q6'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part3.q6{suffix}' suffix=suffix)}}</h3>
<label> <label>
{{localize 'l5r5e.twenty_questions.part3.choose_ninjo'}} {{localize 'l5r5e.twenty_questions.part3.choose_ninjo'}}
<textarea name="step6.social_ninjo">{{data.step6.social_ninjo}}</textarea> <textarea name="step6.social_ninjo">{{data.step6.social_ninjo}}</textarea>
</label> </label>
<h3>{{localize 'l5r5e.twenty_questions.part3.q7'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part3.q7{suffix}' suffix=suffix)}}</h3>
<textarea name="step7.clan_relations">{{data.step7.clan_relations}}</textarea> <textarea name="step7.clan_relations">{{data.step7.clan_relations}}</textarea>
<table> <table>
<tr> <tr>
@@ -295,13 +321,13 @@
</td> </td>
</tr> </tr>
</table> </table>
<h3>{{localize 'l5r5e.twenty_questions.part3.q8'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part3.q8{suffix}' suffix=suffix)}}</h3>
<textarea name="step8.bushido">{{data.step8.bushido}}</textarea> <textarea name="step8.bushido">{{data.step8.bushido}}</textarea>
<table> <table>
<tr> <tr>
<td class="third"> <td class="third">
{{localize 'l5r5e.twenty_questions.increase_skill1'}} {{localize 'l5r5e.twenty_questions.increase_skill1'}}
<select name="step8.skill" class="skill-select"> <select name="step8.skill" class="skill-select" {{#ifCond data.step8.item.length '>' 0}}disabled{{/ifCond}}>
{{#select data.step8.skill}} {{#select data.step8.skill}}
<option value="none">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option> <option value="none">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option>
{{#each noHonorSkillsList as |skillId|}} {{#each noHonorSkillsList as |skillId|}}
@@ -318,36 +344,62 @@
<input type="number" name="step8.social_add_honor" value="{{data.step8.social_add_honor}}" data-dtype="Number" placeholder="0" disabled /> <input type="number" name="step8.social_add_honor" value="{{data.step8.social_add_honor}}" data-dtype="Number" placeholder="0" disabled />
</td> </td>
</tr> </tr>
{{#ifCond data.template '==' 'pow'}}
<tr>
<td class="" colspan="3">
{{localize 'l5r5e.twenty_questions.or'}} {{localize 'l5r5e.twenty_questions.part3.object'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step8.item stepName='step8.item' itemType='items' hideDndAt=1}}
</td>
</tr>
{{/ifCond}}
</table> </table>
{{localize 'l5r5e.twenty_questions.part3.tenets'}}
<table>
<tr>
<td class="third">
{{localize 'l5r5e.twenty_questions.part3.tenet_paramount'}}
<input type="text" name="step8.tenet_paramount" value="{{data.step8.tenet_paramount}}">
</td>
<td class="or">
{{localize 'l5r5e.twenty_questions.and'}}
</td>
<td class="">
{{localize 'l5r5e.twenty_questions.part3.tenet_less_significant'}}
<input type="text" name="step8.tenet_less_significant" value="{{data.step8.tenet_less_significant}}">
</td>
</tr>
</table>
<button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button> <button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button>
</article> </article>
<article class="tab parts part4" data-group="primary" data-tab="part4"> <article class="tab parts part4" data-group="primary" data-tab="part4">
<h2>{{localize 'l5r5e.twenty_questions.part4.title'}}</h2> <h2>{{localize 'l5r5e.twenty_questions.part4.title'}}</h2>
<h3>{{localize 'l5r5e.twenty_questions.part4.q9'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part4.q9{suffix}' suffix=suffix)}}</h3>
<textarea name="step9.success">{{data.step9.success}}</textarea> <textarea name="step9.success">{{data.step9.success}}</textarea>
<label> <label>
{{localize 'l5r5e.twenty_questions.part4.distinction'}} {{localize 'l5r5e.twenty_questions.part4.distinction'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step9.distinction stepName='step9.distinction' itemType='peculiarities' hideDndAt=1 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step9.distinction stepName='step9.distinction' itemType='peculiarities' hideDndAt=1}}
</label> </label>
<h3>{{localize 'l5r5e.twenty_questions.part4.q10'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part4.q10{suffix}' suffix=suffix)}}</h3>
<textarea name="step10.difficulty">{{data.step10.difficulty}}</textarea> <textarea name="step10.difficulty">{{data.step10.difficulty}}</textarea>
<label> <label>
{{localize 'l5r5e.twenty_questions.part4.adversity'}} {{localize 'l5r5e.twenty_questions.part4.adversity'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step10.adversity stepName='step10.adversity' itemType='peculiarities' hideDndAt=1 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step10.adversity stepName='step10.adversity' itemType='peculiarities' hideDndAt=1}}
</label> </label>
<h3>{{localize 'l5r5e.twenty_questions.part4.q11'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part4.q11{suffix}' suffix=suffix)}}</h3>
<textarea name="step11.calms">{{data.step11.calms}}</textarea> <textarea name="step11.calms">{{data.step11.calms}}</textarea>
<label> <label>
{{localize 'l5r5e.twenty_questions.part4.passion'}} {{localize 'l5r5e.twenty_questions.part4.passion'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step11.passion stepName='step11.passion' itemType='peculiarities' hideDndAt=1 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step11.passion stepName='step11.passion' itemType='peculiarities' hideDndAt=1}}
</label> </label>
<h3>{{localize 'l5r5e.twenty_questions.part4.q12'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part4.q12{suffix}' suffix=suffix)}}</h3>
<textarea name="step12.worries">{{data.step12.worries}}</textarea> <textarea name="step12.worries">{{data.step12.worries}}</textarea>
<label> <label>
{{localize 'l5r5e.twenty_questions.part4.anxiety'}} {{localize 'l5r5e.twenty_questions.part4.anxiety'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step12.anxiety stepName='step12.anxiety' itemType='peculiarities' hideDndAt=1 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step12.anxiety stepName='step12.anxiety' itemType='peculiarities' hideDndAt=1}}
</label> </label>
<h3>{{localize 'l5r5e.twenty_questions.part4.q13'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part4.q13{suffix}' suffix=suffix)}}</h3>
<textarea name="step13.most_learn">{{data.step13.most_learn}}</textarea> <textarea name="step13.most_learn">{{data.step13.most_learn}}</textarea>
<table> <table>
<tr> <tr>
@@ -379,7 +431,7 @@
<td class=""> <td class="">
{{localize 'l5r5e.twenty_questions.part4.advantage'}} {{localize 'l5r5e.twenty_questions.part4.advantage'}}
{{#ifCond (ifCond data.step13.disadvantage.length '==' 0) '&&' (ifCond data.step13.skill '==' 'none')}} {{#ifCond (ifCond data.step13.disadvantage.length '==' 0) '&&' (ifCond data.step13.skill '==' 'none')}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step13.advantage stepName='step13.advantage' itemType='peculiarities' hideDndAt=1 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step13.advantage stepName='step13.advantage' itemType='peculiarities' hideDndAt=1}}
{{/ifCond}} {{/ifCond}}
</td> </td>
</tr> </tr>
@@ -388,99 +440,134 @@
</article> </article>
<article class="tab parts part5" data-group="primary" data-tab="part5"> <article class="tab parts part5" data-group="primary" data-tab="part5">
<h2>{{localize 'l5r5e.twenty_questions.part5.title'}}</h2> <h2>{{localize 'l5r5e.twenty_questions.part5.title'}}</h2>
<h3>{{localize 'l5r5e.twenty_questions.part5.q14'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part5.q14{suffix}' suffix=suffix)}}</h3>
<textarea name="step14.first_sight">{{data.step14.first_sight}}</textarea> <textarea name="step14.first_sight">{{data.step14.first_sight}}</textarea>
<label> <label>
{{localize 'l5r5e.twenty_questions.part5.accoutrement'}} {{localize 'l5r5e.twenty_questions.part5.accoutrement'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step14.special_features stepName='step14.special_features' itemType='items' hideDndAt=1 }} {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step14.special_features stepName='step14.special_features' itemType='items' hideDndAt=1}}
</label> </label>
<h3>{{localize 'l5r5e.twenty_questions.part5.q15'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part5.q15{suffix}' suffix=suffix)}}</h3>
<textarea name="step15.stress">{{data.step15.stress}}</textarea> <textarea name="step15.stress">{{data.step15.stress}}</textarea>
<h3>{{localize 'l5r5e.twenty_questions.part5.q16'}}</h3> {{#ifCond data.template '==' 'core'}}
<textarea name="step16.relations">{{data.step16.relations}}</textarea> <h3>{{localize 'l5r5e.twenty_questions.part5.q16'}}</h3>
<label> <textarea name="step16.relations">{{data.step16.relations}}</textarea>
{{localize 'l5r5e.twenty_questions.part5.object'}} <label>
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step16.item stepName='step16.item' itemType='items' hideDndAt=1 }} {{localize 'l5r5e.twenty_questions.part5.object'}}
</label> {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step16.item stepName='step16.item' itemType='items' hideDndAt=1}}
</label>
{{/ifCond}}
<button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button> <button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button>
</article> </article>
<article class="tab parts part6" data-group="primary" data-tab="part6"> <article class="tab parts part6" data-group="primary" data-tab="part6">
<h2>{{localize 'l5r5e.twenty_questions.part6.title'}}</h2> <h2>{{localize (localize 'l5r5e.twenty_questions.part6.title{suffix}' suffix=suffix)}}</h2>
<h3>{{localize 'l5r5e.twenty_questions.part6.q17'}}</h3> {{#ifCond data.template '==' 'pow'}}
<h3>{{localize (localize 'l5r5e.twenty_questions.part5.q16_pow' suffix=suffix)}}</h3>
<textarea name="step16.relations">{{data.step16.relations}}</textarea>
<label>
{{localize 'l5r5e.twenty_questions.part5.object'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step16.item stepName='step16.item' itemType='items' hideDndAt=1}}
</label>
{{/ifCond}}
<h3>{{localize (localize 'l5r5e.twenty_questions.part6.q17{suffix}' suffix=suffix)}}</h3>
<textarea name="step17.parents_pov">{{data.step17.parents_pov}}</textarea> <textarea name="step17.parents_pov">{{data.step17.parents_pov}}</textarea>
<label> {{#ifCond data.template '==' 'core'}}
{{localize 'l5r5e.twenty_questions.increase_skill1'}} <label>
<select name="step17.skill" class="skill-select"> {{localize 'l5r5e.twenty_questions.increase_skill1'}}
{{#select data.step17.skill}} <select name="step17.skill" class="skill-select">
<option value="none">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option> {{#select data.step17.skill}}
{{#each skillsListStep17 as |skills catId|}}
<optgroup label="{{localizeSkill catId 'title'}}">
{{#each skills as |obj|}}
<option value="{{obj.id}}">{{obj.label}}</option>
{{/each}}
</optgroup>
{{/each}}
{{/select}}
</select>
</label>
<h3>{{localize 'l5r5e.twenty_questions.part6.q18'}}</h3>
<textarea name="step18.heritage_name">{{data.step18.heritage_name}}</textarea>
<table>
<tr>
<td class="fifty">
{{localize 'l5r5e.twenty_questions.part6.d10r1'}}
<a class="inline-roll roll" title="1d10" data-mode="roll"
data-flavor="{{localize 'l5r5e.twenty_questions.part6.d10r1'}}" data-formula="1d10" data-step="step18.heritage_1">
<i class="fas fa-dice-d20"></i> 1d10
</a>
<input type="number" name="step18.heritage_1" value="{{data.step18.heritage_1}}" data-dtype="Number" />
</td>
<td class="fifty">
{{localize 'l5r5e.twenty_questions.part6.d10r2'}}
<a class="inline-roll roll" title="1d10" data-mode="roll"
data-flavor="{{localize 'l5r5e.twenty_questions.part6.d10r2'}}" data-formula="1d10" data-step="step18.heritage_2">
<i class="fas fa-dice-d20"></i> 1d10
</a>
<input type="number" name="step18.heritage_2" value="{{data.step18.heritage_2}}" data-dtype="Number" />
</td>
</tr>
<tr>
<td>
{{localize 'l5r5e.twenty_questions.part6.d10r1_choice'}}
</td>
<td>
{{localize 'l5r5e.twenty_questions.part6.d10r2_choice'}}
</td>
</tr>
<tr>
<td>
{{localize 'l5r5e.twenty_questions.part1.status'}}
<input type="number" name="step18.heritage_add_status" min="-100" max="100" value="{{data.step18.heritage_add_status}}" data-dtype="Number" placeholder="0" />
{{localize 'l5r5e.twenty_questions.part1.glory'}}
<input type="number" name="step18.heritage_add_glory" min="-100" max="100" value="{{data.step18.heritage_add_glory}}" data-dtype="Number" placeholder="0" />
{{localize 'l5r5e.twenty_questions.part2.honor'}}
<input type="number" name="step18.heritage_add_honor" min="-100" max="100" value="{{data.step18.heritage_add_honor}}" data-dtype="Number" placeholder="0" />
</td>
<td>
{{localize 'l5r5e.twenty_questions.increase_skill1'}}
<select name="step18.skill" class="skill-select">
{{#select data.step18.skill}}
<option value="none">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option> <option value="none">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option>
{{#each skillsList as |skills catId|}} {{#each skillsListStep17 as |skills catId|}}
<optgroup label="{{localizeSkill catId 'title'}}"> <optgroup label="{{localizeSkill catId 'title'}}">
{{#each skills as |obj|}} {{#each skills as |obj|}}
<option value="{{obj.id}}">{{obj.label}}</option> <option value="{{obj.id}}">{{obj.label}}</option>
{{/each}} {{/each}}
</optgroup> </optgroup>
{{/each}} {{/each}}
{{/select}} {{/select}}
</select> </select>
{{localize 'l5r5e.twenty_questions.part6.d10r2_drop_items'}} </label>
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step18.heritage_item stepName='step18.heritage_item' itemType='items' hideDndAt=1 }} {{else}}
</td> <label>
</tr> {{localize 'l5r5e.twenty_questions.part6.bond'}}
</table> {{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step17.bond stepName='step17.bond' itemType='bonds' hideDndAt=1}}
<h3>{{localize 'l5r5e.twenty_questions.part6.q19'}}</h3> </label>
{{/ifCond}}
<h3>{{localize (localize 'l5r5e.twenty_questions.part6.q18{suffix}' suffix=suffix)}}</h3>
<textarea name="step18.heritage_name">{{data.step18.heritage_name}}</textarea>
{{#ifCond data.template '==' 'core'}}
<table>
<tr>
<td class="fifty">
{{localize 'l5r5e.twenty_questions.part6.d10r1'}}
<a class="inline-roll roll" title="1d10" data-mode="roll"
data-flavor="{{localize 'l5r5e.twenty_questions.part6.d10r1'}}" data-formula="1d10" data-step="step18.heritage_1">
<i class="fas fa-dice-d20"></i> 1d10
</a>
<input type="number" name="step18.heritage_1" value="{{data.step18.heritage_1}}" data-dtype="Number" />
</td>
<td class="fifty">
{{localize 'l5r5e.twenty_questions.part6.d10r2'}}
<a class="inline-roll roll" title="1d10" data-mode="roll"
data-flavor="{{localize 'l5r5e.twenty_questions.part6.d10r2'}}" data-formula="1d10" data-step="step18.heritage_2">
<i class="fas fa-dice-d20"></i> 1d10
</a>
<input type="number" name="step18.heritage_2" value="{{data.step18.heritage_2}}" data-dtype="Number" />
</td>
</tr>
<tr>
<td>
{{localize 'l5r5e.twenty_questions.part6.d10r1_choice'}}
</td>
<td>
{{localize 'l5r5e.twenty_questions.part6.d10r2_choice'}}
</td>
</tr>
<tr>
<td>
{{localize 'l5r5e.twenty_questions.part1.status'}}
<input type="number" name="step18.heritage_add_status" min="-100" max="100" value="{{data.step18.heritage_add_status}}" data-dtype="Number" placeholder="0" />
{{localize 'l5r5e.twenty_questions.part1.glory'}}
<input type="number" name="step18.heritage_add_glory" min="-100" max="100" value="{{data.step18.heritage_add_glory}}" data-dtype="Number" placeholder="0" />
{{localize 'l5r5e.twenty_questions.part2.honor'}}
<input type="number" name="step18.heritage_add_honor" min="-100" max="100" value="{{data.step18.heritage_add_honor}}" data-dtype="Number" placeholder="0" />
</td>
<td>
{{localize 'l5r5e.twenty_questions.increase_skill1'}}
<select name="step18.skill" class="skill-select">
{{#select data.step18.skill}}
<option value="none">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option>
{{#each skillsList as |skills catId|}}
<optgroup label="{{localizeSkill catId 'title'}}">
{{#each skills as |obj|}}
<option value="{{obj.id}}">{{obj.label}}</option>
{{/each}}
</optgroup>
{{/each}}
{{/select}}
</select>
{{localize 'l5r5e.twenty_questions.part6.d10r2_drop_items'}}
{{> 'systems/l5r5e/templates/actors/character/twenty-questions-item.html' itemsList=cache.step18.heritage_item stepName='step18.heritage_item' itemType='items' hideDndAt=1}}
</td>
</tr>
</table>
{{else}}
<label>
{{localize 'l5r5e.twenty_questions.increase_skill1'}}
<select name="step17.skill" class="skill-select">
{{#select data.step17.skill}}
<option value="none">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option>
{{#each skillsListStep17 as |skills catId|}}
<optgroup label="{{localizeSkill catId 'title'}}">
{{#each skills as |obj|}}
<option value="{{obj.id}}">{{obj.label}}</option>
{{/each}}
</optgroup>
{{/each}}
{{/select}}
</select>
</label>
{{/ifCond}}
<h3>{{localize (localize 'l5r5e.twenty_questions.part6.q19{suffix}' suffix=suffix)}}</h3>
<textarea name="step19.firstname">{{data.step19.firstname}}</textarea> <textarea name="step19.firstname">{{data.step19.firstname}}</textarea>
<button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button> <button class="next" name="next" type="button">{{localize 'l5r5e.twenty_questions.bt_next'}} <i class='fas fa-arrow-right'></i></button>
</article> </article>
@@ -488,7 +575,7 @@
<h2>{{localize 'l5r5e.twenty_questions.part7.title'}}</h2> <h2>{{localize 'l5r5e.twenty_questions.part7.title'}}</h2>
<div> <div>
<label> <label>
<h3>{{localize 'l5r5e.twenty_questions.part7.q20'}}</h3> <h3>{{localize (localize 'l5r5e.twenty_questions.part7.q20{suffix}' suffix=suffix)}}</h3>
<textarea name="step20.death">{{data.step20.death}}</textarea> <textarea name="step20.death">{{data.step20.death}}</textarea>
</label> </label>
</div> </div>