From 8d6b1d9473d5645ea9820f910773c9277ff9cbdf Mon Sep 17 00:00:00 2001 From: Erin Schnabel Date: Fri, 26 Jul 2024 21:51:36 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20pf2e=20sources?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sourceMap.md | 3 +++ .../ebullient/convert/tools/pf2e/JsonTextReplacement.java | 1 + src/main/resources/convertData.json | 6 ++++++ src/main/resources/sourceMap.json | 3 +++ 4 files changed, 13 insertions(+) diff --git a/docs/sourceMap.md b/docs/sourceMap.md index 2f1f584ff..150d2076d 100644 --- a/docs/sourceMap.md +++ b/docs/sourceMap.md @@ -495,6 +495,9 @@ You may see these abbreviations referenced in source material, this is how they | TiO | Troubles in Otari | | ToK | Threshold of Knowledge | | WoW0 | Wardens of Wildwood Player's Guide | +| WoW1 | Wardens of Wildwood #1: Pactbreaker | +| WoW2 | Wardens of Wildwood #2: Severed at the Root | +| WoW3 | Wardens of Wildwood #3: Shepherd of Decay | | WtD1 | Wake the Dead #1 | | WtD2 | Wake the Dead #2 | | WtD3 | Wake the Dead #3 | diff --git a/src/main/java/dev/ebullient/convert/tools/pf2e/JsonTextReplacement.java b/src/main/java/dev/ebullient/convert/tools/pf2e/JsonTextReplacement.java index 1fd5949d1..190f4ea07 100644 --- a/src/main/java/dev/ebullient/convert/tools/pf2e/JsonTextReplacement.java +++ b/src/main/java/dev/ebullient/convert/tools/pf2e/JsonTextReplacement.java @@ -164,6 +164,7 @@ default String _replaceTokenText(String input, boolean nested) { .replaceAll("\\{@strike ([^}]+?)}", "$1") .replaceAll("\\{@n ([^}]+?)}", "$1") .replaceAll("\\{@b ([^}]+?)}", "**$1**") + .replaceAll("\\{@B ([^}]+?)}", "**$1**") .replaceAll("\\{@bold ([^}]+?)}", "**$1**") .replaceAll("\\{@i ([^}]+?)}", "_$1_") .replaceAll("\\{@italic ([^}]+)}", "_$1_") diff --git a/src/main/resources/convertData.json b/src/main/resources/convertData.json index 3fde23401..4a7403d2e 100644 --- a/src/main/resources/convertData.json +++ b/src/main/resources/convertData.json @@ -614,6 +614,12 @@ "replace": "{@condition enfeebled 4}." } ], + "creatures-wow2.json": [ + { + "match": "\\{@conditio n", + "replace": "{@condition " + } + ], "deities.json": [ { "match": "immobilizied", diff --git a/src/main/resources/sourceMap.json b/src/main/resources/sourceMap.json index 41d899e5f..fa36fadc9 100644 --- a/src/main/resources/sourceMap.json +++ b/src/main/resources/sourceMap.json @@ -474,6 +474,9 @@ "TiO": "Troubles in Otari", "ToK": "Threshold of Knowledge", "WoW0": "Wardens of Wildwood Player's Guide", + "WoW1": "Wardens of Wildwood #1: Pactbreaker", + "WoW2": "Wardens of Wildwood #2: Severed at the Root", + "WoW3": "Wardens of Wildwood #3: Shepherd of Decay", "WtD1": "Wake the Dead #1", "WtD2": "Wake the Dead #2", "WtD3": "Wake the Dead #3",