Upd: gui. Extract this commit's change into a new argument group

This commit is contained in:
Hengyu 2024-07-11 13:33:18 +08:00
parent bbe7d10746
commit bb61d184c2
11 changed files with 77 additions and 39 deletions

View File

@ -104,10 +104,7 @@
"Name": "Calyx_Golden_Treasures_Jarilo_VI",
"NameAtDoubleCalyx": "Calyx_Golden_Treasures_Jarilo_VI",
"NameAtDoubleRelic": "Cavern_of_Corrosion_Path_of_Providence",
"Team": 1,
"ExtractReservedTrailblazePower": false,
"UseFuel": false,
"UseFuelUntilRemainCount": 0
"Team": 1
},
"DungeonSupport": {
"Use": "when_daily",
@ -119,6 +116,11 @@
"DungeonDouble": {},
"EchoOfWar": {},
"SimulatedUniverse": {}
},
"TrailblazePower": {
"ExtractReservedTrailblazePower": false,
"UseFuel": false,
"UseFuelUntilRemainCount": 0
}
},
"DailyQuest": {

View File

@ -652,18 +652,6 @@
8,
9
]
},
"ExtractReservedTrailblazePower": {
"type": "checkbox",
"value": false
},
"UseFuel": {
"type": "checkbox",
"value": false
},
"UseFuelUntilRemainCount": {
"type": "input",
"value": 0
}
},
"DungeonSupport": {
@ -770,6 +758,20 @@
"order": 6,
"color": "#8fb5fe"
}
},
"TrailblazePower": {
"ExtractReservedTrailblazePower": {
"type": "checkbox",
"value": false
},
"UseFuel": {
"type": "checkbox",
"value": false
},
"UseFuelUntilRemainCount": {
"type": "input",
"value": 0
}
}
},
"DailyQuest": {

View File

@ -110,6 +110,7 @@ Dungeon:
Team:
value: 1
option: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
TrailblazePower:
ExtractReservedTrailblazePower: false
UseFuel: false
UseFuelUntilRemainCount: 0

View File

@ -29,6 +29,7 @@ Daily:
- Dungeon
- DungeonSupport
- DungeonStorage
- TrailblazePower
DailyQuest:
- Scheduler
- AchievableQuest

View File

@ -50,9 +50,11 @@ class GeneratedConfig:
Dungeon_NameAtDoubleCalyx = 'Calyx_Golden_Treasures_Jarilo_VI' # Calyx_Golden_Memories_Jarilo_VI, Calyx_Golden_Memories_The_Xianzhou_Luofu, Calyx_Golden_Memories_Penacony, Calyx_Golden_Aether_Jarilo_VI, Calyx_Golden_Aether_The_Xianzhou_Luofu, Calyx_Golden_Aether_Penacony, Calyx_Golden_Treasures_Jarilo_VI, Calyx_Golden_Treasures_The_Xianzhou_Luofu, Calyx_Golden_Treasures_Penacony, Calyx_Crimson_Destruction_Herta_StorageZone, Calyx_Crimson_Destruction_Luofu_ScalegorgeWaterscape, Calyx_Crimson_Preservation_Herta_SupplyZone, Calyx_Crimson_Preservation_Penacony_ClockStudiosThemePark, Calyx_Crimson_The_Hunt_Jarilo_OutlyingSnowPlains, Calyx_Crimson_The_Hunt_Penacony_SoulGladScorchsandAuditionVenue, Calyx_Crimson_Abundance_Jarilo_BackwaterPass, Calyx_Crimson_Abundance_Luofu_FyxestrollGarden, Calyx_Crimson_Erudition_Jarilo_RivetTown, Calyx_Crimson_Erudition_Penacony_PenaconyGrandTheater, Calyx_Crimson_Harmony_Jarilo_RobotSettlement, Calyx_Crimson_Harmony_Penacony_TheReverieDreamscape, Calyx_Crimson_Nihility_Jarilo_GreatMine, Calyx_Crimson_Nihility_Luofu_AlchemyCommission
Dungeon_NameAtDoubleRelic = 'Cavern_of_Corrosion_Path_of_Providence' # Cavern_of_Corrosion_Path_of_Gelid_Wind, Cavern_of_Corrosion_Path_of_Jabbing_Punch, Cavern_of_Corrosion_Path_of_Drifting, Cavern_of_Corrosion_Path_of_Providence, Cavern_of_Corrosion_Path_of_Holy_Hymn, Cavern_of_Corrosion_Path_of_Conflagration, Cavern_of_Corrosion_Path_of_Elixir_Seekers, Cavern_of_Corrosion_Path_of_Darkness, Cavern_of_Corrosion_Path_of_Dreamdive, Cavern_of_Corrosion_Path_of_Cavalier
Dungeon_Team = 1 # 1, 2, 3, 4, 5, 6, 7, 8, 9
Dungeon_ExtractReservedTrailblazePower = False
Dungeon_UseFuel = False
Dungeon_UseFuelUntilRemainCount = 0
# Group `TrailblazePower`
TrailblazePower_ExtractReservedTrailblazePower = False
TrailblazePower_UseFuel = False
TrailblazePower_UseFuelUntilRemainCount = 0
# Group `DungeonSupport`
DungeonSupport_Use = 'when_daily' # always_use, when_daily, do_not_use

View File

@ -877,8 +877,8 @@ class ConfigUpdater:
Yields:
str: Arg path that should be hidden
"""
if deep_get(data, 'Dungeon.Dungeon.UseFuel') == False:
yield 'Dungeon.Dungeon.UseFuelUntilRemainCount'
if deep_get(data, 'Dungeon.TrailblazePower.UseFuel') == False:
yield 'Dungeon.TrailblazePower.UseFuelUntilRemainCount'
if deep_get(data, 'Rogue.RogueBlessing.PresetBlessingFilter') != 'custom':
yield 'Rogue.RogueBlessing.CustomBlessingFilter'
if deep_get(data, 'Rogue.RogueBlessing.PresetResonanceFilter') != 'custom':

View File

@ -357,6 +357,12 @@
"7": "7",
"8": "8",
"9": "9"
}
},
"TrailblazePower": {
"_info": {
"name": "TrailblazePower Settings",
"help": ""
},
"ExtractReservedTrailblazePower": {
"name": "Extract reserve exploration power",

View File

@ -357,18 +357,24 @@
"7": "7",
"8": "8",
"9": "9"
}
},
"TrailblazePower": {
"_info": {
"name": "TrailblazePower._info.name",
"help": "TrailblazePower._info.help"
},
"ExtractReservedTrailblazePower": {
"name": "Dungeon.ExtractReservedTrailblazePower.name",
"help": "Dungeon.ExtractReservedTrailblazePower.help"
"name": "TrailblazePower.ExtractReservedTrailblazePower.name",
"help": "TrailblazePower.ExtractReservedTrailblazePower.help"
},
"UseFuel": {
"name": "Dungeon.UseFuel.name",
"help": "Dungeon.UseFuel.help"
"name": "TrailblazePower.UseFuel.name",
"help": "TrailblazePower.UseFuel.help"
},
"UseFuelUntilRemainCount": {
"name": "Dungeon.UseFuelUntilRemainCount.name",
"help": "Dungeon.UseFuelUntilRemainCount.help"
"name": "TrailblazePower.UseFuelUntilRemainCount.name",
"help": "TrailblazePower.UseFuelUntilRemainCount.help"
}
},
"DungeonSupport": {

View File

@ -357,18 +357,24 @@
"7": "7",
"8": "8",
"9": "9"
}
},
"TrailblazePower": {
"_info": {
"name": "TrailblazePower._info.name",
"help": "TrailblazePower._info.help"
},
"ExtractReservedTrailblazePower": {
"name": "Dungeon.ExtractReservedTrailblazePower.name",
"help": "Dungeon.ExtractReservedTrailblazePower.help"
"name": "TrailblazePower.ExtractReservedTrailblazePower.name",
"help": "TrailblazePower.ExtractReservedTrailblazePower.help"
},
"UseFuel": {
"name": "Dungeon.UseFuel.name",
"help": "Dungeon.UseFuel.help"
"name": "TrailblazePower.UseFuel.name",
"help": "TrailblazePower.UseFuel.help"
},
"UseFuelUntilRemainCount": {
"name": "Dungeon.UseFuelUntilRemainCount.name",
"help": "Dungeon.UseFuelUntilRemainCount.help"
"name": "TrailblazePower.UseFuelUntilRemainCount.name",
"help": "TrailblazePower.UseFuelUntilRemainCount.help"
}
},
"DungeonSupport": {

View File

@ -357,6 +357,12 @@
"7": "7",
"8": "8",
"9": "9"
}
},
"TrailblazePower": {
"_info": {
"name": "开拓力设置",
"help": ""
},
"ExtractReservedTrailblazePower": {
"name": "取出后备开拓力",

View File

@ -357,18 +357,24 @@
"7": "7",
"8": "8",
"9": "9"
}
},
"TrailblazePower": {
"_info": {
"name": "TrailblazePower._info.name",
"help": "TrailblazePower._info.help"
},
"ExtractReservedTrailblazePower": {
"name": "Dungeon.ExtractReservedTrailblazePower.name",
"help": "Dungeon.ExtractReservedTrailblazePower.help"
"name": "TrailblazePower.ExtractReservedTrailblazePower.name",
"help": "TrailblazePower.ExtractReservedTrailblazePower.help"
},
"UseFuel": {
"name": "Dungeon.UseFuel.name",
"help": "Dungeon.UseFuel.help"
"name": "TrailblazePower.UseFuel.name",
"help": "TrailblazePower.UseFuel.help"
},
"UseFuelUntilRemainCount": {
"name": "Dungeon.UseFuelUntilRemainCount.name",
"help": "Dungeon.UseFuelUntilRemainCount.help"
"name": "TrailblazePower.UseFuelUntilRemainCount.name",
"help": "TrailblazePower.UseFuelUntilRemainCount.help"
}
},
"DungeonSupport": {