Skip to content

Commit

Permalink
feat: 新增魔精收菜可选。 (#219)
Browse files Browse the repository at this point in the history
feat: 新增魔精收菜可选,默认收取。
fix: 修复领取奖励的问题。

GUI暂不可用
  • Loading branch information
a16797 authored Oct 14, 2024
1 parent 2a6b9eb commit 2d7d7a5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
25 changes: 24 additions & 1 deletion assets/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
},
{
"name": "收取荒原",
"entry": "Wilderness"
"entry": "Wilderness",
"option": [
"魔精收菜"
]
},
{
"name": "每日心相(意志解析)",
Expand Down Expand Up @@ -885,6 +888,26 @@
}
]
},
"魔精收菜": {
"cases": [
{
"name": "Yes",
"pipeline_override": {
"EnterProduct": {
"enabled": true
}
}
},
{
"name": "No",
"pipeline_override": {
"EnterProduct": {
"enabled": false
}
}
}
]
},
"模式选择": {
"cases": [
{
Expand Down
3 changes: 2 additions & 1 deletion assets/resource/base/pipeline/awards.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
"next": [
"Sub_CollectDailyAwards",
"Sub_ObtainedAwards",
"WeeklyAwardsBadge"
"WeeklyAwardsBadge",
"Sub_BackButton"
]
},
"Sub_CollectDailyAwards": {
Expand Down
1 change: 1 addition & 0 deletions assets/resource/base/pipeline/wilderness.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
]
},
"EnterProduct": {
"enabled": true,
"recognition": "OCR",
"expected": [
"生产"
Expand Down

0 comments on commit 2d7d7a5

Please sign in to comment.