From d52a0805442fe6f8dde7d0571d46c57f004cddc1 Mon Sep 17 00:00:00 2001 From: Dazed Date: Tue, 2 Jan 2024 12:24:42 -0600 Subject: [PATCH] Fix Achievement WR --- www/data/CommonEvents.json | 44 +++++++++++++------------- www/js/plugins.js | 2 +- www/js/plugins/Torigoya_Achievement.js | 10 +++--- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/www/data/CommonEvents.json b/www/data/CommonEvents.json index 19b669f..529845c 100644 --- a/www/data/CommonEvents.json +++ b/www/data/CommonEvents.json @@ -13031,7 +13031,7 @@ "code": 408, "indent": 0, "parameters": [ - "By touching the vortex of light, instant teleportation to previously visited locations is possible" + "By touching the vortex of light, instant teleportation to previously visited\nlocations is possible" ] }, { @@ -13297,7 +13297,7 @@ "code": 408, "indent": 0, "parameters": [ - "secretText:Let's explore the suspicious places in the outskirts of the Fols district" + "secretText:Let's explore the suspicious places in the outskirts of the Fols\ndistrict" ] }, { @@ -13388,7 +13388,7 @@ "code": 408, "indent": 0, "parameters": [ - "Karen, who is in the track and field club, is frustrated that the athletic field is no longer available" + "Karen, who is in the track and field club, is frustrated that the athletic field\nis no longer available" ] }, { @@ -13472,7 +13472,7 @@ "code": 408, "indent": 0, "parameters": [ - "Karen's servant, Katsuhiro, tore off Karen's clothes with a knife and pounced on her" + "Karen's servant, Katsuhiro, tore off Karen's clothes with a knife and pounced on\nher" ] }, { @@ -13556,14 +13556,14 @@ "code": 408, "indent": 0, "parameters": [ - "Punished Dokushima for sexually harassing the female judo club members in the gymnasium" + "Punished Dokushima for sexually harassing the female judo club members in the\ngymnasium" ] }, { "code": 408, "indent": 0, "parameters": [ - "I wonder if Dokushima has learned his lesson after being dismissed for disciplinary reasons" + "I wonder if Dokushima has learned his lesson after being dismissed for\ndisciplinary reasons" ] }, { @@ -13584,7 +13584,7 @@ "code": 408, "indent": 0, "parameters": [ - "secretText:There's been a report of a molester on the train to the urban district" + "secretText:There's been a report of a molester on the train to the urban\ndistrict" ] }, { @@ -13668,7 +13668,7 @@ "code": 408, "indent": 0, "parameters": [ - "secretText:After finishing the events with ??? and ???, head towards the Fols District's Shouzai Academy" + "secretText:After finishing the events with ??? and ???, head towards the Fols\nDistrict's Shouzai Academy" ] }, { @@ -13682,14 +13682,14 @@ "code": 408, "indent": 0, "parameters": [ - "The theft of the bloomers was the work of Dokushima He was making pocket money by selling them to enthusiasts" + "The theft of the bloomers was the work of Dokushima He was making pocket money\nby selling them to enthusiasts" ] }, { "code": 408, "indent": 0, "parameters": [ - "I managed to take back the bloomers, but the crucial bloomers were in a terrible state" + "I managed to take back the bloomers, but the crucial bloomers were in a terrible\nstate" ] }, { @@ -13766,7 +13766,7 @@ "code": 408, "indent": 0, "parameters": [ - "It seemed like we had resolved the issue by exposing the manager's misdeeds, but upon visiting for an on-site investigation" + "It seemed like we had resolved the issue by exposing the manager's misdeeds, but\nupon visiting for an on-site investigation" ] }, { @@ -13808,14 +13808,14 @@ "code": 408, "indent": 0, "parameters": [ - "Captured Iwao Chikounai, the mastermind behind the kidnapping and human trafficking case" + "Captured Iwao Chikounai, the mastermind behind the kidnapping and human\ntrafficking case" ] }, { "code": 408, "indent": 0, "parameters": [ - "The series of disturbances following the crackdown on the Agarth Shop has now come to an end" + "The series of disturbances following the crackdown on the Agarth Shop has now\ncome to an end" ] }, { @@ -13927,7 +13927,7 @@ "code": 408, "indent": 0, "parameters": [ - "Hikomaru Chikunai was caught taking upskirt photos of Yui from under the pedestrian bridge, but he got busted" + "Hikomaru Chikunai was caught taking upskirt photos of Yui from under the\npedestrian bridge, but he got busted" ] }, { @@ -13997,7 +13997,7 @@ "code": 408, "indent": 0, "parameters": [ - "secretText:Inside the Shoto Academy girls' bathroom, there seems to be a suspicious person" + "secretText:Inside the Shoto Academy girls' bathroom, there seems to be a\nsuspicious person" ] }, { @@ -14060,7 +14060,7 @@ "code": 408, "indent": 0, "parameters": [ - "However, she's feeling a bit regretful about showing the inside of her skirt to a child" + "However, she's feeling a bit regretful about showing the inside of her skirt to\na child" ] }, { @@ -14102,7 +14102,7 @@ "code": 408, "indent": 0, "parameters": [ - "While doubting the teacher's actions, she ends up feeling pleasure from her nipples being touched" + "While doubting the teacher's actions, she ends up feeling pleasure from her\nnipples being touched" ] }, { @@ -14137,7 +14137,7 @@ "code": 408, "indent": 0, "parameters": [ - "The contents of the pink package bought from the suspicious man were masturbation tools" + "The contents of the pink package bought from the suspicious man were\nmasturbation tools" ] }, { @@ -14249,7 +14249,7 @@ "code": 408, "indent": 0, "parameters": [ - "secretText:After meeting certain conditions, try exploring within the Dinos district" + "secretText:After meeting certain conditions, try exploring within the Dinos\ndistrict" ] }, { @@ -14263,7 +14263,7 @@ "code": 408, "indent": 0, "parameters": [ - "The antenna that Uncle Haruhiko was fixing was a surveillance device set up at Yui's house" + "The antenna that Uncle Haruhiko was fixing was a surveillance device set up at\nYui's house" ] }, { @@ -14354,7 +14354,7 @@ "code": 408, "indent": 0, "parameters": [ - "During a replay: The code for the yellow treasure chest in the Memory Room [3219]" + "During a replay: The code for the yellow treasure chest in the Memory Room\n[3219]" ] }, { @@ -14599,7 +14599,7 @@ "code": 408, "indent": 0, "parameters": [ - "True End Condition: If you can prevent the resurrection of Dargnoa's complete form" + "True End Condition: If you can prevent the resurrection of Dargnoa's complete\nform" ] }, { diff --git a/www/js/plugins.js b/www/js/plugins.js index 4221af5..22423e4 100644 --- a/www/js/plugins.js +++ b/www/js/plugins.js @@ -169,7 +169,7 @@ var $plugins = [ "List Hidden Title": "?????", "List Hidden Description": "(未獲得)", "List Hidden Icon": "0", - "List Cancel Message": "閉じる", + "List Cancel Message": "Cancel", "■ 上級者向け設定": "", "Use Global Save": "ON", }, diff --git a/www/js/plugins/Torigoya_Achievement.js b/www/js/plugins/Torigoya_Achievement.js index 045bca2..95d5fe0 100644 --- a/www/js/plugins/Torigoya_Achievement.js +++ b/www/js/plugins/Torigoya_Achievement.js @@ -242,15 +242,15 @@ var match; if (!id && (match = line.match(/^\s*id:\s*(\d+)/))) { id = ~~match[1]; - } else if (!icon && (match = line.match(/^\s*icon:\s*(\d+)/))) { + } else if (!icon && (match = line.match(/^\s*icon:\s*(\d+)/s))) { icon = ~~match[1]; - } else if (!title && (match = line.match(/^\s*title:\s*(.+)\s*$/))) { + } else if (!title && (match = line.match(/^\s*title:\s*(.+)\s*$/s))) { title = match[1]; - } else if ((match = line.match(/^\s*secret:\s*(.+)\s*$/))) { + } else if ((match = line.match(/^\s*secret:\s*(.+)\s*$/s))) { secret = match[1] === "true"; - } else if ((match = line.match(/^\s*secretTitle:\s*(.+)\s*$/))) { + } else if ((match = line.match(/^\s*secretTitle:\s*(.+)\s*$/s))) { secretTitle = match[1]; - } else if ((match = line.match(/^\s*secretText:\s*(.+)\s*$/))) { + } else if ((match = line.match(/^\s*secretText:\s*(.+)\s*$/s))) { secretDescription = match[1]; } else { description += line + "\n";