1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 13:25:13 +00:00

feat(webui): add config of invitation options

This commit is contained in:
YoursFunny 2023-11-27 20:48:37 +08:00
parent b426c6caac
commit 8698fa20c2
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C
7 changed files with 92 additions and 0 deletions

View File

@ -45,6 +45,12 @@
"Touch": true, "Touch": true,
"AutoAdjust": true, "AutoAdjust": true,
"SecondCafe": true "SecondCafe": true
},
"Invitation": {
"Enable": true,
"Choice": "list_top",
"Name": null,
"Substitute": true
} }
}, },
"Circle": { "Circle": {

View File

@ -205,6 +205,28 @@
"type": "checkbox", "type": "checkbox",
"value": true "value": true
} }
},
"Invitation": {
"Enable": {
"type": "checkbox",
"value": true
},
"Choice": {
"type": "select",
"value": "list_top",
"option": [
"list_top",
"by_name"
]
},
"Name": {
"type": "textarea",
"value": null
},
"Substitute": {
"type": "checkbox",
"value": true
}
} }
}, },
"Circle": { "Circle": {

View File

@ -80,6 +80,15 @@ Cafe:
Touch: true Touch: true
AutoAdjust: true AutoAdjust: true
SecondCafe: true SecondCafe: true
Invitation:
Enable: true
Choice:
value: list_top
option: [ list_top, by_name ]
Name:
value: null
type: textarea
Substitute: true
Bounty: Bounty:
OnError: OnError:

View File

@ -25,6 +25,7 @@ Daily:
Cafe: Cafe:
- Scheduler - Scheduler
- Cafe - Cafe
- Invitation
Circle: Circle:
- Scheduler - Scheduler
Mail: Mail:

View File

@ -45,6 +45,12 @@ class GeneratedConfig:
Cafe_AutoAdjust = True Cafe_AutoAdjust = True
Cafe_SecondCafe = True Cafe_SecondCafe = True
# Group `Invitation`
Invitation_Enable = True
Invitation_Choice = 'list_top' # list_top, by_name
Invitation_Name = None
Invitation_Substitute = True
# Group `Bounty` # Group `Bounty`
Bounty_OnError = 'skip' # stop, skip Bounty_OnError = 'skip' # stop, skip

View File

@ -221,6 +221,30 @@
"help": "JP server only\nEnable auto switch to second floor and perform interaction" "help": "JP server only\nEnable auto switch to second floor and perform interaction"
} }
}, },
"Invitation": {
"_info": {
"name": "Invitation Settings",
"help": ""
},
"Enable": {
"name": "Enable",
"help": ""
},
"Choice": {
"name": "Choose Inviting Student",
"help": "",
"list_top": "Top first student of list",
"by_name": "By name"
},
"Name": {
"name": "Invited Student Name",
"help": "Fill in the name of the student to be invited. Use in-game text language. Use > to connect multiple students. Example:\nJP: ホシノ(水着) > 御坂美琴 > ユズ\nOVERSEA: Hoshino(Swimsuit) > Yuuka > Kayoko(New Year)"
},
"Substitute": {
"name": "Replace existing student",
"help": "!TO BE CHANGED!Whether to replace the existing student with another costume.\nIf not, try to match the next student"
}
},
"Bounty": { "Bounty": {
"_info": { "_info": {
"name": "Bounty Settings", "name": "Bounty Settings",

View File

@ -221,6 +221,30 @@
"help": "仅支持日服\n自动切换第二咖啡厅进行互动点击" "help": "仅支持日服\n自动切换第二咖啡厅进行互动点击"
} }
}, },
"Invitation": {
"_info": {
"name": "邀请设置",
"help": ""
},
"Enable": {
"name": "启用",
"help": ""
},
"Choice": {
"name": "选择被邀请学生",
"help": "",
"list_top": "按列表第一个",
"by_name": "按名字"
},
"Name": {
"name": "邀请学生名",
"help": "填写要邀请的学生的名字,使用游戏内语言填写,多个学生使用 > 连接。例:\n日服ホシ(水着) > 御坂美琴 > ユズ\n国际服Hoshino(Swimsuit) > Yuuka > Kayoko(New Year)"
},
"Substitute": {
"name": "是否替换已存在学生",
"help": "若咖啡厅已存在所邀请学生的不同服装,选择是否替换该学生\n若不替换则尝试匹配下一位学生"
}
},
"Bounty": { "Bounty": {
"_info": { "_info": {
"name": "悬赏通缉设置", "name": "悬赏通缉设置",