666 lines
22 KiB
JavaScript
666 lines
22 KiB
JavaScript
main.floors.MAR34=
|
|
{
|
|
"floorId": "MAR34",
|
|
"title": "学院图书馆:34F",
|
|
"name": "图书馆 34F",
|
|
"width": 13,
|
|
"height": 13,
|
|
"map": [
|
|
[149,149,149,149,149,149,149,149,149,149,149,149,149],
|
|
[149,412, 0, 0,149, 0, 0, 0,149, 31, 0, 88,149],
|
|
[149, 31, 0, 0, 0,227, 0,216, 0, 0, 0, 0,149],
|
|
[149,149,149,149,149,149,149,149,149,216, 0, 0,149],
|
|
[149,225,149,203,149,224,149,201,149,149, 0,149,149],
|
|
[149, 81,149, 81,149, 81,149, 81,149, 0, 0, 0,149],
|
|
[ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0,149, 0,149],
|
|
[149, 81,149, 81,149, 81,149, 81,149, 0, 0, 0,149],
|
|
[149,205,149,227,149,202,149,212,149,149, 0,149,149],
|
|
[149,149,149,149,149,149,149,149,149,212, 0, 0,149],
|
|
[149, 31, 0,225, 81, 0, 0, 0, 0, 0,149,224,149],
|
|
[149,402, 0, 0,149, 0, 87, 0,149, 0,225, 32,149],
|
|
[149,149,149,149,149,149,149,149,149,149,149,149,149]
|
|
],
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"images": [],
|
|
"ratio": 4,
|
|
"defaultGround": "magicground",
|
|
"bgm": "maps4R.mp3",
|
|
"firstArrive": null,
|
|
"eachArrive": [],
|
|
"parallelDo": "",
|
|
"events": {},
|
|
"changeFloor": {
|
|
"6,11": {
|
|
"floorId": ":next",
|
|
"stair": "downFloor"
|
|
},
|
|
"11,1": {
|
|
"floorId": ":before",
|
|
"stair": "upFloor"
|
|
},
|
|
"0,6": {
|
|
"floorId": "MAC4",
|
|
"loc": [
|
|
11,
|
|
6
|
|
],
|
|
"direction": "left"
|
|
}
|
|
},
|
|
"afterBattle": {
|
|
"5,4": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"5,8": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,4": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,8": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"1,4": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"3,4": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"1,8": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"3,8": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[7, 4],\n\t[3, 4],\n\t[1, 4],\n\t[5, 8],\n\t[7, 8],\n\t[1, 8],\n\t[3, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
{
|
|
"type": "playSound",
|
|
"name": "door.mp3"
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
5
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
11,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
9,
|
|
7
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "23",
|
|
"loc": [
|
|
[
|
|
10,
|
|
6
|
|
]
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"cannotMove": {},
|
|
"fgmap": [
|
|
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"upFloor": null,
|
|
"downFloor": null,
|
|
"autoEvent": {},
|
|
"beforeBattle": {},
|
|
"cannotMoveIn": {},
|
|
"bg2map": [],
|
|
"fg2map": [],
|
|
"flyPoint": [
|
|
1,
|
|
6
|
|
]
|
|
} |