main.floors.MT14_3=
{
    "floorId": "MT14_3",
    "title": "主塔 14 层",
    "name": "14",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 3,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {},
    "changeFloor": {},
    "beforeBattle": {},
    "afterBattle": {
        "1,1": [
            {
                "type": "function",
                "function": "function(){\nlet bool = true;\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nflags[\"@temp@floorId\"] = bigMaps[floor_x][floor_y]\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(f_x + loc[0], f_y + loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    {
                        "type": "playSound",
                        "name": "door.mp3"
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    }
                ]
            }
        ],
        "2,2": [
            {
                "type": "function",
                "function": "function(){\nlet bool = true;\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nflags[\"@temp@floorId\"] = bigMaps[floor_x][floor_y]\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(f_x + loc[0], f_y + loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    {
                        "type": "playSound",
                        "name": "door.mp3"
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    }
                ]
            }
        ],
        "3,1": [
            {
                "type": "function",
                "function": "function(){\nlet bool = true;\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nflags[\"@temp@floorId\"] = bigMaps[floor_x][floor_y]\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(f_x + loc[0], f_y + loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    {
                        "type": "playSound",
                        "name": "door.mp3"
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    }
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1, 81,  1,  1,  1,  1,  1,  1],
    [  1,251,  0,251,  1, 21, 21, 21,  1,358, 21,348,  1],
    [  1,  0,251,  0,  1,363,  1,  0,  1,  0,  1, 21,  1],
    [  1,  1,  0,  0,  1,233,  1,251,  1, 82,  1, 81,  1],
    [  1,  1, 82,  1,  1, 82,  1, 81,  1,233,  0,251,  1],
    [  1,358,  0,  0,235,  0,236,  0,235,  0,121,  0,  1],
    [ 81,  0,233,  0,  1,  1, 81,  1,  1,358,  0,233,  0],
    [  1, 81,  1, 81,  1, 21,  0,358,  1,  1,  1, 81,  1],
    [  1,  0,  1,  0,250,  0,233,  0,250,  0,  0,  0,  1],
    [  1,253,  1,253,  1,  1, 81,  1,  1,  1, 81,  1,  1],
    [  1,  0,  1,  0,  1,358,  0, 21,  1,  0,250,  0,  1],
    [  1, 22,  1,  0, 81,  0,233,  0,  1,372,  0,343,  1],
    [  1,  1,  1,  1,  1,  1, 81,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

]
}