Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 99 additions & 1 deletion assets/resource/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
},
{
"name": "武器制造",
"entry": "weapons-fabricate"
"entry": "weapons-fabricate",
"option": [
"订单等级",
"制造数量"
]
},
{
"name": "和合",
Expand Down Expand Up @@ -882,6 +886,100 @@
}
}
]
},
"订单等级": {
"cases": [
{
"name": "高级",
"pipeline_override": {
"weapons-fabricate-job": {
"next": [
"senior-orders-add",
"weapons-fabricate-job"
]
}
}
},
{
"name": "绝密",
"pipeline_override": {
"weapons-fabricate-job": {
"next": [
"confidential-orders-add",
"weapons-fabricate-job"
]
}
}
}
]
},
"制造数量": {
"cases": [
{
"name": "1",
"pipeline_override": {
"weapons-fabricate-job": {
"next": [
"orders-add",
"weapons-fabricate-job"
]
},
"weapons-fabricate-quit-two-add": {
"next": [
"weapons-fabricate-add-1"
]
}
}
},
{
"name": "2",
"pipeline_override": {
"weapons-fabricate-job": {
"next": [
"orders-add",
"weapons-fabricate-job"
]
},
"weapons-fabricate-quit-two-add": {
"next": [
"weapons-fabricate-add-2"
]
}
}
},
{
"name": "3",
"pipeline_override": {
"weapons-fabricate-job": {
"next": [
"orders-add",
"weapons-fabricate-job"
]
},
"weapons-fabricate-quit-two-add": {
"next": [
"weapons-fabricate-add-3"
]
}
}
},
{
"name": "4",
"pipeline_override": {
"weapons-fabricate-job": {
"next": [
"orders-add",
"weapons-fabricate-job"
]
},
"weapons-fabricate-quit-two-add": {
"next": [
"weapons-fabricate-add-4"
]
}
}
}
]
}
},
"version": "v0.0.1"
Expand Down
158 changes: 156 additions & 2 deletions assets/resource_picli/base/pipeline/3_(9)_weapons_fabricate.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@
"senior-orders"
]
},
"senior-orders-add": {
"recognition": "OCR",
"expected": "高级",
"action": "Click",
"post_delay": 2000,
"target_offset": [
50,
30,
0,
0
],
"next": [
"orders-add"
]
},
"signed-contract": {
"recognition": "OCR",
"expected": "签订合同",
Expand Down Expand Up @@ -102,7 +117,7 @@
},
"weapons-fabricate-quit-Image": {
"recognition": "TemplateMatch",
"template": "Company\\29.png",
"template": "Company/29.png",
"action": "Click",
"target": [
1150,
Expand All @@ -122,6 +137,24 @@
"weapons-fabricate-quit-Image"
]
},
"weapons-fabricate-quit-Image-add": {
"recognition": "TemplateMatch",
"template": "Company/29.png",
"action": "Click",
"target": [
1150,
70,
0,
0
],
"post_delay": 2000,
"roi": [
1050,
0,
200,
190
]
},
"confidential-orders": {
"recognition": "OCR",
"expected": "绝密",
Expand All @@ -140,6 +173,27 @@
"confidential-orders"
]
},
"confidential-orders-add": {
"recognition": "OCR",
"expected": "绝密",
"action": "Click",
"post_delay": 2000,
"target_offset": [
50,
30,
0,
0
],
"next": [
"orders-add"
]
},
"orders-add": {
"post_delay": 2000,
"next": [
"weapons-fabricate-quit-two-add"
]
},
"signed-contract-two": {
"recognition": "OCR",
"expected": "签订合同",
Expand All @@ -157,6 +211,18 @@
"signed-contract-two"
]
},
"signed-contract-two-add": {
"recognition": "OCR",
"expected": "签订合同",
"action": "Click",
"post_delay": 2000,
"roi": [
835,
500,
400,
210
]
},
"weapons-fabricate-determine-three": {
"recognition": "OCR",
"expected": "确定",
Expand All @@ -174,6 +240,18 @@
"weapons-fabricate-full"
]
},
"weapons-fabricate-determine-three-add": {
"recognition": "OCR",
"expected": "确定",
"action": "Click",
"post_delay": 2000,
"roi": [
655,
400,
260,
150
]
},
"weapons-fabricate-quit-two": {
"recognition": "OCR",
"expected": "等待生产",
Expand All @@ -188,6 +266,82 @@
"weapons-fabricate-home"
]
},
"weapons-fabricate-quit-two-add": {
"next": [
"weapons-fabricate-add-2"
],
"interrupt": [
"weapons-fabricate-quit-Image-add",
"weapons-fabricate-determine-three-add",
"signed-contract-two-add",
"weapons-fabricate-quit-two-add"
]
},
"weapons-fabricate-add-1": {
"recognition": "OCR",
"expected": [
"1/1",
"1/2",
"1/3",
"1/4"
],
"roi": [
439,
584,
197,
40
],
"next": [
"weapons-fabricate-home"
]
},
"weapons-fabricate-add-2": {
"recognition": "OCR",
"expected": [
"2/2",
"2/3",
"2/4"
],
"roi": [
439,
584,
197,
40
],
"next": [
"weapons-fabricate-home"
]
},
"weapons-fabricate-add-3": {
"recognition": "OCR",
"expected": [
"3/4"
],
"roi": [
439,
584,
197,
40
],
"next": [
"weapons-fabricate-home"
]
},
"weapons-fabricate-add-4": {
"recognition": "OCR",
"expected": [
"4/4"
],
"roi": [
439,
584,
197,
40
],
"next": [
"weapons-fabricate-home"
]
},
"weapons-fabricate-lack": {
"recognition": "OCR",
"expected": "缺少所需",
Expand Down Expand Up @@ -217,7 +371,7 @@
},
"weapons-fabricate-home": {
"recognition": "TemplateMatch",
"template": "Startup\\10.png",
"template": "Startup/10.png",
"action": "Click"
}
}
Loading