{
    "__ScenePrivateAnyEnterWorldSuccess": {
        "desc": "从任意界面进入大世界成功",
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    "InWorld"
                ]
            }
        },
        "pre_wait_freezes": {
            "target": [
                70,
                80,
                70,
                60
            ],
            "time": 800,
            "timeout": 2000
        },
        "pre_delay": 0,
        "post_delay": 0
    },
    "__ScenePrivateWorldFactoryDisableEnterFactoryActive": {
        "desc": "在大世界工厂模式不可用，例如战斗状态，进入工厂模式",
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    {
                        "recognition": {
                            "type": "TemplateMatch",
                            "param": {
                                "roi": [
                                    0,
                                    0,
                                    60,
                                    60
                                ],
                                "template": [
                                    "SceneManager/WorldFactoryDisable.png"
                                ]
                            }
                        }
                    },
                    {
                        "recognition": {
                            "type": "TemplateMatch",
                            "param": {
                                "roi": [
                                    -200,
                                    0,
                                    200,
                                    200
                                ],
                                "template": [
                                    "SceneManager/WorldMenu.png"
                                ],
                                "green_mask": true
                            }
                        }
                    }
                ]
            }
        },
        "next": [
            "__ScenePrivateAnyEnterWorldFactorySuccess",
            "__ScenePrivateWorldFactoryNotActiveEnterFactoryActive",
            "[JumpBack]__ScenePrivateWorldAnyEnterFactory"
        ]
    },
    "__ScenePrivateWorldFactoryNotActiveEnterFactoryActive": {
        "desc": "在大世界工厂模式未激活，进入工厂模式",
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    {
                        "recognition": {
                            "type": "TemplateMatch",
                            "param": {
                                "roi": [
                                    0,
                                    0,
                                    60,
                                    60
                                ],
                                "template": [
                                    "SceneManager/WorldFactoryNotActive.png"
                                ]
                            }
                        }
                    },
                    {
                        "recognition": {
                            "type": "TemplateMatch",
                            "param": {
                                "roi": [
                                    -200,
                                    0,
                                    200,
                                    200
                                ],
                                "template": [
                                    "SceneManager/WorldMenu.png"
                                ],
                                "green_mask": true
                            }
                        }
                    }
                ],
                "box_index": 0
            }
        },
        "action": {
            "type": "Custom",
            "param": {
                "custom_action": "AutoAltClickAction"
            }
        },
        "next": [
            "__ScenePrivateAnyEnterWorldFactorySuccess"
        ]
    },
    "__ScenePrivateWorldDijiangEnterFactoryActive": {
        "desc": "在大世界帝江号，进入工厂模式",
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    {
                        "recognition": {
                            "type": "TemplateMatch",
                            "param": {
                                "roi": [
                                    0,
                                    0,
                                    400,
                                    80
                                ],
                                "template": [
                                    "SceneManager/WorldDijiangMenu.png"
                                ],
                                "green_mask": true
                            }
                        }
                    },
                    {
                        "recognition": {
                            "type": "TemplateMatch",
                            "param": {
                                "roi": [
                                    -200,
                                    0,
                                    200,
                                    200
                                ],
                                "template": [
                                    "SceneManager/WorldMenu.png"
                                ],
                                "green_mask": true
                            }
                        }
                    }
                ]
            }
        },
        "next": [
            "__ScenePrivateAnyEnterWorldFactorySuccess",
            "__ScenePrivateWorldFactoryNotActiveEnterFactoryActive",
            "[JumpBack]__ScenePrivateWorldAnyEnterFactory"
        ]
    },
    "__ScenePrivateWorldAnyEnterFactory": {
        "desc": "在任意大世界界面，进入工厂模式",
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "roi": [
                    0,
                    0,
                    60,
                    60
                ],
                "template": [
                    "SceneManager/WorldFactoryNotActive.png",
                    "SceneManager/WorldFactoryActive.png"
                ],
                "threshold": 0.9
            }
        },
        "inverse": true,
        "next": [
            "__ScenePrivateMapValleyIVTheHubEnterTeleport",
            "[JumpBack]SceneEnterMapValleyIVTheHub"
        ]
    },
    "__ScenePrivateAnyEnterWorldFactorySuccess": {
        "desc": "从任意界面进入大世界工厂模式成功",
        "recognition": "And",
        "all_of": [
            "InWorldFactory"
        ],
        "pre_delay": 0,
        "post_delay": 0
    }
}
