Upd: Add templates to match character TrailblazerHarmony

This commit is contained in:
LmeSzinc 2024-06-27 02:19:19 +08:00
parent 32afdd13db
commit 5da12c1004
4 changed files with 25 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -63,6 +63,26 @@ TrailblazerDestructionMale = ButtonWrapper(
button=(1169, 156, 1187, 174), button=(1169, 156, 1187, 174),
), ),
) )
TrailblazerHarmonyFemale = ButtonWrapper(
name='TrailblazerHarmonyFemale',
share=Button(
file='./assets/share/character/switch/TrailblazerHarmonyFemale.png',
area=(1174, 242, 1192, 260),
search=(1154, 222, 1212, 280),
color=(197, 165, 158),
button=(1174, 242, 1192, 260),
),
)
TrailblazerHarmonyMale = ButtonWrapper(
name='TrailblazerHarmonyMale',
share=Button(
file='./assets/share/character/switch/TrailblazerHarmonyMale.png',
area=(1175, 321, 1193, 339),
search=(1155, 301, 1213, 359),
color=(181, 152, 147),
button=(1175, 321, 1193, 339),
),
)
TrailblazerPreservationFemale = ButtonWrapper( TrailblazerPreservationFemale = ButtonWrapper(
name='TrailblazerPreservationFemale', name='TrailblazerPreservationFemale',
share=Button( share=Button(

View File

@ -22,6 +22,7 @@ class OcrCharacterName(OcrWhiteLetterOnComplexBackground):
result = result.replace('', '') result = result.replace('', '')
# Dan Heng o.ImbibitorLunae # Dan Heng o.ImbibitorLunae
result = re.sub(r'[0Oo\-. ]{1,3}Imbi', 'Imbi', result) result = re.sub(r'[0Oo\-. ]{1,3}Imbi', 'Imbi', result)
result = result.replace('舟恒', '丹恒')
result = re.sub(r'院.?梅', '阮•梅', result) result = re.sub(r'院.?梅', '阮•梅', result)
@ -98,6 +99,10 @@ class CharacterSwitch(UI):
TrailblazerPreservationFemale, TrailblazerPreservationFemale,
], ],
KEYWORDS_CHARACTER_LIST.TrailblazerHarmony: [
TrailblazerHarmonyMale,
TrailblazerHarmonyFemale,
],
KEYWORDS_CHARACTER_LIST.Huohuo: [Huohuo], KEYWORDS_CHARACTER_LIST.Huohuo: [Huohuo],
KEYWORDS_CHARACTER_LIST.FuXuan: [FuXuan], KEYWORDS_CHARACTER_LIST.FuXuan: [FuXuan],
} }