{
    "IndoorCropsJob": {
        "desc": "室内作物任务",
        "max_hit": 1,
        "recognition": "And",
        "all_of": [
            "CheckIndoorCropsText",
            "CheckIndoorCropsIcon",
            "CheckIndoorCropsReadyText"
        ],
        "pre_delay": 0,
        "post_delay": 0,
        "next": [
            "AcceptIndoorCrops",
            "GoToIndoorCropsMission"
        ]
    },
    "CheckIndoorCropsText": {
        "desc": "检查是否有室内作物文本",
        "recognition": "OCR",
        "roi": [
            63,
            208,
            1158,
            71
        ],
        "expected": [
            "室内作物",
            "室內作物",
            "(?i)Indoor\\s*Crops",
            "室内の作物",
            "실내 작물"
        ],
        "order_by": "Vertical"
    },
    "CheckIndoorCropsIcon": {
        "desc": "检查室内作物文本下方的图标",
        "recognition": "TemplateMatch",
        "roi": "CheckIndoorCropsText",
        "roi_offset": [
            -18,
            0,
            0,
            28
        ],
        "template": "EnvironmentMonitoring/PhotoIcon.png",
        "threshold": 0.8
    },
    "CheckIndoorCropsReadyText": {
        "desc": "检查室内作物委托是否准备好",
        "recognition": "OCR",
        "roi": "CheckIndoorCropsIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "接取委托",
            "接取委託",
            "(?i)Accept\\s*Job",
            "引き受ける",
            "前往任务",
            "前往任務",
            "(?i)Go\\s*to\\s*Mission",
            "任務へ",
            "의뢰 수령",
            "임무로 이동하기"
        ]
    },
    "CheckIndoorCropsJob": {
        "desc": "检查室内作物委托是否可以接取",
        "recognition": "OCR",
        "roi": "CheckIndoorCropsIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "接取委托",
            "接取委託",
            "(?i)Accept\\s*Job",
            "引き受ける",
            "의뢰 수령"
        ]
    },
    "CheckIndoorCropsGoToMissionText": {
        "desc": "检查室内作物委托是否可以前往",
        "recognition": "OCR",
        "roi": "CheckIndoorCropsIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "前往任务",
            "前往任務",
            "(?i)Go\\s*to\\s*Mission",
            "任務へ",
            "임무로 이동하기"
        ]
    },
    "InIndoorCropsMission": {
        "desc": "是否在室内作物任务界面",
        "recognition": "OCR",
        "roi": [
            415,
            50,
            855,
            241
        ],
        "expected": [
            "室内培育",
            "室內培育",
            "(?i)Growing\\s*Crop",
            "室内栽培の作物",
            "실내 재배하고 있는 작물을 촬영하기"
        ]
    },
    "AcceptIndoorCrops": {
        "desc": "接取室内作物委托",
        "recognition": "And",
        "all_of": [
            "CheckIndoorCropsText",
            "CheckIndoorCropsIcon",
            "CheckIndoorCropsJob"
        ],
        "box_index": 2,
        "action": "Click",
        "next": [
            "GoToIndoorCropsMission"
        ]
    },
    "GoToIndoorCropsMission": {
        "desc": "前往室内作物任务",
        "recognition": "And",
        "all_of": [
            "CheckIndoorCropsText",
            "CheckIndoorCropsIcon",
            "CheckIndoorCropsGoToMissionText"
        ],
        "box_index": 2,
        "action": "Click",
        "next": [
            "IndoorCropsTrackOrGoTo"
        ]
    },
    "IndoorCropsTrackOrGoTo": {
        "desc": "在室内作物任务中，如果有开始追踪的按钮就点击追踪，没有就直接前往",
        "recognition": "And",
        "all_of": [
            "InIndoorCropsMission"
        ],
        "next": [
            "TrackIndoorCrops",
            "GoToIndoorCrops"
        ]
    },
    "TrackIndoorCrops": {
        "desc": "追踪室内作物任务",
        "recognition": "And",
        "all_of": [
            "TrackMissionButton",
            "InIndoorCropsMission"
        ],
        "action": "Click",
        "next": [
            "GoToIndoorCrops"
        ]
    },
    "GoToIndoorCrops": {
        "desc": "前往室内作物，先回到大世界再进行判断",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneAnyEnterWorld"
            ]
        },
        "next": [
            "GoToIndoorCropsStartPos",
            "GoToIndoorCropsNotAtStartPos"
        ]
    },
    "GoToIndoorCropsStartPos": {
        "desc": "在室内作物任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv002",
                    "target": [
                        240,
                        695,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToIndoorCropsMapTrackerMove"
        ]
    },
    "GoToIndoorCropsNotAtStartPos": {
        "desc": "不在室内作物任务开始位置附近，先传送再复核落点",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneEnterWorldWulingWulingCity4"
            ]
        },
        "next": [
            "GoToIndoorCropsRecheckStartPos",
            "GoToIndoorCropsReEnterMap"
        ]
    },
    "GoToIndoorCropsRecheckStartPos": {
        "desc": "传送后再次检查是否已在室内作物任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv002",
                    "target": [
                        240,
                        695,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToIndoorCropsMapTrackerMove"
        ]
    },
    "GoToIndoorCropsReEnterMap": {
        "desc": "传送后仍未到达室内作物任务开始位置附近，重试一次传送",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneEnterWorldWulingWulingCity4"
            ]
        },
        "next": [
            "GoToIndoorCropsFinalCheckStartPos",
            "GoToIndoorCropsStartPosFailed"
        ]
    },
    "GoToIndoorCropsFinalCheckStartPos": {
        "desc": "二次传送后再次检查是否已在室内作物任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv002",
                    "target": [
                        240,
                        695,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToIndoorCropsMapTrackerMove"
        ]
    },
    "GoToIndoorCropsStartPosFailed": {
        "desc": "室内作物传送后仍未到达预期起点，结束当前子任务"
    },
    "GoToIndoorCropsMapTrackerMove": {
        "desc": "前往室内作物",
        "action": "Custom",
        "custom_action": "MapTrackerMove",
        "custom_action_param": {
            "map_name": "map02_lv002",
            "path": [
                [
                    237,
                    703
                ],
                [
                    219,
                    705
                ],
                [
                    214,
                    716
                ],
                [
                    211,
                    727
                ],
                [
                    198,
                    729
                ],
                [
                    195,
                    721
                ],
                [
                    187,
                    721
                ],
                [
                    190,
                    729
                ]
            ]
        },
        "anchor": {
            "EnvironmentMonitoringBactToTerminal": "SceneEnterMenuRegionalDevelopmentWulingEnvironmentMonitoring",
            "EnvironmentMonitoringAdjustCamera": "IndoorCropsAdjustCamera"
        },
        "next": [
            "EnvironmentMonitoringTakePhoto"
        ]
    },
    "IndoorCropsAdjustCamera": {
        "desc": "室内作物任务中调整朝向",
        "max_hit": 2,
        "next": [
            "EnvironmentMonitoringSwipeScreenUp"
        ]
    }
}
