Add: Config for event assignments

This commit is contained in:
Zebartin 2023-09-25 15:26:18 +08:00
parent b92ae0a143
commit ad86cc6f6c
8 changed files with 37 additions and 0 deletions

View File

@ -121,6 +121,7 @@
"ServerUpdate": "04:00" "ServerUpdate": "04:00"
}, },
"Assignment": { "Assignment": {
"WhenEventAssignmentsArePresent": "event_first",
"Name_1": "Nameless_Land_Nameless_People", "Name_1": "Nameless_Land_Nameless_People",
"Name_2": "Akashic_Records", "Name_2": "Akashic_Records",
"Name_3": "The_Invisible_Hand", "Name_3": "The_Invisible_Hand",

View File

@ -893,6 +893,14 @@
} }
}, },
"Assignment": { "Assignment": {
"WhenEventAssignmentsArePresent": {
"type": "select",
"value": "event_first",
"option": [
"event_first",
"do_not_participate"
]
},
"Name_1": { "Name_1": {
"type": "select", "type": "select",
"value": "Nameless_Land_Nameless_People", "value": "Nameless_Land_Nameless_People",

View File

@ -147,6 +147,9 @@ BattlePassStorage:
stored: StoredBattlePassTodayQuest stored: StoredBattlePassTodayQuest
Assignment: Assignment:
WhenEventAssignmentsArePresent:
value: event_first
option: [event_first, do_not_participate]
# Options in Name_x will be injected in config updater # Options in Name_x will be injected in config updater
Name_1: Name_1:
value: Nameless_Land_Nameless_People value: Nameless_Land_Nameless_People

View File

@ -96,6 +96,7 @@ class GeneratedConfig:
BattlePassStorage_BattlePassTodayQuest = {} BattlePassStorage_BattlePassTodayQuest = {}
# Group `Assignment` # Group `Assignment`
Assignment_WhenEventAssignmentsArePresent = 'event_first' # event_first, do_not_participate
Assignment_Name_1 = 'Nameless_Land_Nameless_People' # Nine_Billion_Names, Destruction_of_the_Destroyer, Winter_Soldiers, Born_to_Obey, Root_Out_the_Turpitude, Fire_Lord_Inflames_Blades_of_War, Nameless_Land_Nameless_People, Akashic_Records, The_Invisible_Hand, Abandoned_and_Insulted, Spring_of_Life, The_Land_of_Gold, The_Blossom_in_the_Storm, Legend_of_the_Puppet_Master, The_Wages_of_Humanity Assignment_Name_1 = 'Nameless_Land_Nameless_People' # Nine_Billion_Names, Destruction_of_the_Destroyer, Winter_Soldiers, Born_to_Obey, Root_Out_the_Turpitude, Fire_Lord_Inflames_Blades_of_War, Nameless_Land_Nameless_People, Akashic_Records, The_Invisible_Hand, Abandoned_and_Insulted, Spring_of_Life, The_Land_of_Gold, The_Blossom_in_the_Storm, Legend_of_the_Puppet_Master, The_Wages_of_Humanity
Assignment_Name_2 = 'Akashic_Records' # Nine_Billion_Names, Destruction_of_the_Destroyer, Winter_Soldiers, Born_to_Obey, Root_Out_the_Turpitude, Fire_Lord_Inflames_Blades_of_War, Nameless_Land_Nameless_People, Akashic_Records, The_Invisible_Hand, Abandoned_and_Insulted, Spring_of_Life, The_Land_of_Gold, The_Blossom_in_the_Storm, Legend_of_the_Puppet_Master, The_Wages_of_Humanity Assignment_Name_2 = 'Akashic_Records' # Nine_Billion_Names, Destruction_of_the_Destroyer, Winter_Soldiers, Born_to_Obey, Root_Out_the_Turpitude, Fire_Lord_Inflames_Blades_of_War, Nameless_Land_Nameless_People, Akashic_Records, The_Invisible_Hand, Abandoned_and_Insulted, Spring_of_Life, The_Land_of_Gold, The_Blossom_in_the_Storm, Legend_of_the_Puppet_Master, The_Wages_of_Humanity
Assignment_Name_3 = 'The_Invisible_Hand' # Nine_Billion_Names, Destruction_of_the_Destroyer, Winter_Soldiers, Born_to_Obey, Root_Out_the_Turpitude, Fire_Lord_Inflames_Blades_of_War, Nameless_Land_Nameless_People, Akashic_Records, The_Invisible_Hand, Abandoned_and_Insulted, Spring_of_Life, The_Land_of_Gold, The_Blossom_in_the_Storm, Legend_of_the_Puppet_Master, The_Wages_of_Humanity Assignment_Name_3 = 'The_Invisible_Hand' # Nine_Billion_Names, Destruction_of_the_Destroyer, Winter_Soldiers, Born_to_Obey, Root_Out_the_Turpitude, Fire_Lord_Inflames_Blades_of_War, Nameless_Land_Nameless_People, Akashic_Records, The_Invisible_Hand, Abandoned_and_Insulted, Spring_of_Life, The_Land_of_Gold, The_Blossom_in_the_Storm, Legend_of_the_Puppet_Master, The_Wages_of_Humanity

View File

@ -613,6 +613,12 @@
"name": "Assignment Settings", "name": "Assignment Settings",
"help": "Claim rewards and dispatch, handling specified assignments first\nIf the assignment limit is not reached after that, others will be dispatched according to preset priority (EXP Materials/Credits → Character Materials → Synthesis Materials)" "help": "Claim rewards and dispatch, handling specified assignments first\nIf the assignment limit is not reached after that, others will be dispatched according to preset priority (EXP Materials/Credits → Character Materials → Synthesis Materials)"
}, },
"WhenEventAssignmentsArePresent": {
"name": "When Event Assignments are Present",
"help": "",
"event_first": "Complete Event Assignments First",
"do_not_participate": "Dont Participate in Event"
},
"Name_1": { "Name_1": {
"name": "Assignment 1 Preference", "name": "Assignment 1 Preference",
"help": "", "help": "",

View File

@ -613,6 +613,12 @@
"name": "依頼設定", "name": "依頼設定",
"help": "" "help": ""
}, },
"WhenEventAssignmentsArePresent": {
"name": "Assignment.WhenEventAssignmentsArePresent.name",
"help": "Assignment.WhenEventAssignmentsArePresent.help",
"event_first": "event_first",
"do_not_participate": "do_not_participate"
},
"Name_1": { "Name_1": {
"name": "依頼 1", "name": "依頼 1",
"help": "", "help": "",

View File

@ -613,6 +613,12 @@
"name": "委托设置", "name": "委托设置",
"help": "领取奖励并派遣,优先处理指定委托\n若处理指定委托之后未达到上限则按经验材料 → 角色专属素材 → 合成材料的顺序来派遣委托" "help": "领取奖励并派遣,优先处理指定委托\n若处理指定委托之后未达到上限则按经验材料 → 角色专属素材 → 合成材料的顺序来派遣委托"
}, },
"WhenEventAssignmentsArePresent": {
"name": "有特别委托活动时",
"help": "",
"event_first": "优先活动委托",
"do_not_participate": "不参加活动"
},
"Name_1": { "Name_1": {
"name": "第1个委托选择", "name": "第1个委托选择",
"help": "", "help": "",

View File

@ -613,6 +613,12 @@
"name": "委託設定", "name": "委託設定",
"help": "領取獎勵並派遣,優先處理指定委託\n若處理指定委託之後未達到上限則按經驗材料 → 角色專屬素材 → 合成材料的順序來派遣委託" "help": "領取獎勵並派遣,優先處理指定委託\n若處理指定委託之後未達到上限則按經驗材料 → 角色專屬素材 → 合成材料的順序來派遣委託"
}, },
"WhenEventAssignmentsArePresent": {
"name": "有特別委託活動時",
"help": "",
"event_first": "優先活動委託",
"do_not_participate": "不參加活動"
},
"Name_1": { "Name_1": {
"name": "第1個委託選擇", "name": "第1個委託選擇",
"help": "", "help": "",