- 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
- 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 FoV Terrain Compendium.
- Added PoW Name Tables compendium : Qamarist Names, Ivory Kingdoms Names, Rokugani Names and Ujik Names.

View File

@@ -213,6 +213,11 @@
"ninjo": "Ninjo",
"giri": "Giri",
"past": "Past",
"bushido_tenets": {
"title": "Bushido Tenets",
"paramount": "Paramount",
"less_significant": "Less Significant"
},
"titles": "Titles",
"attitude": "Demeanor:",
"advantages": "Distinctions and Passions",
@@ -411,8 +416,6 @@
"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 5 or lower)"
},
"part4": {

View File

@@ -213,6 +213,11 @@
"ninjo": "Ninjo",
"giri": "Giri",
"past": "Past",
"bushido_tenets": {
"title": "Bushido Tenets",
"paramount": "Paramount",
"less_significant": "Less Significant"
},
"titles": "Títulos",
"attitude": "Actitud:",
"advantages": "Distinciones y pasiones",
@@ -411,8 +416,6 @@
"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 5 or lower)"
},
"part4": {

View File

@@ -213,6 +213,11 @@
"ninjo": "Ninjo",
"giri": "Giri",
"past": "Passé",
"bushido_tenets": {
"title": "Principes du Bushido",
"paramount": "Primordial",
"less_significant": "Moins important"
},
"titles": "Titres",
"attitude": "attitude :",
"advantages": "Aptitudes et Passions",
@@ -411,8 +416,6 @@
"q8_pow": "8. Que pense votre personnage du bushido ? (p. 62)",
"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)",
"tenet_paramount": "Primordial",
"tenet_less_significant": "Moins important",
"object": "Objet (Rareté inférieur ou égale à 5)"
},
"part4": {

View File

@@ -216,6 +216,8 @@ export class TwentyQuestions {
this.data.step3.allowed_techniques.ninjutsu = actorDatas.techniques.ninjutsu;
this.data.step5.social_giri = actorDatas.social.giri;
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") || "";
}
@@ -258,6 +260,10 @@ export class TwentyQuestions {
honor: honor,
giri: formData.step5.social_giri,
ninjo: formData.step6.social_ninjo,
bushido_tenets: {
paramount: formData.step8.tenet_paramount,
less_significant: formData.step8.tenet_less_significant,
},
};
actorDatas.techniques = {

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -560,11 +560,6 @@
width: 100%;
}
}
.narrative-description {
max-height: 13rem;
font-size: 0.85rem;
flex: 1;
}
}
.narrative-list {
flex: 0 0 calc(50% - 0.25rem);
@@ -574,6 +569,16 @@
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 {
font-size: 0.85rem;
}

View File

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

View File

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

View File

@@ -1,4 +1,5 @@
<div class="narrative-content">
{{!-- Ninjo/Giri --}}
<fieldset>
<legend class="text-block-header">{{localize 'l5r5e.social.title'}}</legend>
<label class="attribute-label">
@@ -14,13 +15,21 @@
<textarea type="text" name="data.social.giri">{{data.data.social.giri}}</textarea>
</label>
</fieldset>
{{!-- 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}}
{{!-- Bushido Tenets --}}
<fieldset>
<legend class="text-block-header">{{localize 'l5r5e.social.bushido_tenets.title'}}</legend>
<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>
</div>
<div class="narrative-list">
{{!-- Advantages --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.social.advantages'}}
@@ -36,9 +45,10 @@
{{/each}}
</ul>
</fieldset>
{{!-- Disadvantages --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.social.disadvantages' }}
{{localize 'l5r5e.social.disadvantages'}}
{{#if options.editable}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
@@ -51,7 +61,7 @@
{{/each}}
</ul>
</fieldset>
{{!-- bonds --}}
{{!-- Bonds --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.social.bonds' }}
@@ -68,8 +78,15 @@
</ul>
</fieldset>
</div>
{{!-- Notes (private) --}}
<fieldset class="narrative-note">
<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) --}}
<fieldset class="narrative-note">
<legend class="text-block-header">{{localize 'l5r5e.notes' }}</legend>
{{editor content=data.data.notes target="data.notes" button=true editable=options.editable}}
</fieldset>
</fieldset>
</div>

View File

@@ -358,14 +358,14 @@
<table>
<tr>
<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}}">
</td>
<td class="or">
{{localize 'l5r5e.twenty_questions.and'}}
</td>
<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}}">
</td>
</tr>