Upd: Character (#352)

This commit is contained in:
Zero 2024-02-29 23:01:29 +08:00 committed by GitHub
parent 94dca8b9ce
commit dbb5658103
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 12 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -50,12 +50,12 @@ def handle_sensitive_info(image):
_ = EmptyConnection() _ = EmptyConnection()
name = input( name = input(
'输入alas配置文件名称或者模拟器serial或者模拟器端口号: (默认输入 "alas"):\n' '输入src配置文件名称或者模拟器serial或者模拟器端口号: (默认输入 "src"):\n'
'例如:"alas", "127.0.0.1:16384", "7555"\n' '例如:"src", "127.0.0.1:16384", "7555"\n'
) )
name = name.strip().strip('"').strip() name = name.strip().strip('"').strip()
if not name: if not name:
name = 'alas' name = 'src'
if name.isdigit(): if name.isdigit():
name = f'127.0.0.1:{name}' name = f'127.0.0.1:{name}'
if name in alas_instance(): if name in alas_instance():

View File

@ -421,6 +421,7 @@
"Seele", "Seele",
"Serval", "Serval",
"SilverWolf", "SilverWolf",
"Sparkle",
"Sushang", "Sushang",
"Tingyun", "Tingyun",
"TopazNumby", "TopazNumby",
@ -1326,6 +1327,7 @@
"Seele", "Seele",
"Serval", "Serval",
"SilverWolf", "SilverWolf",
"Sparkle",
"Sushang", "Sushang",
"Tingyun", "Tingyun",
"TopazNumby", "TopazNumby",

View File

@ -53,7 +53,7 @@ class GeneratedConfig:
# Group `DungeonSupport` # Group `DungeonSupport`
DungeonSupport_Use = 'when_daily' # always_use, when_daily, do_not_use DungeonSupport_Use = 'when_daily' # always_use, when_daily, do_not_use
DungeonSupport_Character = 'FirstCharacter' # FirstCharacter, Argenti, Arlan, Asta, Bailu, BlackSwan, Blade, Bronya, Clara, DanHeng, DanHengImbibitorLunae, DrRatio, FuXuan, Gepard, Guinaifen, Hanya, Herta, Himeko, Hook, Huohuo, JingYuan, Jingliu, Kafka, Luka, Luocha, Lynx, March7th, Misha, Natasha, Pela, Qingque, RuanMei, Sampo, Seele, Serval, SilverWolf, Sushang, Tingyun, TopazNumby, TrailblazerDestruction, TrailblazerPreservation, Welt, Xueyi, Yanqing, Yukong DungeonSupport_Character = 'FirstCharacter' # FirstCharacter, Argenti, Arlan, Asta, Bailu, BlackSwan, Blade, Bronya, Clara, DanHeng, DanHengImbibitorLunae, DrRatio, FuXuan, Gepard, Guinaifen, Hanya, Herta, Himeko, Hook, Huohuo, JingYuan, Jingliu, Kafka, Luka, Luocha, Lynx, March7th, Misha, Natasha, Pela, Qingque, RuanMei, Sampo, Seele, Serval, SilverWolf, Sparkle, Sushang, Tingyun, TopazNumby, TrailblazerDestruction, TrailblazerPreservation, Welt, Xueyi, Yanqing, Yukong
# Group `DungeonStorage` # Group `DungeonStorage`
DungeonStorage_TrailblazePower = {} DungeonStorage_TrailblazePower = {}

View File

@ -100,7 +100,7 @@ class ConfigGenerator:
options=[dungeon.name for dungeon in DungeonList.instances.values() if dungeon.is_Echo_of_War]) options=[dungeon.name for dungeon in DungeonList.instances.values() if dungeon.is_Echo_of_War])
# Insert characters # Insert characters
from tasks.character.keywords import CharacterList from tasks.character.keywords import CharacterList
unsupported_characters = ['Sparkle'] unsupported_characters = []
characters = [character.name for character in CharacterList.instances.values() characters = [character.name for character in CharacterList.instances.values()
if character.name not in unsupported_characters] if character.name not in unsupported_characters]
option_add(keys='DungeonSupport.Character.option', options=characters) option_add(keys='DungeonSupport.Character.option', options=characters)

View File

@ -441,6 +441,7 @@
"Seele": "Seele", "Seele": "Seele",
"Serval": "Serval", "Serval": "Serval",
"SilverWolf": "Silver Wolf", "SilverWolf": "Silver Wolf",
"Sparkle": "Sparkle",
"Sushang": "Sushang", "Sushang": "Sushang",
"Tingyun": "Tingyun", "Tingyun": "Tingyun",
"TopazNumby": "Topaz & Numby", "TopazNumby": "Topaz & Numby",

View File

@ -441,6 +441,7 @@
"Seele": "Seele", "Seele": "Seele",
"Serval": "Serval", "Serval": "Serval",
"SilverWolf": "Silver Wolf", "SilverWolf": "Silver Wolf",
"Sparkle": "Sparkle",
"Sushang": "Sushang", "Sushang": "Sushang",
"Tingyun": "Tingyun", "Tingyun": "Tingyun",
"TopazNumby": "Topaz y Conti", "TopazNumby": "Topaz y Conti",

View File

@ -441,6 +441,7 @@
"Seele": "ゼーレ", "Seele": "ゼーレ",
"Serval": "セーバル", "Serval": "セーバル",
"SilverWolf": "銀狼", "SilverWolf": "銀狼",
"Sparkle": "花火",
"Sushang": "素裳", "Sushang": "素裳",
"Tingyun": "停雲", "Tingyun": "停雲",
"TopazNumby": "トパーズ&カブ", "TopazNumby": "トパーズ&カブ",

View File

@ -441,6 +441,7 @@
"Seele": "希儿", "Seele": "希儿",
"Serval": "希露瓦", "Serval": "希露瓦",
"SilverWolf": "银狼", "SilverWolf": "银狼",
"Sparkle": "花火",
"Sushang": "素裳", "Sushang": "素裳",
"Tingyun": "停云", "Tingyun": "停云",
"TopazNumby": "托帕&账账", "TopazNumby": "托帕&账账",

View File

@ -441,6 +441,7 @@
"Seele": "希兒", "Seele": "希兒",
"Serval": "希露瓦", "Serval": "希露瓦",
"SilverWolf": "銀狼", "SilverWolf": "銀狼",
"Sparkle": "花火",
"Sushang": "素裳", "Sushang": "素裳",
"Tingyun": "停雲", "Tingyun": "停雲",
"TopazNumby": "托帕&帳帳", "TopazNumby": "托帕&帳帳",