- Added bushido tenets on social tab in sheet

This commit is contained in:
Vlyan
2021-06-28 19:43:51 +02:00
parent 9affe6a66c
commit 885edf5aed
12 changed files with 71 additions and 28 deletions

View File

@@ -2,7 +2,8 @@
## 1.3.2 - Ronin 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 PoW Revised 20Q
- Added Bushido tenets on Social tab in sheet for all (I think this is useful for players, and it's in Core rulebook so... why this is not by default ;) ).
- 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

@@ -213,6 +213,11 @@
"ninjo": "Ninjo", "ninjo": "Ninjo",
"giri": "Giri", "giri": "Giri",
"past": "Past", "past": "Past",
"bushido_tenets": {
"title": "Bushido Tenets",
"paramount": "Paramount",
"less_significant": "Less Significant"
},
"titles": "Titles", "titles": "Titles",
"attitude": "Demeanor:", "attitude": "Demeanor:",
"advantages": "Distinctions and Passions", "advantages": "Distinctions and Passions",
@@ -411,8 +416,6 @@
"q8_pow": "8. What does your character think of Bushidō? (p. 62)", "q8_pow": "8. What does your character think of Bushidō? (p. 62)",
"increase_honor": "Honor increase", "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):", "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 5 or lower)" "object": "Item (Rarity 5 or lower)"
}, },
"part4": { "part4": {

View File

@@ -213,6 +213,11 @@
"ninjo": "Ninjo", "ninjo": "Ninjo",
"giri": "Giri", "giri": "Giri",
"past": "Past", "past": "Past",
"bushido_tenets": {
"title": "Bushido Tenets",
"paramount": "Paramount",
"less_significant": "Less Significant"
},
"titles": "Títulos", "titles": "Títulos",
"attitude": "Actitud:", "attitude": "Actitud:",
"advantages": "Distinciones y pasiones", "advantages": "Distinciones y pasiones",
@@ -411,8 +416,6 @@
"q8_pow": "8. What does your character think of Bushidō? (p. 62)", "q8_pow": "8. What does your character think of Bushidō? (p. 62)",
"increase_honor": "Aumento del honor", "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):", "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 5 or lower)" "object": "Item (Rarity 5 or lower)"
}, },
"part4": { "part4": {

View File

@@ -213,6 +213,11 @@
"ninjo": "Ninjo", "ninjo": "Ninjo",
"giri": "Giri", "giri": "Giri",
"past": "Passé", "past": "Passé",
"bushido_tenets": {
"title": "Principes du Bushido",
"paramount": "Primordial",
"less_significant": "Moins important"
},
"titles": "Titres", "titles": "Titres",
"attitude": "attitude :", "attitude": "attitude :",
"advantages": "Aptitudes et Passions", "advantages": "Aptitudes et Passions",
@@ -411,8 +416,6 @@
"q8_pow": "8. Que pense votre personnage du bushido ? (p. 62)", "q8_pow": "8. Que pense votre personnage du bushido ? (p. 62)",
"increase_honor": "Augmentation de l'honneur (+10)", "increase_honor": "Augmentation de l'honneur (+10)",
"tenets": "Choisissez un principe du Bushido comme primordial et un principe comme moins important (voir Les Clans et leurs vision du Bushido, page 301 du livre de règles)", "tenets": "Choisissez un principe du Bushido 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": "Primordial",
"tenet_less_significant": "Moins important",
"object": "Objet (Rareté inférieur ou égale à 5)" "object": "Objet (Rareté inférieur ou égale à 5)"
}, },
"part4": { "part4": {

View File

@@ -216,6 +216,8 @@ export class TwentyQuestions {
this.data.step3.allowed_techniques.ninjutsu = actorDatas.techniques.ninjutsu; this.data.step3.allowed_techniques.ninjutsu = actorDatas.techniques.ninjutsu;
this.data.step5.social_giri = actorDatas.social.giri; this.data.step5.social_giri = actorDatas.social.giri;
this.data.step6.social_ninjo = actorDatas.social.ninjo; this.data.step6.social_ninjo = actorDatas.social.ninjo;
this.data.step8.tenet_paramount = actorDatas.social.bushido_tenets.paramount;
this.data.step8.tenet_less_significant = actorDatas.social.bushido_tenets.less_significant;
this.data.step19.firstname = actor.data.name.replace(/^(?:\w+\s+)?(.+)$/gi, "$1") || ""; this.data.step19.firstname = actor.data.name.replace(/^(?:\w+\s+)?(.+)$/gi, "$1") || "";
} }
@@ -258,6 +260,10 @@ export class TwentyQuestions {
honor: honor, honor: honor,
giri: formData.step5.social_giri, giri: formData.step5.social_giri,
ninjo: formData.step6.social_ninjo, ninjo: formData.step6.social_ninjo,
bushido_tenets: {
paramount: formData.step8.tenet_paramount,
less_significant: formData.step8.tenet_less_significant,
},
}; };
actorDatas.techniques = { actorDatas.techniques = {

File diff suppressed because one or more lines are too long

View File

@@ -225,7 +225,7 @@ input[type="number"] {
.editor-content { .editor-content {
flex: 1; flex: 1;
height: 100%; height: 100%;
min-height: 5rem; min-height: 200px;
} }
// Elements Colors // Elements Colors

View File

@@ -560,11 +560,6 @@
width: 100%; width: 100%;
} }
} }
.narrative-description {
max-height: 13rem;
font-size: 0.85rem;
flex: 1;
}
} }
.narrative-list { .narrative-list {
flex: 0 0 calc(50% - 0.25rem); flex: 0 0 calc(50% - 0.25rem);
@@ -574,6 +569,16 @@
width: 100%; width: 100%;
} }
} }
}
.narrative-fluff {
flex: 1;
flex: 0 0 calc(50% - 0.75rem);
.narrative-description {
max-height: 13rem;
font-size: 0.85rem;
flex: 1;
}
.narrative-note { .narrative-note {
font-size: 0.85rem; font-size: 0.85rem;
} }

View File

@@ -667,6 +667,7 @@ button {
width: 600px; width: 600px;
height: auto; height: auto;
max-height: 1000px; max-height: 1000px;
overflow-y: hidden;
//background: #fffae6 url("../assets/imgs/bg-l5r.webp") no-repeat; //background: #fffae6 url("../assets/imgs/bg-l5r.webp") no-repeat;
background-color: #3e3a30; background-color: #3e3a30;
color: $white; color: $white;

View File

@@ -28,7 +28,11 @@
"glory": 0, "glory": 0,
"status": 0, "status": 0,
"ninjo": "", "ninjo": "",
"giri": "" "giri": "",
"bushido_tenets": {
"paramount": "",
"less_significant": ""
}
} }
}, },
"skills": { "skills": {

View File

@@ -1,4 +1,5 @@
<div class="narrative-content"> <div class="narrative-content">
{{!-- Ninjo/Giri --}}
<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"> <label class="attribute-label">
@@ -14,13 +15,21 @@
<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>
{{!-- Description (public) --}} {{!-- Bushido Tenets --}}
<fieldset class="narrative-description"> <fieldset>
<legend class="text-block-header">{{localize 'l5r5e.description' }}</legend> <legend class="text-block-header">{{localize 'l5r5e.social.bushido_tenets.title'}}</legend>
{{editor content=data.data.description target="data.description" button=true editable=options.editable}} <label class="attribute-label">
{{localize 'l5r5e.social.bushido_tenets.paramount'}}
<textarea type="text" name="data.social.bushido_tenets.paramount">{{data.data.social.bushido_tenets.paramount}}</textarea>
</label>
<label class="attribute-label">
{{localize 'l5r5e.social.bushido_tenets.less_significant'}}
<textarea type="text" name="data.social.bushido_tenets.less_significant">{{data.data.social.bushido_tenets.less_significant}}</textarea>
</label>
</fieldset> </fieldset>
</div> </div>
<div class="narrative-list"> <div class="narrative-list">
{{!-- Advantages --}}
<fieldset> <fieldset>
<legend class="text-block-header"> <legend class="text-block-header">
{{localize 'l5r5e.social.advantages'}} {{localize 'l5r5e.social.advantages'}}
@@ -36,6 +45,7 @@
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
{{!-- Disadvantages --}}
<fieldset> <fieldset>
<legend class="text-block-header"> <legend class="text-block-header">
{{localize 'l5r5e.social.disadvantages'}} {{localize 'l5r5e.social.disadvantages'}}
@@ -51,7 +61,7 @@
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
{{!-- bonds --}} {{!-- Bonds --}}
<fieldset> <fieldset>
<legend class="text-block-header"> <legend class="text-block-header">
{{localize 'l5r5e.social.bonds' }} {{localize 'l5r5e.social.bonds' }}
@@ -68,8 +78,15 @@
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
<div class="narrative-fluff">
{{!-- Description (public) --}}
<fieldset class="narrative-description">
<legend class="text-block-header">{{localize 'l5r5e.description' }}</legend>
{{editor content=data.data.description target="data.description" button=true editable=options.editable}}
</fieldset>
{{!-- Notes (private) --}} {{!-- Notes (private) --}}
<fieldset class="narrative-note"> <fieldset class="narrative-note">
<legend class="text-block-header">{{localize 'l5r5e.notes' }}</legend> <legend class="text-block-header">{{localize 'l5r5e.notes' }}</legend>
{{editor content=data.data.notes target="data.notes" button=true editable=options.editable}} {{editor content=data.data.notes target="data.notes" button=true editable=options.editable}}
</fieldset> </fieldset>
</div>

View File

@@ -358,14 +358,14 @@
<table> <table>
<tr> <tr>
<td class="third"> <td class="third">
{{localize 'l5r5e.twenty_questions.part3.tenet_paramount'}} {{localize 'l5r5e.social.bushido_tenets.paramount'}}
<input type="text" name="step8.tenet_paramount" value="{{data.step8.tenet_paramount}}"> <input type="text" name="step8.tenet_paramount" value="{{data.step8.tenet_paramount}}">
</td> </td>
<td class="or"> <td class="or">
{{localize 'l5r5e.twenty_questions.and'}} {{localize 'l5r5e.twenty_questions.and'}}
</td> </td>
<td class=""> <td class="">
{{localize 'l5r5e.twenty_questions.part3.tenet_less_significant'}} {{localize 'l5r5e.social.bushido_tenets.less_significant'}}
<input type="text" name="step8.tenet_less_significant" value="{{data.step8.tenet_less_significant}}"> <input type="text" name="step8.tenet_less_significant" value="{{data.step8.tenet_less_significant}}">
</td> </td>
</tr> </tr>