From e514e06878ff7fde74bcb349552e6d45f342392c Mon Sep 17 00:00:00 2001 From: Megastruktur Date: Thu, 20 Jul 2023 10:38:12 +0300 Subject: [PATCH 1/3] Adds a version as variable in system.json --- system.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system.json b/system.json index 00a74cb..c2a659c 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "blades-in-the-dark", "title": "Blades in the Dark", "description": "Blades in the dark game system.", - "version": "4.7", + "version": "{VERSION_NUMBER}", "compatibility": { "minimum": 10, "verified": "10.284" @@ -11,7 +11,7 @@ "minimumCoreVersion": "10", "url": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/", "manifest": "https://raw.githubusercontent.com/megastruktur/foundryvtt-blades-in-the-dark/master/system.json", - "download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/releases/download/4.6/blades-in-the-dark-4.7.zip", + "download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/releases/download/{VERSION_NUMBER}/blades-in-the-dark-{VERSION_NUMBER}.zip", "authors": [ { "name": "megastruktur" }, { "name": "drewg13" }, From 5d540320eccb87456b6825b3724f9876822a3b5a Mon Sep 17 00:00:00 2001 From: agaringer Date: Wed, 19 Jul 2023 18:45:18 -0400 Subject: [PATCH 2/3] Fix CSS namespace collisions --- styles/blades.css | 3 ++- templates/items/cohort.html | 2 +- templates/parts/cohort-block.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/styles/blades.css b/styles/blades.css index 1182425..ad881d0 100644 --- a/styles/blades.css +++ b/styles/blades.css @@ -186,7 +186,8 @@ .blades-in-the-dark .editor-content { min-height: 150px; } -.blades-in-the-dark .description { +.blades-in-the-dark .cohort-description, +.blades-in-the-dark .gang-description { font-style: italic; } .blades-in-the-dark i.nullifier { diff --git a/templates/items/cohort.html b/templates/items/cohort.html index 5f436b6..553ff98 100644 --- a/templates/items/cohort.html +++ b/templates/items/cohort.html @@ -39,7 +39,7 @@ -
+
{{#each system.gang_type as |gang_type key|}} {{#with (lookup ../system.gang_type_list gang_type)}} {{localize description}} diff --git a/templates/parts/cohort-block.html b/templates/parts/cohort-block.html index 265a174..5a9cca1 100644 --- a/templates/parts/cohort-block.html +++ b/templates/parts/cohort-block.html @@ -39,12 +39,12 @@
{{#each system.edges_list as |edge key|}} {{#if edge.selected }} -
{{localize edge.description}} ({{localize edge.label}})
+
{{localize edge.description}} ({{localize edge.label}})
{{/if}} {{/each}} {{#each system.flaws_list as |flaw key|}} {{#if flaw.selected }} -
{{localize flaw.description}} ({{localize flaw.label}})
+
{{localize flaw.description}} ({{localize flaw.label}})
{{/if}} {{/each}}
From 2ec68373bf13060e7e7a8a799f8ee54f79bcfd20 Mon Sep 17 00:00:00 2001 From: Megastruktur Date: Thu, 20 Jul 2023 10:58:36 +0300 Subject: [PATCH 3/3] Version 4.8 --- CHANGELOG.txt | 4 ++++ system.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a4d88da..72453e7 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ +v.4.8 +- Fix CSS namespace collisions #202 (@drewg13) +- Adds Automatic generated version in system.json + v.4.7 - Missing coma fix #195 (@hendryl) - Make action ratings variable and modifiable by Active Effects #197 (@drewg13) diff --git a/system.json b/system.json index c2a659c..a634fc7 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "blades-in-the-dark", "title": "Blades in the Dark", "description": "Blades in the dark game system.", - "version": "{VERSION_NUMBER}", + "version": "4.8", "compatibility": { "minimum": 10, "verified": "10.284" @@ -11,7 +11,7 @@ "minimumCoreVersion": "10", "url": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/", "manifest": "https://raw.githubusercontent.com/megastruktur/foundryvtt-blades-in-the-dark/master/system.json", - "download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/releases/download/{VERSION_NUMBER}/blades-in-the-dark-{VERSION_NUMBER}.zip", + "download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/releases/download/4.8/blades-in-the-dark-{VERSION_NUMBER}.zip", "authors": [ { "name": "megastruktur" }, { "name": "drewg13" },