main.floors.MT22=
{
    "floorId": "MT22",
    "title": "商业街",
    "name": "商业街",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "cannotViewMap": false,
    "images": [],
    "ratio": 1,
    "defaultGround": "ground",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "5,4": [
            "饭店，可以服用\\i[redGem]\\i[blueGem]\\i[redPotion]\n长得像小兔子的人\\i[N331]有一份免排队专属VIP餐！"
        ],
        "8,5": [
            "锁匠铺，可以学习开锁知识，增加开门熟练度，或者配一把\\i[bigKey]"
        ],
        "4,7": [
            "手工体验店，可以手工制作\\i[pickaxe]\\i[bomb]，店内展示的是手工大师代表作\\i[fly]"
        ],
        "7,8": [
            "文创店，可以自行抄写地震卷轴\\i[earthquake]，店内有免费图书观看\\i[book]"
        ],
        "10,11": [
            "\t[文创老板,wizard]欢迎来到我们魔塔文创店，在那边的书桌支付100金币，花上个半天时间，就可以体验自己抄写一份地震卷轴哦！"
        ],
        "10,8": [
            {
                "type": "choices",
                "text": "是否支付100金币并花费${core.makeTimeWord(core.getUseTime('makeEarthquake'),true)}在此抄写地震卷轴？",
                "choices": [
                    {
                        "text": "我们太需要了",
                        "need": "status:money>=100&&!core.shouldSleep(undefined,core.getUseTime('makeEarthquake'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "100"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makeEarthquake')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:earthquake",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "下次再说",
                        "action": []
                    }
                ]
            }
        ],
        "10,9": [
            {
                "type": "choices",
                "text": "是否支付100金币并花费${core.makeTimeWord(core.getUseTime('makeEarthquake'),true)}在此抄写地震卷轴？",
                "choices": [
                    {
                        "text": "我们太需要了",
                        "need": "status:money>=100&&!core.shouldSleep(undefined,core.getUseTime('makeEarthquake'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "100"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makeEarthquake')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:earthquake",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "下次再说",
                        "action": []
                    }
                ]
            }
        ],
        "2,11": [
            "\t[手艺人,youngMan]欢迎来到手工艺体验店，在那个工作台上可以自己制作破墙镐或者炸弹，收费是50金币，大约需要花上个把钟头吧"
        ],
        "2,8": [
            {
                "type": "choices",
                "text": "是否支付50金币并花费${core.makeTimeWord(core.getUseTime('makePickaxe'),true)}在此制作破墙镐或是炸弹？",
                "choices": [
                    {
                        "text": "破墙镐",
                        "icon": "pickaxe",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:pickaxe",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "炸弹",
                        "icon": "bomb",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:bomb",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "下次再说",
                        "action": []
                    }
                ]
            }
        ],
        "2,9": [
            {
                "type": "choices",
                "text": "是否支付50金币并花费${core.makeTimeWord(core.getUseTime('makePickaxe'),true)}在此制作破墙镐或是炸弹？",
                "choices": [
                    {
                        "text": "破墙镐",
                        "icon": "pickaxe",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:pickaxe",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "炸弹",
                        "icon": "bomb",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:bomb",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "下次再说",
                        "action": []
                    }
                ]
            }
        ],
        "1,9": [
            {
                "type": "choices",
                "text": "是否支付50金币并花费${core.makeTimeWord(core.getUseTime('makePickaxe'),true)}在此制作破墙镐或是炸弹？",
                "choices": [
                    {
                        "text": "破墙镐",
                        "icon": "pickaxe",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:pickaxe",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "炸弹",
                        "icon": "bomb",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:bomb",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "下次再说",
                        "action": []
                    }
                ]
            }
        ],
        "1,8": [
            {
                "type": "choices",
                "text": "是否支付50金币并花费${core.makeTimeWord(core.getUseTime('makePickaxe'),true)}在此制作破墙镐或是炸弹？",
                "choices": [
                    {
                        "text": "破墙镐",
                        "icon": "pickaxe",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:pickaxe",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "炸弹",
                        "icon": "bomb",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,core.getUseTime('makePickaxe'))",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "core.getUseTime('makePickaxe')"
                            },
                            {
                                "type": "setValue",
                                "name": "item:bomb",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "下次再说",
                        "action": []
                    }
                ]
            }
        ],
        "10,1": [
            {
                "type": "choices",
                "text": "\t[老师傅,thief]你们是来学习开锁知识还是来配钥匙的？开锁知识讲堂要两个小时，一堂课收费三十个金币，听了我的课以后啊，肯定是对你们提高开锁速度有帮助的。要配钥匙嘛就是这把大黄门钥匙，这是世界上最好的黄钥匙，只有我才能做得出来的！它可以一瞬间打开一层楼里所有的黄门啊！要四个小时才能配好，收费也不贵，看你们两个美女这么漂亮，我打个一折，就收你们五十个金币好了。",
                "choices": [
                    {
                        "text": "开锁知识(30金 2h)",
                        "icon": "yellowDoor",
                        "need": "status:money>=30&&!core.shouldSleep(undefined,120)&&flags.timeCostBase['door']>=11",
                        "action": [
                            {
                                "type": "if",
                                "condition": "(flags.timeCostBase['door']<=15)",
                                "true": [
                                    {
                                        "type": "function",
                                        "function": "function(){\nflags.timeCostBase['door']=10\n}"
                                    },
                                    "学习了开锁知识，开门花费的时间只需要10min，老师傅以后没有什么能教你们的了"
                                ],
                                "false": [
                                    {
                                        "type": "function",
                                        "function": "function(){\nflags.timeCostBase['door']-=5\n}"
                                    },
                                    "学习了开锁知识，开门花费的时间减少5min，现在只需要${flags.timeCostBase['door']}min"
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "30"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "120"
                            }
                        ]
                    },
                    {
                        "text": "配钥匙(50金 4h)",
                        "icon": "bigKey",
                        "need": "status:money>=50&&!core.shouldSleep(undefined,240)",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "50"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:time",
                                "operator": "+=",
                                "value": "240"
                            },
                            {
                                "type": "setValue",
                                "name": "item:bigKey",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "text": "下次再说",
                        "action": []
                    }
                ]
            }
        ],
        "3,1": [
            {
                "type": "openShop",
                "id": "restaurant",
                "open": true
            }
        ],
        "4,11": {
            "trigger": "action",
            "enable": true,
            "noPass": true,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                "展品"
            ]
        },
        "8,11": {
            "trigger": "action",
            "enable": true,
            "noPass": true,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                "免费图书"
            ]
        }
    },
    "changeFloor": {
        "6,12": {
            "floorId": "MT21",
            "loc": [
                6,
                1
            ]
        },
        "6,0": {
            "floorId": "MT1",
            "loc": [
                6,
                11
            ]
        }
    },
    "beforeBattle": {},
    "afterBattle": {},
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  3,  3,  3,  3,  3,  3, 91,  3,  3,  3,  3,  3,  3],
    [  3,  0,  7,131,  8,  3,  0,  3,  0,  0,123,  0,  3],
    [  3,  0,  0,  0,  0,  3,  0,  3,  0,  0,  0,  0,  3],
    [  3,10136,10138,  0,  0,  0,  0,  3,  0,  0,10139,10139,  3],
    [  3,10152,10154,  0,  0,10147,  0,  3,  0,  0,  0,  0,  3],
    [  3,  3,  3,  3,  3,  3,  0,  3,10147,  0,  3,  3,  3],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  3,  3,  3,  0,10147,  3,  0,  3,  3,  3,  3,  3,  3],
    [  3,10155,10156,  0,  0,  3,  0,10147,  0,  0,10160,  0,  3],
    [  3,10152,10154,  0,  0,  3,  0,  0,  0,  0,10176,  0,  3],
    [  3,  0,  0,  0,  0,  3,  0,  3,  0,  0,  0,  0,  3],
    [  3,  0,128,  0, 46,  3,  0,  3, 45,  0,125,  0,  3],
    [  3,  3,  3,  3,  3,  3, 93,  3,  3,  3,  3,  3,  3]
],
    "bgmap": [
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,311,311,311,311,  0,  0,  0,311,311,311,311,  0],
    [  0,311,311,311,311,  0,  0,  0,311,311,311,311,  0],
    [  0,311,311,311,311,311,  0,  0,311,311,311,311,  0],
    [  0,311,311,311,311,311,  0,  0,311,311,311,311,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,311,311,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,311,311,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,311,311,311,311,  0,  0,311,311,311,311,311,  0],
    [  0,311,311,311,311,  0,  0,311,311,311,311,311,  0],
    [  0,311,311,311,311,  0,  0,  0,311,311,311,311,  0],
    [  0,311,311,311,311,  0,  0,  0,311,311,311,311,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0]
],
    "fgmap": [
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,10139,10139,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,10139,10139,  0,  0,  0,  0,  0,  0,  0,10139,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0]
],
    "upFloor": [
        6,
        1
    ],
    "downFloor": [
        6,
        11
    ]
}