{
    "CollapsedTianshiPillarJob": {
        "desc": "倒塌的天师桩任务",
        "max_hit": 1,
        "recognition": "And",
        "all_of": [
            "CheckCollapsedTianshiPillarText",
            "CheckCollapsedTianshiPillarIcon",
            "CheckCollapsedTianshiPillarReadyText"
        ],
        "pre_delay": 0,
        "post_delay": 0,
        "next": [
            "AcceptCollapsedTianshiPillar",
            "GoToCollapsedTianshiPillarMission"
        ]
    },
    "CheckCollapsedTianshiPillarText": {
        "desc": "检查是否有倒塌的天师桩文本",
        "recognition": "OCR",
        "roi": [
            63,
            208,
            1158,
            71
        ],
        "expected": [
            "倒塌的天师桩",
            "倒塌的天師樁",
            "(?i)Collapsed\\s*Tianshi\\s*Pillar",
            "倒れた天師杭",
            "무너진 천사장"
        ],
        "order_by": "Vertical"
    },
    "CheckCollapsedTianshiPillarIcon": {
        "desc": "检查倒塌的天师桩文本下方的图标",
        "recognition": "TemplateMatch",
        "roi": "CheckCollapsedTianshiPillarText",
        "roi_offset": [
            -18,
            0,
            0,
            28
        ],
        "template": "EnvironmentMonitoring/PhotoIcon.png",
        "threshold": 0.8
    },
    "CheckCollapsedTianshiPillarReadyText": {
        "desc": "检查倒塌的天师桩委托是否准备好",
        "recognition": "OCR",
        "roi": "CheckCollapsedTianshiPillarIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "接取委托",
            "接取委託",
            "(?i)Accept\\s*Job",
            "引き受ける",
            "前往任务",
            "前往任務",
            "(?i)Go\\s*to\\s*Mission",
            "任務へ",
            "의뢰 수령",
            "임무로 이동하기"
        ]
    },
    "CheckCollapsedTianshiPillarJob": {
        "desc": "检查倒塌的天师桩委托是否可以接取",
        "recognition": "OCR",
        "roi": "CheckCollapsedTianshiPillarIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "接取委托",
            "接取委託",
            "(?i)Accept\\s*Job",
            "引き受ける",
            "의뢰 수령"
        ]
    },
    "CheckCollapsedTianshiPillarGoToMissionText": {
        "desc": "检查倒塌的天师桩委托是否可以前往",
        "recognition": "OCR",
        "roi": "CheckCollapsedTianshiPillarIcon",
        "roi_offset": [
            -14,
            332,
            359,
            76
        ],
        "expected": [
            "前往任务",
            "前往任務",
            "(?i)Go\\s*to\\s*Mission",
            "任務へ",
            "임무로 이동하기"
        ]
    },
    "InCollapsedTianshiPillarMission": {
        "desc": "是否在倒塌的天师桩任务界面",
        "recognition": "OCR",
        "roi": [
            415,
            50,
            855,
            241
        ],
        "expected": [
            "倒塌的天师桩",
            "倒塌的天師樁",
            "(?i)Collapsed\\s*Tianshi\\s*Pillar",
            "倒れた天師杭",
            "무너진 천사장"
        ]
    },
    "AcceptCollapsedTianshiPillar": {
        "desc": "接取倒塌的天师桩委托",
        "recognition": "And",
        "all_of": [
            "CheckCollapsedTianshiPillarText",
            "CheckCollapsedTianshiPillarIcon",
            "CheckCollapsedTianshiPillarJob"
        ],
        "box_index": 2,
        "action": "Click",
        "next": [
            "GoToCollapsedTianshiPillarMission"
        ]
    },
    "GoToCollapsedTianshiPillarMission": {
        "desc": "前往倒塌的天师桩任务",
        "recognition": "And",
        "all_of": [
            "CheckCollapsedTianshiPillarText",
            "CheckCollapsedTianshiPillarIcon",
            "CheckCollapsedTianshiPillarGoToMissionText"
        ],
        "box_index": 2,
        "action": "Click",
        "next": [
            "CollapsedTianshiPillarTrackOrGoTo"
        ]
    },
    "CollapsedTianshiPillarTrackOrGoTo": {
        "desc": "在倒塌的天师桩任务中，如果有开始追踪的按钮就点击追踪，没有就直接前往",
        "recognition": "And",
        "all_of": [
            "InCollapsedTianshiPillarMission"
        ],
        "next": [
            "TrackCollapsedTianshiPillar",
            "GoToCollapsedTianshiPillar"
        ]
    },
    "TrackCollapsedTianshiPillar": {
        "desc": "追踪倒塌的天师桩任务",
        "recognition": "And",
        "all_of": [
            "TrackMissionButton",
            "InCollapsedTianshiPillarMission"
        ],
        "action": "Click",
        "next": [
            "GoToCollapsedTianshiPillar"
        ]
    },
    "GoToCollapsedTianshiPillar": {
        "desc": "前往倒塌的天师桩，先回到大世界再进行判断",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneAnyEnterWorld"
            ]
        },
        "next": [
            "GoToCollapsedTianshiPillarStartPos",
            "GoToCollapsedTianshiPillarNotAtStartPos"
        ]
    },
    "GoToCollapsedTianshiPillarStartPos": {
        "desc": "在倒塌的天师桩任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv001",
                    "target": [
                        210,
                        635,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToCollapsedTianshiPillarMapTrackerMove"
        ]
    },
    "GoToCollapsedTianshiPillarNotAtStartPos": {
        "desc": "不在倒塌的天师桩任务开始位置附近，先传送再复核落点",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneEnterWorldWulingJingyuValley8"
            ]
        },
        "next": [
            "GoToCollapsedTianshiPillarRecheckStartPos",
            "GoToCollapsedTianshiPillarReEnterMap"
        ]
    },
    "GoToCollapsedTianshiPillarRecheckStartPos": {
        "desc": "传送后再次检查是否已在倒塌的天师桩任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv001",
                    "target": [
                        210,
                        635,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToCollapsedTianshiPillarMapTrackerMove"
        ]
    },
    "GoToCollapsedTianshiPillarReEnterMap": {
        "desc": "传送后仍未到达倒塌的天师桩任务开始位置附近，重试一次传送",
        "action": "Custom",
        "custom_action": "SubTask",
        "custom_action_param": {
            "sub": [
                "SceneEnterWorldWulingJingyuValley8"
            ]
        },
        "next": [
            "GoToCollapsedTianshiPillarFinalCheckStartPos",
            "GoToCollapsedTianshiPillarStartPosFailed"
        ]
    },
    "GoToCollapsedTianshiPillarFinalCheckStartPos": {
        "desc": "二次传送后再次检查是否已在倒塌的天师桩任务开始位置附近",
        "recognition": "Custom",
        "custom_recognition": "MapTrackerAssertLocation",
        "custom_recognition_param": {
            "expected": [
                {
                    "map_name": "map02_lv001",
                    "target": [
                        210,
                        635,
                        15,
                        15
                    ]
                }
            ]
        },
        "next": [
            "GoToCollapsedTianshiPillarMapTrackerMove"
        ]
    },
    "GoToCollapsedTianshiPillarStartPosFailed": {
        "desc": "倒塌的天师桩传送后仍未到达预期起点，结束当前子任务"
    },
    "GoToCollapsedTianshiPillarMapTrackerMove": {
        "desc": "前往倒塌的天师桩",
        "action": "Custom",
        "custom_action": "MapTrackerMove",
        "custom_action_param": {
            "map_name": "map02_lv001",
            "path": [
                [
                    213,
                    632
                ],
                [
                    191,
                    616
                ],
                [
                    186,
                    621
                ],
                [
                    180,
                    618
                ]
            ]
        },
        "anchor": {
            "EnvironmentMonitoringBactToTerminal": "SceneEnterMenuRegionalDevelopmentWulingEnvironmentMonitoring",
            "EnvironmentMonitoringAdjustCamera": "CollapsedTianshiPillarAdjustCamera"
        },
        "next": [
            "EnvironmentMonitoringTakePhoto"
        ]
    },
    "CollapsedTianshiPillarAdjustCamera": {
        "desc": "倒塌的天师桩任务中调整朝向",
        "max_hit": 2,
        "next": [
            "EnvironmentMonitoringSwipeScreenUp"
        ]
    }
}
