";
- inherits: false;
- initial-value: 0;
- }
-
- @keyframes scrollfade {
- 0% {
- --fade-start: 0;
- }
- 10%, 100% {
- --fade-start: 12px;
- }
- 0%, 90% {
- --fade-end: 12px;
- }
- 100% {
- --fade-end: 0;
- }
- }
-}
-
-.with-scroll-shadows() {
- animation: scrollfade;
- animation-timeline: --scrollfade;
- animation-range: entry 0% exit 100%;
- scroll-timeline: --scrollfade y;
- mask-image: linear-gradient(
- 0deg,
- transparent 0%,
- black var(--fade-end),
- black calc(100% - var(--fade-start)),
- transparent 100%
- );
-}
diff --git a/system.json b/system.json
index 5994c576..2acd7570 100644
--- a/system.json
+++ b/system.json
@@ -2,7 +2,7 @@
"id": "daggerheart",
"title": "Daggerheart",
"description": "An unofficial implementation of the Daggerheart system",
- "version": "2.3.0",
+ "version": "2.2.7",
"compatibility": {
"minimum": "14.361",
"verified": "14.363",
@@ -10,7 +10,7 @@
},
"url": "https://github.com/Foundryborne/daggerheart",
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/v14/system.json",
- "download": "https://github.com/Foundryborne/daggerheart/releases/download/2.3.0/system.zip",
+ "download": "https://github.com/Foundryborne/daggerheart/releases/download/2.2.7/system.zip",
"authors": [
{
"name": "WBHarry"
@@ -244,14 +244,11 @@
"adversary": {
"htmlFields": ["notes", "description"]
},
- "npc": {
- "htmlFields": ["notes"]
- },
"environment": {
"htmlFields": ["notes", "description"]
},
"party": {
- "htmlFields": ["notes", "description"]
+ "htmlFields": ["notes"]
}
},
"Item": {
diff --git a/templates/dialogs/rerollDialog/damage/main.hbs b/templates/dialogs/rerollDialog/damage/main.hbs
new file mode 100644
index 00000000..5b994bf6
--- /dev/null
+++ b/templates/dialogs/rerollDialog/damage/main.hbs
@@ -0,0 +1,35 @@
+
+ {{#each damage}}
+
{{localize (concat 'DAGGERHEART.CONFIG.HealingType.' @key '.name')}}
+ {{#each this}}
+
+ {{#each this}}
+
+
+
+
+ {{this.selectedResults}}/{{this.maxSelected}} Selected
+
+
+
+ {{#each this.results}}
+
+ {{/each}}
+
+
+ {{/each}}
+
+ {{/each}}
+ {{/each}}
+
\ No newline at end of file
diff --git a/templates/dialogs/rerollDialog/footer.hbs b/templates/dialogs/rerollDialog/footer.hbs
new file mode 100644
index 00000000..5d4ae2b2
--- /dev/null
+++ b/templates/dialogs/rerollDialog/footer.hbs
@@ -0,0 +1,4 @@
+
+ {{localize "DAGGERHEART.GENERAL.reroll"}}
+ {{localize "DAGGERHEART.APPLICATIONS.RerollDialog.acceptCurrentRolls"}}
+
\ No newline at end of file
diff --git a/templates/dialogs/rerollDialog/main.hbs b/templates/dialogs/rerollDialog/main.hbs
new file mode 100644
index 00000000..6f10ce33
--- /dev/null
+++ b/templates/dialogs/rerollDialog/main.hbs
@@ -0,0 +1,35 @@
+
+ {{#each damage}}
+
{{localize (concat 'DAGGERHEART.CONFIG.HealingType.' @key '.name')}}
+ {{#each this}}
+
+ {{#each this}}
+
+
+
+
+ {{this.selectedResults}}/{{this.results.length}} Selected
+
+
+
+ {{#each this.results}}
+
+ {{/each}}
+
+
+ {{/each}}
+
+ {{/each}}
+ {{/each}}
+
\ No newline at end of file
diff --git a/templates/dialogs/tagTeamDialog/parts/tagTeamDamageParts.hbs b/templates/dialogs/tagTeamDialog/parts/tagTeamDamageParts.hbs
index 2a366269..49fc8f4f 100644
--- a/templates/dialogs/tagTeamDialog/parts/tagTeamDamageParts.hbs
+++ b/templates/dialogs/tagTeamDialog/parts/tagTeamDamageParts.hbs
@@ -16,7 +16,7 @@
{{/unless}}
{{/each}}
{{#if part.modifierTotal}}
- {{#if part.dice.length}}{{#if (gte part.modifierTotal 0)}}+{{else}}-{{/if}} {{/if}}
+ {{#if (gte part.modifierTotal 0)}}+{{else}}-{{/if}}
{{positive part.modifierTotal}}
{{/if}}
diff --git a/templates/sheets-settings/adversary-settings/details.hbs b/templates/sheets-settings/adversary-settings/details.hbs
index 3160fbb9..dc2fd386 100644
--- a/templates/sheets-settings/adversary-settings/details.hbs
+++ b/templates/sheets-settings/adversary-settings/details.hbs
@@ -18,12 +18,6 @@
{{formField systemFields.motivesAndTactics value=document._source.system.motivesAndTactics label=(localize "DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label")}}
-
- {{localize "DAGGERHEART.GENERAL.DamageThresholds.title"}}
- {{formGroup systemFields.damageThresholds.fields.major value=document._source.system.damageThresholds.major label=(localize "DAGGERHEART.GENERAL.DamageThresholds.majorThreshold")}}
- {{formGroup systemFields.damageThresholds.fields.severe value=document._source.system.damageThresholds.severe label=(localize "DAGGERHEART.GENERAL.DamageThresholds.severeThreshold")}}
-
-
{{localize "DAGGERHEART.GENERAL.Resource.plural"}}
@@ -32,4 +26,10 @@
{{/each}}
+
+
+ {{localize "DAGGERHEART.GENERAL.DamageThresholds.title"}}
+ {{formGroup systemFields.damageThresholds.fields.major value=document._source.system.damageThresholds.major label=(localize "DAGGERHEART.GENERAL.DamageThresholds.majorThreshold")}}
+ {{formGroup systemFields.damageThresholds.fields.severe value=document._source.system.damageThresholds.severe label=(localize "DAGGERHEART.GENERAL.DamageThresholds.severeThreshold")}}
+
diff --git a/templates/sheets-settings/npc-settings/details.hbs b/templates/sheets-settings/npc-settings/details.hbs
deleted file mode 100644
index 0e18b488..00000000
--- a/templates/sheets-settings/npc-settings/details.hbs
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
- {{localize "DAGGERHEART.GENERAL.description"}}
- {{formInput systemFields.description value=document._source.system.description}}
-
-
- {{formGroup systemFields.motives value=document._source.system.motives}}
- {{formGroup systemFields.difficulty value=document._source.system.difficulty localize=true}}
-
diff --git a/templates/sheets-settings/npc-settings/features.hbs b/templates/sheets-settings/npc-settings/features.hbs
deleted file mode 100644
index 2f2f5f47..00000000
--- a/templates/sheets-settings/npc-settings/features.hbs
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
- {{localize "DOCUMENT.New" type=(localize "TYPES.Item.feature")}}
-
-
- {{localize tabs.features.label}}
-
- {{#each @root.features as |feature|}}
-
-
-
- {{feature.name}}
-
-
-
- {{/each}}
-
-
- {{localize "DAGGERHEART.GENERAL.dropFeaturesHere"}}
-
-
-
\ No newline at end of file
diff --git a/templates/sheets-settings/npc-settings/header.hbs b/templates/sheets-settings/npc-settings/header.hbs
deleted file mode 100644
index c9cb60fe..00000000
--- a/templates/sheets-settings/npc-settings/header.hbs
+++ /dev/null
@@ -1,3 +0,0 @@
-
\ No newline at end of file
diff --git a/templates/sheets/actors/adversary/header.hbs b/templates/sheets/actors/adversary/header.hbs
index 5adc235a..fba96980 100644
--- a/templates/sheets/actors/adversary/header.hbs
+++ b/templates/sheets/actors/adversary/header.hbs
@@ -44,9 +44,10 @@
- {{#> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
+
+ {{> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
- {{/ 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
+
\ No newline at end of file
diff --git a/templates/sheets/actors/companion/header.hbs b/templates/sheets/actors/companion/header.hbs
index 9c324709..d10c0640 100644
--- a/templates/sheets/actors/companion/header.hbs
+++ b/templates/sheets/actors/companion/header.hbs
@@ -50,10 +50,9 @@
- {{#> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
-
-
-
- {{/ 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
+ {{> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
+
+
+
\ No newline at end of file
diff --git a/templates/sheets/actors/environment/header.hbs b/templates/sheets/actors/environment/header.hbs
index 1b4073c7..2c6bbb5a 100644
--- a/templates/sheets/actors/environment/header.hbs
+++ b/templates/sheets/actors/environment/header.hbs
@@ -44,10 +44,9 @@
- {{#> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
-
-
-
- {{/ 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
+ {{> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
+
+
+
\ No newline at end of file
diff --git a/templates/sheets/actors/npc/features.hbs b/templates/sheets/actors/npc/features.hbs
deleted file mode 100644
index 3b495e74..00000000
--- a/templates/sheets/actors/npc/features.hbs
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- {{> 'daggerheart.inventory-items'
- title=tabs.features.label
- type='feature'
- collection=@root.features
- hideContextMenu=true
- hideModifyControls=true
- canCreate=@root.editable
- showActions=@root.editable
- }}
-
-
\ No newline at end of file
diff --git a/templates/sheets/actors/npc/header.hbs b/templates/sheets/actors/npc/header.hbs
deleted file mode 100644
index 8dc345dc..00000000
--- a/templates/sheets/actors/npc/header.hbs
+++ /dev/null
@@ -1,40 +0,0 @@
-
\ No newline at end of file
diff --git a/templates/sheets/actors/npc/navigation.hbs b/templates/sheets/actors/npc/navigation.hbs
deleted file mode 100644
index ae684f0d..00000000
--- a/templates/sheets/actors/npc/navigation.hbs
+++ /dev/null
@@ -1,7 +0,0 @@
-
- {{#> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
-
-
-
- {{/'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
-
\ No newline at end of file
diff --git a/templates/sheets/actors/npc/notes.hbs b/templates/sheets/actors/npc/notes.hbs
deleted file mode 100644
index bc9ac3cf..00000000
--- a/templates/sheets/actors/npc/notes.hbs
+++ /dev/null
@@ -1,11 +0,0 @@
-
- {{formInput notes.field value=notes.value enriched=notes.enriched toggled=true}}
-
- {{#if (and showAttribution document.system.attribution.artist)}}
- {{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}
- {{/if}}
-
\ No newline at end of file
diff --git a/templates/sheets/global/tabs/tab-navigation.hbs b/templates/sheets/global/tabs/tab-navigation.hbs
index 8af1f140..f9a31d3e 100755
--- a/templates/sheets/global/tabs/tab-navigation.hbs
+++ b/templates/sheets/global/tabs/tab-navigation.hbs
@@ -4,7 +4,7 @@
{{#each tabs as |tab|}}
-
+
{{localize tab.label}}
{{/each}}
diff --git a/templates/ui/chat/parts/roll-part.hbs b/templates/ui/chat/parts/roll-part.hbs
index cfee735f..14e3eaa6 100644
--- a/templates/ui/chat/parts/roll-part.hbs
+++ b/templates/ui/chat/parts/roll-part.hbs
@@ -12,9 +12,13 @@
{{/if}}
- {{#if roll.options.roll.difficulty}}
-
- {{localize "DAGGERHEART.GENERAL.difficulty"}} {{roll.options.roll.difficulty}}
+ {{#if roll.difficulty}}
+
+ {{!-- {{#if canViewSecret}} --}}
+ difficulty {{roll.difficulty}}
+ {{!-- {{else}}
+ {{localize (ifThen roll.success "DAGGERHEART.GENERAL.success" "DAGGERHEART.GENERAL.failure")}}
+ {{/if}} --}}
{{/if}}
diff --git a/templates/ui/sidebar/actor-document-partial.hbs b/templates/ui/sidebar/actor-document-partial.hbs
index 1bd3ff9a..2a9f47fa 100644
--- a/templates/ui/sidebar/actor-document-partial.hbs
+++ b/templates/ui/sidebar/actor-document-partial.hbs
@@ -6,8 +6,6 @@
{{name}}
{{#if (or (eq type "adversary") (eq type "environment"))}}
{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.tier" tier=system.tier type=(@root.getTypeLabel this)}}
- {{else if (eq type "npc")}}
- {{localize "TYPES.Actor.npc"}}
{{else if (eq type "character")}}
{{localize "DAGGERHEART.UI.Sidebar.actorDirectory.character" level=system.levelData.level.current}}
{{else if (eq type "companion")}}