From 1ba7f0d8de5bd6f960ec615828f1688decbe285b Mon Sep 17 00:00:00 2001 From: Kaeno <> Date: Mon, 6 Mar 2023 22:00:07 +0000 Subject: [PATCH] Fix: Fixed broken translations for some daily quests --- package.json | 2 +- src/mod.js | 12 ++++++++++++ src/mod.ts | 16 ++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ff27f01..63b3711 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "UwUifier", - "version": "1.0.0", + "version": "1.0.1", "main": "src/mod.js", "license": "See License file", "author": "Kaeno", diff --git a/src/mod.js b/src/mod.js index c1c6df6..0037d52 100644 --- a/src/mod.js +++ b/src/mod.js @@ -70,6 +70,18 @@ class Mod { if (value.includes("{durability}")) { continue; } + if (value.includes("{target}")) { + continue; + } + if (value.includes("{kill}")) { + continue; + } + if (value.includes("{Location}")) { + continue; + } + if (value.includes("{exitName}")) { + continue; + } if (value.includes("CHARACTER")) { enlocale[localekey] = "CHAWAWCTER ^-^"; continue; diff --git a/src/mod.ts b/src/mod.ts index 6a0c8e3..f525621 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -93,6 +93,22 @@ class Mod implements IPostDBLoadMod { continue } + if (value.includes("{target}")) + { + continue + } + if (value.includes("{kill}")) + { + continue + } + if (value.includes("{Location}")) + { + continue + } + if (value.includes("{exitName}")) + { + continue + } if (value.includes("CHARACTER")) { enlocale[localekey] = "CHAWAWCTER ^-^"