{
    "Wuling2FourthValley": {
        "desc": "武陵回四号谷地",
        "recognition": "Or",
        "any_of": [
            "ChangeRegionButton"
        ],
        "action": "DoNothing",
        "next": [
            "WulingToFourthValleyDone",
            "[JumpBack]GoToValleyIV"
        ]
    },
    "WulingToFourthValleyDone": {
        "desc": "已切换到四号谷地",
        "recognition": "Or",
        "any_of": [
            "InRegionalDevelopmentValleyIV"
        ],
        "action": "DoNothing",
        "next": [
            "ResellStageEnterStore",
            "ResellStageCheckArea"
        ]
    },
    "ChangeNextRegionPrepare": {
        "desc": "确保当前在地区建设界面后切换下一个地区",
        "recognition": "DirectHit",
        "action": "DoNothing",
        "post_wait_freezes": 300,
        "next": [
            "ChangeNextRegionInManagement",
            "[JumpBack]ResellCheckInWorld1",
            "[JumpBack]ResellCheckInWorld2",
            "[JumpBack]ResellEscGoBack"
        ]
    },
    "ChangeNextRegionInManagement": {
        "desc": "已在地区建设界面，继续切换地区",
        "recognition": "Or",
        "any_of": [
            "IncomeReportButton"
        ],
        "pre_wait_freezes": 300,
        "action": "DoNothing",
        "next": [
            "ChangeNextRegion"
        ]
    },
    "ResellCheckInWorld1": {
        "desc": "在大世界(模板1)，按Y进入地区建设",
        "recognition": "TemplateMatch",
        "roi": [
            172,
            0,
            133,
            118
        ],
        "template": "Resell/inGame1.png",
        "threshold": 0.8,
        "action": "ClickKey",
        "key": 89,
        "post_wait_freezes": 300
    },
    "ResellCheckInWorld2": {
        "desc": "在大世界(模板2)，按Y进入地区建设",
        "recognition": "TemplateMatch",
        "roi": [
            1182,
            0,
            98,
            128
        ],
        "template": "Resell/inGame2.png",
        "threshold": 0.8,
        "action": "ClickKey",
        "key": 89,
        "post_wait_freezes": 300
    },
    "ResellEscGoBack": {
        "desc": "未在地区建设界面，点击关闭按钮返回",
        "recognition": "Or",
        "any_of": [
            "CloseButtonType1"
        ],
        "action": "Click"
    },
    "ChangeNextRegion": {
        "desc": "更换到下一个地区",
        "recognition": "Or",
        "any_of": [
            "ChangeRegionButton"
        ],
        "action": "DoNothing",
        "next": [
            "LastAreaFinished",
            "ChangeNextRegionToWuling",
            "[JumpBack]ChangeRegionButton"
        ]
    },
    "ChangeNextRegionToWuling": {
        "desc": "切换到武陵继续售卖",
        "recognition": "Or",
        "any_of": [
            "InRegionalDevelopmentValleyIV"
        ],
        "action": "DoNothing",
        "next": [
            "ChangeNextRegionDone",
            "[JumpBack]GoToWuling"
        ]
    },
    "ChangeNextRegionDone": {
        "desc": "已切换到武陵",
        "recognition": "Or",
        "any_of": [
            "InRegionalDevelopmentWuling"
        ],
        "action": "DoNothing",
        "next": [
            "ResellStageEnterStore",
            "ResellStageCheckArea"
        ]
    },
    "LastAreaFinished": {
        "desc": "所有地区均已完成，结束售卖流程",
        "recognition": "And",
        "all_of": [
            {
                "sub_name": "武陵字样的位置",
                "recognition": "OCR",
                "roi": [
                    714,
                    218,
                    36,
                    21
                ],
                "threshold": 0.8
            },
            {
                "sub_name": "当前查看地区字样的位置",
                "recognition": "OCR",
                "roi": [
                    648,
                    149,
                    83,
                    19
                ]
            }
        ],
        "action": "DoNothing",
        "next": [],
        "focus": {
            "Node.Action.Starting": "所有地区均已完成"
        }
    }
}
