{
    "CisternOriginiumSlugsJob": {
        "desc": "蓄水源石虫任务",
        "max_hit": 1,
        "recognition": "And",
        "all_of": [
            "CheckCisternOriginiumSlugsText",
            "CheckCisternOriginiumSlugsIcon",
            "CheckCisternOriginiumSlugsReadyText"
        ],
        "pre_delay": 0,
        "post_delay": 0,
        "next": [
            "AcceptCisternOriginiumSlugs",
            "GoToCisternOriginiumSlugsMission"
        ]
    },
    "CheckCisternOriginiumSlugsText": {
        "desc": "检查是否有蓄水源石虫文本",
        "recognition": "OCR",
        "roi": [
            63,
            208,
            1158,
            71
        ],
        "expected": [
            "蓄水源石虫",
            "蓄水源石蟲",
            "(?i)Cistern\\s*Originium\\s*Slugs",
            "貯水オリジムシ",
            "저수 원석충"
        ],
        "order_by": "Vertical"
    },
    "CheckCisternOriginiumSlugsIcon": {
        "desc": "检查蓄水源石虫文本下方的图标",
        "recognition": "TemplateMatch",
        "roi": "CheckCisternOriginiumSlugsText",
        "roi_offset": [
            -18,
            0,
            0,
            28
        ],
        "template": "EnvironmentMonitoring/PhotoIcon.png",
        "threshold": 0.8
    },
    "CheckCisternOriginiumSlugsReadyText": {
        "desc": "检查蓄水源石虫委托是否准备好",
        "recognition": "OCR",
        "roi": "CheckCisternOriginiumSlugsIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "接取委托",
            "接取委託",
            "(?i)Accept\\s*Job",
            "引き受ける",
            "前往任务",
            "前往任務",
            "(?i)Go\\s*to\\s*Mission",
            "任務へ",
            "의뢰 수령",
            "임무로 이동하기"
        ]
    },
    "CheckCisternOriginiumSlugsJob": {
        "desc": "检查蓄水源石虫委托是否可以接取",
        "recognition": "OCR",
        "roi": "CheckCisternOriginiumSlugsIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "接取委托",
            "接取委託",
            "(?i)Accept\\s*Job",
            "引き受ける",
            "의뢰 수령"
        ]
    },
    "CheckCisternOriginiumSlugsGoToMissionText": {
        "desc": "检查蓄水源石虫委托是否可以前往",
        "recognition": "OCR",
        "roi": "CheckCisternOriginiumSlugsIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "前往任务",
            "前往任務",
            "(?i)Go\\s*to\\s*Mission",
            "任務へ",
            "임무로 이동하기"
        ]
    },
    "InCisternOriginiumSlugsMission": {
        "desc": "是否在蓄水源石虫任务界面",
        "recognition": "OCR",
        "roi": [
            415,
            50,
            855,
            241
        ],
        "expected": [
            "蓄水源石虫",
            "蓄水源石蟲",
            "(?i)Cistern\\s*Originium\\s*Slugs",
            "貯水オリジムシ",
            "저수 원석충"
        ]
    },
    "AcceptCisternOriginiumSlugs": {
        "desc": "接取蓄水源石虫委托",
        "recognition": "And",
        "all_of": [
            "CheckCisternOriginiumSlugsText",
            "CheckCisternOriginiumSlugsIcon",
            "CheckCisternOriginiumSlugsJob"
        ],
        "box_index": 2,
        "action": "Click",
        "next": [
            "GoToCisternOriginiumSlugsMission"
        ]
    },
    "GoToCisternOriginiumSlugsMission": {
        "desc": "前往蓄水源石虫任务",
        "recognition": "And",
        "all_of": [
            "CheckCisternOriginiumSlugsText",
            "CheckCisternOriginiumSlugsIcon",
            "CheckCisternOriginiumSlugsGoToMissionText"
        ],
        "box_index": 2,
        "action": "Click",
        "next": [
            "CisternOriginiumSlugsTrackOrGoTo"
        ]
    },
    "CisternOriginiumSlugsTrackOrGoTo": {
        "desc": "在蓄水源石虫任务中，如果有开始追踪的按钮就点击追踪，没有就直接前往",
        "recognition": "And",
        "all_of": [
            "InCisternOriginiumSlugsMission"
        ],
        "next": [
            "TrackCisternOriginiumSlugs",
            "GoToCisternOriginiumSlugs"
        ]
    },
    "TrackCisternOriginiumSlugs": {
        "desc": "追踪蓄水源石虫任务",
        "recognition": "And",
        "all_of": [
            "TrackMissionButton",
            "InCisternOriginiumSlugsMission"
        ],
        "action": "Click",
        "next": [
            "GoToCisternOriginiumSlugs"
        ]
    },
    "GoToCisternOriginiumSlugs": {
        "desc": "前往蓄水源石虫，先回到大世界再进行判断",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneAnyEnterWorld"
            ]
        },
        "next": [
            "GoToCisternOriginiumSlugsStartPos",
            "GoToCisternOriginiumSlugsNotAtStartPos"
        ]
    },
    "GoToCisternOriginiumSlugsStartPos": {
        "desc": "在蓄水源石虫任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv001",
                    "target": [
                        280,
                        580,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToCisternOriginiumSlugsMapTrackerMove"
        ]
    },
    "GoToCisternOriginiumSlugsNotAtStartPos": {
        "desc": "不在蓄水源石虫任务开始位置附近，先传送再复核落点",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneEnterWorldWulingJingyuValley7"
            ]
        },
        "next": [
            "GoToCisternOriginiumSlugsRecheckStartPos",
            "GoToCisternOriginiumSlugsReEnterMap"
        ]
    },
    "GoToCisternOriginiumSlugsRecheckStartPos": {
        "desc": "传送后再次检查是否已在蓄水源石虫任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv001",
                    "target": [
                        280,
                        580,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToCisternOriginiumSlugsMapTrackerMove"
        ]
    },
    "GoToCisternOriginiumSlugsReEnterMap": {
        "desc": "传送后仍未到达蓄水源石虫任务开始位置附近，重试一次传送",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneEnterWorldWulingJingyuValley7"
            ]
        },
        "next": [
            "GoToCisternOriginiumSlugsFinalCheckStartPos",
            "GoToCisternOriginiumSlugsStartPosFailed"
        ]
    },
    "GoToCisternOriginiumSlugsFinalCheckStartPos": {
        "desc": "二次传送后再次检查是否已在蓄水源石虫任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv001",
                    "target": [
                        280,
                        580,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToCisternOriginiumSlugsMapTrackerMove"
        ]
    },
    "GoToCisternOriginiumSlugsStartPosFailed": {
        "desc": "蓄水源石虫传送后仍未到达预期起点，结束当前子任务"
    },
    "GoToCisternOriginiumSlugsMapTrackerMove": {
        "desc": "前往蓄水源石虫",
        "action": "Custom",
        "custom_action": "MapTrackerMove",
        "custom_action_param": {
            "map_name": "map02_lv001",
            "path": [
                [
                    291,
                    582
                ],
                [
                    298,
                    576
                ],
                [
                    306,
                    578
                ],
                [
                    309,
                    593
                ],
                [
                    318,
                    593
                ]
            ]
        },
        "anchor": {
            "EnvironmentMonitoringBactToTerminal": "SceneEnterMenuRegionalDevelopmentWulingEnvironmentMonitoring",
            "EnvironmentMonitoringAdjustCamera": "CisternOriginiumSlugsAdjustCamera"
        },
        "next": [
            "EnvironmentMonitoringTakePhoto"
        ]
    },
    "CisternOriginiumSlugsAdjustCamera": {
        "desc": "蓄水源石虫任务中调整朝向",
        "max_hit": 2,
        "next": [
            "EnvironmentMonitoringSwipeScreenRight"
        ]
    }
}
