localize headers / add skills header to other sheets;
convert hide untrained skills checkbox into eye glyph;
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
* Weapons can now have modifiers for their rolls built-in.
|
||||
* Weapons can choose a custom target for their rolls. This can be used for unnatural creature attacks that may not line up with one of the skills.
|
||||
* Damage rolls can now utilize math functions like base Foundry rolls.
|
||||
* Hide untrained skills toggle turned into toggleable eye icon rather than a checkbox.
|
||||
|
||||
### Version 1.2.6 - 2023-09-13
|
||||
|
||||
|
||||
+10
-1
@@ -128,7 +128,6 @@
|
||||
"DG.CV.NationalityPlaceholder": "Nacionalitat",
|
||||
"DG.CV.Education": "Educació",
|
||||
"DG.CV.EducationPlaceholder": "Educació o entrenament",
|
||||
"DG.CV.PhysicalDescriptionLabel": "Descripció física/notes",
|
||||
|
||||
"DG.Bonds.Bond": "Vincle",
|
||||
"DG.Bonds.Name": "Nom",
|
||||
@@ -227,6 +226,16 @@
|
||||
|
||||
"DG.TypeSkills.Subskills.Painting": "Pintar",
|
||||
|
||||
"DG.Sheet.BlockHeaders.Attributes": "ATTRIBUTES",
|
||||
"DG.Sheet.BlockHeaders.PhysicalDescriptionNotes": "Descripció física/notes",
|
||||
"DG.Sheet.BlockHeaders.SkillsAndTraining": "SKILLS AND TRAINING",
|
||||
"DG.Sheet.BlockHeaders.Injuries": "INJURIES",
|
||||
"DG.Sheet.BlockHeaders.BreakingPointAndAdaptations": "BREAKING POINT AND ADAPTATIONS",
|
||||
"DG.Sheet.BlockHeaders.MotivationsAndDisorders": "MOTIVATIONS AND DISDORDERS",
|
||||
"DG.Sheet.BlockHeaders.PersonalInfoCV": "PERSONAL INFORMATION / CV",
|
||||
"DG.Sheet.BlockHeaders.BondsRelationshipsContacts": "BONDS / RELATIONSHIPS / CONTACTS",
|
||||
|
||||
|
||||
"DG.UnnaturalSheet.HideUntrainedSkillsLabel": "Amagar habilitats no entrenades",
|
||||
"DG.UnnaturalSheet.NotesLabel": "Notes",
|
||||
"DG.UnnaturalSheet.ShortDescriptionFallbackText": "Descripció de la criatura o tipus de criatura",
|
||||
|
||||
+10
-1
@@ -134,7 +134,6 @@
|
||||
"DG.CV.NationalityPlaceholder": "Nationality",
|
||||
"DG.CV.Education": "Education",
|
||||
"DG.CV.EducationPlaceholder": "Education or Training",
|
||||
"DG.CV.PhysicalDescriptionLabel": "PHYSICAL DESCRIPTION/NOTES",
|
||||
|
||||
"DG.Bonds.Bond": "Bond",
|
||||
"DG.Bonds.Name": "Name",
|
||||
@@ -233,9 +232,19 @@
|
||||
|
||||
"DG.TypeSkills.Subskills.Painting": "Painting",
|
||||
|
||||
"DG.Sheet.BlockHeaders.Attributes": "ATTRIBUTES",
|
||||
"DG.Sheet.BlockHeaders.PhysicalDescriptionNotes": "PHYSICAL DESCRIPTION / NOTES",
|
||||
"DG.Sheet.BlockHeaders.SkillsAndTraining": "SKILLS AND TRAINING",
|
||||
"DG.Sheet.BlockHeaders.Injuries": "INJURIES",
|
||||
"DG.Sheet.BlockHeaders.BreakingPointAndAdaptations": "BREAKING POINT AND ADAPTATIONS",
|
||||
"DG.Sheet.BlockHeaders.MotivationsAndDisorders": "MOTIVATIONS AND DISDORDERS",
|
||||
"DG.Sheet.BlockHeaders.PersonalInfoCV": "PERSONAL INFORMATION / CV",
|
||||
"DG.Sheet.BlockHeaders.BondsRelationshipsContacts": "BONDS / RELATIONSHIPS / CONTACTS",
|
||||
|
||||
"DG.UnnaturalSheet.HideUntrainedSkillsLabel": "Hide Untrained Skills",
|
||||
"DG.UnnaturalSheet.NotesLabel": "Notes",
|
||||
"DG.UnnaturalSheet.ShortDescriptionFallbackText": "Description of creature or creature type",
|
||||
"DG.UnnaturalSheet.ShowUntrainedSkillsLabel": "Show Untrained Skills",
|
||||
"DG.UnnaturalSheet.Tabs.NotesTabLabel": "Skills & Notes",
|
||||
"DG.UnnaturalSheet.Tabs.ItemsTabLabel": "Attacks & Abilities",
|
||||
"DG.NPCSheet.BreakPointAbbreviation": "BP",
|
||||
|
||||
+9
-1
@@ -128,7 +128,6 @@
|
||||
"DG.CV.NationalityPlaceholder": "Nacionalidad",
|
||||
"DG.CV.Education": "Educación",
|
||||
"DG.CV.EducationPlaceholder": "Educación o Entrenamiento",
|
||||
"DG.CV.PhysicalDescriptionLabel": "Descripción Física/Notas",
|
||||
|
||||
"DG.Bonds.Bond": "Vínculo",
|
||||
"DG.Bonds.Name": "Nombre",
|
||||
@@ -227,6 +226,15 @@
|
||||
|
||||
"DG.TypeSkills.Subskills.Painting": "Cuadro",
|
||||
|
||||
"DG.Sheet.BlockHeaders.Attributes": "ATTRIBUTES",
|
||||
"DG.Sheet.BlockHeaders.PhysicalDescriptionNotes": "Descripción Física/Notas",
|
||||
"DG.Sheet.BlockHeaders.SkillsAndTraining": "SKILLS AND TRAINING",
|
||||
"DG.Sheet.BlockHeaders.Injuries": "INJURIES",
|
||||
"DG.Sheet.BlockHeaders.BreakingPointAndAdaptations": "BREAKING POINT AND ADAPTATIONS",
|
||||
"DG.Sheet.BlockHeaders.MotivationsAndDisorders": "MOTIVATIONS AND DISDORDERS",
|
||||
"DG.Sheet.BlockHeaders.PersonalInfoCV": "PERSONAL INFORMATION / CV",
|
||||
"DG.Sheet.BlockHeaders.BondsRelationshipsContacts": "BONDS / RELATIONSHIPS / CONTACTS",
|
||||
|
||||
"DG.UnnaturalSheet.HideUntrainedSkillsLabel": "Hide Untrained Skills",
|
||||
"DG.UnnaturalSheet.NotesLabel": "Notes",
|
||||
"DG.UnnaturalSheet.ShortDescriptionFallbackText": "Description of creature or creature type",
|
||||
|
||||
+9
-1
@@ -128,7 +128,6 @@
|
||||
"DG.CV.NationalityPlaceholder": "国籍",
|
||||
"DG.CV.Education": "教育",
|
||||
"DG.CV.EducationPlaceholder": "教育",
|
||||
"DG.CV.PhysicalDescriptionLabel": "身体的特徴とメモ",
|
||||
|
||||
"DG.Bonds.Bond": "絆",
|
||||
"DG.Bonds.Name": "名前",
|
||||
@@ -227,6 +226,15 @@
|
||||
|
||||
"DG.TypeSkills.Subskills.Painting": "ペインティング",
|
||||
|
||||
"DG.Sheet.BlockHeaders.Attributes": "ATTRIBUTES",
|
||||
"DG.Sheet.BlockHeaders.PhysicalDescriptionNotes": "身体的特徴とメモ",
|
||||
"DG.Sheet.BlockHeaders.SkillsAndTraining": "SKILLS AND TRAINING",
|
||||
"DG.Sheet.BlockHeaders.Injuries": "INJURIES",
|
||||
"DG.Sheet.BlockHeaders.BreakingPointAndAdaptations": "BREAKING POINT AND ADAPTATIONS",
|
||||
"DG.Sheet.BlockHeaders.MotivationsAndDisorders": "MOTIVATIONS AND DISDORDERS",
|
||||
"DG.Sheet.BlockHeaders.PersonalInfoCV": "PERSONAL INFORMATION / CV",
|
||||
"DG.Sheet.BlockHeaders.BondsRelationshipsContacts": "BONDS / RELATIONSHIPS / CONTACTS",
|
||||
|
||||
"DG.UnnaturalSheet.HideUntrainedSkillsLabel": "持たないスキルを表示しない",
|
||||
"DG.UnnaturalSheet.NotesLabel": "ノート",
|
||||
"DG.UnnaturalSheet.ShortDescriptionFallbackText": "外見・種類・など",
|
||||
|
||||
+10
-1
@@ -115,7 +115,6 @@
|
||||
"DG.CV.NationalityPlaceholder": "Nacionalidade",
|
||||
"DG.CV.Education": "Educação",
|
||||
"DG.CV.EducationPlaceholder": "Educação ou Treinamento",
|
||||
"DG.CV.PhysicalDescriptionLabel": "Descrição Física/Notas",
|
||||
"DG.Bonds.Bond": "Vínculo",
|
||||
"DG.Bonds.Name": "Nome",
|
||||
"DG.Bonds.Score": "Pontuação",
|
||||
@@ -199,6 +198,16 @@
|
||||
"DG.RollMode": "Modo de Rolagem",
|
||||
"DG.Bonds.Relationship": "Relacionamento",
|
||||
"DG.TypeSkills.Subskills.Painting": "Pintura",
|
||||
|
||||
"DG.Sheet.BlockHeaders.Attributes": "ATTRIBUTES",
|
||||
"DG.Sheet.BlockHeaders.PhysicalDescriptionNotes": "Descrição Física/Notas",
|
||||
"DG.Sheet.BlockHeaders.SkillsAndTraining": "SKILLS AND TRAINING",
|
||||
"DG.Sheet.BlockHeaders.Injuries": "INJURIES",
|
||||
"DG.Sheet.BlockHeaders.BreakingPointAndAdaptations": "BREAKING POINT AND ADAPTATIONS",
|
||||
"DG.Sheet.BlockHeaders.MotivationsAndDisorders": "MOTIVATIONS AND DISDORDERS",
|
||||
"DG.Sheet.BlockHeaders.PersonalInfoCV": "PERSONAL INFORMATION / CV",
|
||||
"DG.Sheet.BlockHeaders.BondsRelationshipsContacts": "BONDS / RELATIONSHIPS / CONTACTS",
|
||||
|
||||
"DG.UnnaturalSheet.HideUntrainedSkillsLabel": "Esconder Habilidade não Treinadas",
|
||||
"DG.UnnaturalSheet.NotesLabel": "Notas",
|
||||
"DG.UnnaturalSheet.ShortDescriptionFallbackText": "Descrição de Criatura ou Tipo de Criatura",
|
||||
|
||||
@@ -220,6 +220,8 @@ export class DeltaGreenActorSheet extends ActorSheet {
|
||||
// Rollable abilities - bind to everything with the 'Rollable' class
|
||||
html.find('.rollable').click(this._onRoll.bind(this));
|
||||
|
||||
html.find('.toggle-untrained').click(() => this.actor.update({"system.showUntrainedSkills": !this.actor.system.showUntrainedSkills}));
|
||||
|
||||
// Macro for toggling an item's equipped state
|
||||
html.find('.equipped-item').mousedown(this._onEquippedStatusChange.bind(this));
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
{{!-- Skills Tab --}}
|
||||
<div class="tab skills" data-group="primary" data-tab="skills" >
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>SKILLS AND TRAINING</span>
|
||||
<span>{{localize "DG.Sheet.BlockHeaders.SkillsAndTraining"}}</span>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-3col">
|
||||
@@ -166,7 +166,7 @@
|
||||
{{!-- Physical Statistics like STR, CON, etc. --}}
|
||||
<div class="tab physical" data-group="primary" data-tab="physical">
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>ATTRIBUTES</span>
|
||||
<span>{{localize "DG.Sheet.BlockHeaders.Attributes"}}</span>
|
||||
</div>
|
||||
<br>
|
||||
<div class="grid grid-3col">
|
||||
@@ -187,7 +187,7 @@
|
||||
</div>
|
||||
<br />
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>INJURIES</span>
|
||||
<span>{{localize "DG.Sheet.BlockHeaders.Injuries"}}</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@@ -209,7 +209,7 @@
|
||||
{{!-- Psychological Tab (formerly 'Mental', formerly 'Motivations') --}}
|
||||
<div class="tab motivations" data-group="primary" data-tab="motivations">
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>BREAKING POINT AND ADAPTATIONS</span>
|
||||
<span>{{localize "DG.Sheet.BlockHeaders.BreakingPointAndAdaptations"}}</span>
|
||||
</div>
|
||||
<div class="">
|
||||
<div class="breaking-point-grid-3col">
|
||||
@@ -253,7 +253,7 @@
|
||||
</div>
|
||||
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>MOTIVATIONS AND DISORDERS</span>
|
||||
<span>{{localize "DG.Sheet.BlockHeaders.MotivationsAndDisorders"}}</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@@ -463,7 +463,7 @@
|
||||
{{!-- PERSONAL (Biography) Tab --}}
|
||||
<div class="tab bio" data-group="primary" data-tab="bio">
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>PERSIONAL INFORMATION/CV</span>
|
||||
<span>{{localize "DG.Sheet.BlockHeaders.PersonalInfoCV"}}</span>
|
||||
</div>
|
||||
{{> "systems/deltagreen/templates/actor/cv-partial.html" }}
|
||||
</div>
|
||||
@@ -471,7 +471,7 @@
|
||||
{{!-- Bonds Tab --}}
|
||||
<div class="tab bonds" data-group="primary" data-tab="bonds">
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>BONDS/RELATIONSHIPS/CONTACTS</span>
|
||||
<span>{{localize "DG.Sheet.BlockHeaders.BondsRelationshipsContacts"}}</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
{{!-- <div style="padding: 2px; margin-bottom: 5px;"> --}}
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span class="">{{localize 'DG.CV.PhysicalDescriptionLabel'}}</span>
|
||||
<span class="">{{localize "DG.Sheet.BlockHeaders.PhysicalDescriptionNotes"}}</span>
|
||||
</div>
|
||||
|
||||
<div class="editor-host">
|
||||
|
||||
@@ -96,12 +96,21 @@
|
||||
|
||||
{{!-- Descriptions/Notes/Skills Tab --}}
|
||||
<div class="tab skills top-div-border" data-group="primary" data-tab="skills">
|
||||
{{!-- Checkbox to hide/show skills that are at zero --}}
|
||||
<div>
|
||||
<span class="resource-label" for="system.showUntrainedSkills">{{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}:</label>
|
||||
<input class="labeled-resource-checkbox" type="checkbox" name="system.showUntrainedSkills" {{checked actor.system.showUntrainedSkills}} data-dtype="Boolean" />
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>
|
||||
{{localize "DG.Sheet.BlockHeaders.SkillsAndTraining"}}
|
||||
{{!-- Checkbox to hide/show skills that are at zero --}}
|
||||
<a class="toggle-untrained" title="
|
||||
{{#if actor.system.showUntrainedSkills}}
|
||||
{{localize 'DG.UnnaturalSheet.ShowUntrainedSkillsLabel'}}
|
||||
{{else}}
|
||||
{{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}
|
||||
{{/if}}"
|
||||
>
|
||||
<i class="far fa-eye{{#if actor.system.showUntrainedSkills}}-slash{{/if}}"></i>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-3col">
|
||||
{{#each actor.system.skills as |skill key|}}
|
||||
|
||||
|
||||
@@ -87,12 +87,21 @@
|
||||
|
||||
{{!-- Descriptions/Notes/Skills Tab --}}
|
||||
<div class="tab skills top-div-border" data-group="primary" data-tab="skills">
|
||||
{{!-- Checkbox to hide/show skills that are at zero --}}
|
||||
<div>
|
||||
<span class="resource-label" for="system.showUntrainedSkills">{{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}:</label>
|
||||
<input class="labeled-resource-checkbox" type="checkbox" name="system.showUntrainedSkills" {{checked actor.system.showUntrainedSkills}} data-dtype="Boolean" />
|
||||
<div class="horizontal-bar-section-divider">
|
||||
<span>
|
||||
{{localize "DG.Sheet.BlockHeaders.SkillsAndTraining"}}
|
||||
{{!-- Checkbox to hide/show skills that are at zero --}}
|
||||
<a class="toggle-untrained" title="
|
||||
{{#if actor.system.showUntrainedSkills}}
|
||||
{{localize 'DG.UnnaturalSheet.ShowUntrainedSkillsLabel'}}
|
||||
{{else}}
|
||||
{{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}
|
||||
{{/if}}"
|
||||
>
|
||||
<i class="far fa-eye{{#if actor.system.showUntrainedSkills}}-slash{{/if}}"></i>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-3col">
|
||||
{{#each actor.system.skills as |skill key|}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user