{
    // 在商店中购买物品的节点
    "CreditShoppingBuyItem": {
        "desc": "识别购买商品",
        "recognition": "OCR",
        "roi": [
            55,
            53,
            333,
            167
        ],
        "expected": [
            "购买商品"
        ],
        "next": [
            "CreditShoppingBuyItemOCR_ArsenalTicket",
            "CreditShoppingBuyItemOCR_Oroberyl",
            "CreditShoppingBuyItemOCR_TCreds",
            "CreditShoppingBuyItemOCR_ElementaryCombatRecord",
            "CreditShoppingBuyItemOCR_IntermediateCombatRecord",
            "CreditShoppingBuyItemOCR_ElementaryCognitiveCarrier",
            "CreditShoppingBuyItemOCR_ArmsInspector",
            "CreditShoppingBuyItemOCR_ArmsINSPKit",
            "CreditShoppingBuyItemOCR_CastDie",
            "CreditShoppingBuyItemOCR_HeavyCastDie",
            "CreditShoppingBuyItemOCR_Protodisk",
            "CreditShoppingBuyItemOCR_Protoset",
            "CreditShoppingBuyItemOCR_Protoprism",
            "CreditShoppingBuyItemOCR_Protohedron"
        ]
    },
    "CreditShoppingBuyFailed": {
        "desc": "购买失败（已售罄/信用点不足）",
        "max_hit": 1,
        "recognition": "ColorMatch",
        "roi": [
            571,
            497,
            133,
            95
        ],
        "lower": [
            210,
            94,
            104
        ],
        "upper": [
            210,
            94,
            104
        ],
        "action": "DoNothing",
        "next": [
            "CreditShoppingCloseDialog"
        ]
    },
    "CreditShoppingCloseDialog": {
        "desc": "关闭对话框",
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    "CloseButtonType1"
                ]
            }
        },
        "next": [
            "CreditShoppingScanItem"
        ]
    },
    "CreditShoppingBuyConfirm": {
        "desc": "购买确认",
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    "YellowConfirmButtonType1"
                ]
            }
        },
        "action": {
            "type": "Click"
        },
        "next": [
            "CreditShoppingClaimConfirm",
            "CreditShoppingBuyFailed",
            "CreditShoppingBuyConfirm"
        ]
    }
}
