From 1f975bd35550b469403e434c0b2389ebcae28782 Mon Sep 17 00:00:00 2001 From: Dazed Date: Sun, 18 Feb 2024 16:09:58 -0600 Subject: [PATCH] Fix error in colored speakers --- modules/rpgmakermvmz.py | 12 ++++-------- vocab.txt | 1 + 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/modules/rpgmakermvmz.py b/modules/rpgmakermvmz.py index 3ee2154..0d6710e 100644 --- a/modules/rpgmakermvmz.py +++ b/modules/rpgmakermvmz.py @@ -845,7 +845,7 @@ def searchCodes(page, pbar, fillList, filename): totalTokens[1] += response[1][1] # Set Data - codeList[i]['p'][0] = jaString.replace(coloredSpeakerList[0], speaker) + codeList[i]['parameters'][0] = jaString.replace(coloredSpeakerList[0], speaker) # Iterate to next string i += 1 @@ -2163,13 +2163,9 @@ def batchList(input_list, batch_size): def createContext(fullPromptFlag, subbedT): characters = 'Game Characters:\n\ -メミミ (Memimi) - Female\n\ -バニーちゃん (Bunny-chan) - Female\n\ -ブラキオコンドル (Brachiocondor) - Male\n\ -サメブロッコリー (Shark Broccoli) - Male\n\ -シャチアスパラガス (Orca Asparagus) - Male\n\ -ドリルマメイド (Drillmaid) - Male\n\ -ケルベロスオクトパス (Cerburus Octopus) - Male\n\ +レイシア (Reisha) - Female\n\ +アカネ (Akane) - Female\n\ +王女ソアラ (Princess Soara) - Female\n\ ' system = PROMPT + VOCAB if fullPromptFlag else \ diff --git a/vocab.txt b/vocab.txt index 03a6885..b0090b4 100644 --- a/vocab.txt +++ b/vocab.txt @@ -39,4 +39,5 @@ Here are some vocabulary and terms so that you know the proper spelling and tran ME 音量 (ME Volume) # Other +ニアレイク (Near Lake) ``` \ No newline at end of file