From 6f0d4a3a610002246b49cfb79fcf6b75824d8f68 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 18 Jan 2026 18:16:20 +0100 Subject: [PATCH] Added a notification message when KnowTheTide gains a token --- lang/en.json | 3 ++- .../communities/feature_Know_the_Tide_07x6Qe6qMzDw2xN4.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/en.json b/lang/en.json index 870e1b2b..75555e2a 100755 --- a/lang/en.json +++ b/lang/en.json @@ -2843,7 +2843,8 @@ "documentIsMissing": "The {documentType} is missing from the world.", "tokenActorMissing": "{name} is missing an Actor", "tokenActorsMissing": "[{names}] missing Actors", - "domainTouchRequirement": "This domain card requires {nr} {domain} cards in the loadout to be used" + "domainTouchRequirement": "This domain card requires {nr} {domain} cards in the loadout to be used", + "knowTheTide": "Know The Tide gained a token" }, "Sidebar": { "actorDirectory": { diff --git a/src/packs/communities/feature_Know_the_Tide_07x6Qe6qMzDw2xN4.json b/src/packs/communities/feature_Know_the_Tide_07x6Qe6qMzDw2xN4.json index bebb3ddc..41f11a74 100644 --- a/src/packs/communities/feature_Know_the_Tide_07x6Qe6qMzDw2xN4.json +++ b/src/packs/communities/feature_Know_the_Tide_07x6Qe6qMzDw2xN4.json @@ -10,7 +10,7 @@ "type": "simple", "value": 0, "max": "@system.levelData.level.current", - "icon": "", + "icon": "fa-solid fa-water", "recovery": "session", "diceStates": {}, "dieFaces": "d4" @@ -31,7 +31,7 @@ { "trigger": "fearRoll", "triggeringActorType": "self", - "command": "const { max, value } = this.item.system.resource;\nconst maxValue = actor.system.levelData.level.current;\nconst afterUpdate = value+1;\nif (afterUpdate > maxValue) return;\n\nreturn { updates: [{\n key: 'resource',\n itemId: this.item.id,\n target: this.item,\n value: 1,\n}]};" + "command": "const { max, value } = this.item.system.resource;\nconst maxValue = actor.system.levelData.level.current;\nconst afterUpdate = value+1;\nif (afterUpdate > maxValue) return;\n\nui.notifications.info(game.i18n.localize('DAGGERHEART.UI.Notifications.knowTheTide'));\nreturn { updates: [{\n key: 'resource',\n itemId: this.item.id,\n target: this.item,\n value: 1,\n}]};" } ], "cost": [],