From badab95854bf6b6146d7e9f64bf4dfda8e5f97ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20E=2E=20Lozano?= Date: Sun, 29 Jun 2025 15:52:27 +0200 Subject: [PATCH 01/19] Removed caps in headers --- css/deltagreen.css | 1 - 1 file changed, 1 deletion(-) diff --git a/css/deltagreen.css b/css/deltagreen.css index d1831a4..24a40b0 100644 --- a/css/deltagreen.css +++ b/css/deltagreen.css @@ -345,7 +345,6 @@ explicitly define a number of rows, rather than columns. */ .deltagreen .resource-label { font-weight: bold; - text-transform: uppercase; } .sheet nav.sheet-tabs { From 6fde7f102585aac87a014d9d0595190da1180cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lozano?= Date: Tue, 1 Jul 2025 09:07:23 +0200 Subject: [PATCH 02/19] Arrange compendia in its own folder --- system.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system.json b/system.json index e355aa3..de09670 100644 --- a/system.json +++ b/system.json @@ -85,6 +85,13 @@ "flags": {} } ], + "packFolders": [{ + "name": "Delta Green | system", + "sorting": "a", + "color": "#556b2f", + "packs": ["firearms","armor","hand-to-hand-weapons","agent-pregens","operation-code-name-generator-tables","operation-code-name-generator-macro"] + } + ], "packs": [ { "name": "firearms", From e511c76f1b95c9a709b356acf323c0d63b244a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lozano?= Date: Tue, 1 Jul 2025 18:08:17 +0200 Subject: [PATCH 03/19] Localize special training skills --- module/actor/actor-sheet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 899d25b..12c98e5 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -176,6 +176,7 @@ export default class DeltaGreenActorSheet extends foundry.appv1.sheets for (var i = 0; i < data.specialTraining.length; i++) { let training = data.specialTraining[i]; + training.attribute = game.i18n.localize(`DG.Skills.${training.key}`); training.type = "training"; training.sortLabel = training.name.toUpperCase(); training.actorType = this.actor.type; @@ -1073,7 +1074,7 @@ export default class DeltaGreenActorSheet extends foundry.appv1.sheets ([key, skill]) => ({ value: key, group: optionGroups.skills, - label: skill.label, + label: game.i18n.localize(`DG.Skills.${key}`), targetNumber: skill.proficiency, }) ); From fb5ef50ff1d3d0ffd6a2d0dcd6805c0dcd0bfdbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lozano?= Date: Wed, 2 Jul 2025 12:14:14 +0200 Subject: [PATCH 04/19] Adds tooltip for skills description --- lang/en.json | 47 +++++++++++++++++++++++++++++++- templates/actor/actor-sheet.html | 11 ++++---- templates/actor/npc-sheet.html | 6 ++-- 3 files changed, 56 insertions(+), 8 deletions(-) diff --git a/lang/en.json b/lang/en.json index 9b32040..41f8fc3 100644 --- a/lang/en.json +++ b/lang/en.json @@ -44,8 +44,45 @@ "DG.Skills.swim": "Swim", "DG.Skills.unarmed_combat": "Unarmed Combat", "DG.Skills.unnatural": "Unnatural", - "DG.Skills.flight": "Flight", + "DG.Skills.desc.accounting": "Accounting", + "DG.Skills.desc.alertness": "Alertness", + "DG.Skills.desc.anthropology": "Anthropology", + "DG.Skills.desc.archeology": "Archeology", + "DG.Skills.desc.artillery": "Artillery", + "DG.Skills.desc.athletics": "Athletics", + "DG.Skills.desc.bureaucracy": "Bureaucracy", + "DG.Skills.desc.computer_science": "Computer Science", + "DG.Skills.desc.criminology": "Criminology", + "DG.Skills.desc.demolitions": "Demolitions", + "DG.Skills.desc.disguise": "Disguise", + "DG.Skills.desc.dodge": "Dodge", + "DG.Skills.desc.drive": "Drive", + "DG.Skills.desc.firearms": "Firearms", + "DG.Skills.desc.first_aid": "First Aid", + "DG.Skills.desc.forensics": "Forensics", + "DG.Skills.desc.heavy_machiner": "Heavy Machinery", + "DG.Skills.desc.heavy_weapons": "Heavy Weapons", + "DG.Skills.desc.history": "History", + "DG.Skills.desc.humint": "HUMINT", + "DG.Skills.desc.law": "Law", + "DG.Skills.desc.medicine": "Medicine", + "DG.Skills.desc.melee_weapons": "Melee Weapons", + "DG.Skills.desc.navigate": "Navigate", + "DG.Skills.desc.occult": "Occult", + "DG.Skills.desc.persuade": "Persuade", + "DG.Skills.desc.pharmacy": "Pharmacy", + "DG.Skills.desc.psychotherapy": "Psychotherapy", + "DG.Skills.desc.ride": "Ride", + "DG.Skills.desc.search": "Search", + "DG.Skills.desc.sigint": "SIGINT", + "DG.Skills.desc.stealth": "Stealth", + "DG.Skills.desc.surgery": "Surgery", + "DG.Skills.desc.survival": "Survival", + "DG.Skills.desc.swim": "Swim", + "DG.Skills.desc.unarmed_combat": "Unarmed Combat", + "DG.Skills.desc.unnatural": "Unnatural", + "DG.Skills.AddTypedOrCustomSkill": "Add Typed/Custom Skill", "DG.Skills.AddSkill": "Add Skill", "DG.Skills.Apply": "Apply", @@ -67,6 +104,14 @@ "DG.TypeSkills.Science": "Science", "DG.TypeSkills.Other": "Other", + "DG.TypeSkills.desc.Art": "Art", + "DG.TypeSkills.desc.Craft": "Craft", + "DG.TypeSkills.desc.ForeignLanguage": "Foreign Language", + "DG.TypeSkills.desc.MilitaryScience": "Military Science", + "DG.TypeSkills.desc.Pilot": "Pilot", + "DG.TypeSkills.desc.Science": "Science", + "DG.TypeSkills.desc.Other": "Other", + "DG.SpecialTraining.Dialog.CreateSpecialTraining": "Add Special Training", "DG.SpecialTraining.Dialog.DropDown.CustomSkills": "Custom/Typed Skills", "DG.SpecialTraining.Dialog.DropDown.Skills": "Skills", diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index 8f6ffb7..9d49450 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -99,14 +99,15 @@
{{#each actor.system.sortedSkills as |skill key|}}
-