167 lines
4.8 KiB
JavaScript
167 lines
4.8 KiB
JavaScript
main.floors.MAR2=
|
|
{
|
|
"floorId": "MAR2",
|
|
"title": "学院图书馆:2F",
|
|
"name": "图书馆 2F",
|
|
"width": 13,
|
|
"height": 13,
|
|
"map": [
|
|
[149,149,149,149,149,149,149,149,149,149,149,149,149],
|
|
[149, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 88,149],
|
|
[149,149,149, 0,222, 0,222, 0,149,149, 0, 0,149],
|
|
[149,149,149,149,149, 0,149,149,149,149,149, 0,149],
|
|
[149, 21, 0,149, 0, 0, 0,149, 0, 0,149, 0,149],
|
|
[149, 21, 0, 85, 0, 0, 0, 85, 0, 27,149, 0,149],
|
|
[149, 21, 0,149, 0, 0, 0,149, 0, 0,149, 0,149],
|
|
[149,149,149,149, 0, 0, 0,149,149,149,149, 0,149],
|
|
[149,149,149,149, 0, 0, 0,149,149,149,149, 0,149],
|
|
[149, 32, 0,149, 0, 0, 0,149, 0, 0,149, 0,149],
|
|
[149, 32, 0, 85, 0, 0, 0, 85, 0, 28,149, 0,149],
|
|
[149, 32, 0,149, 0, 0, 0,149, 0, 0,149, 87,149],
|
|
[149,149,149,149,149,149,149,149,149,149,149,149,149]
|
|
],
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"images": [],
|
|
"ratio": 1,
|
|
"defaultGround": "magicground",
|
|
"bgm": "maps4R.mp3",
|
|
"firstArrive": null,
|
|
"eachArrive": [],
|
|
"parallelDo": "",
|
|
"events": {},
|
|
"changeFloor": {
|
|
"11,1": {
|
|
"floorId": ":before",
|
|
"stair": "upFloor"
|
|
},
|
|
"11,11": {
|
|
"floorId": ":next",
|
|
"stair": "downFloor"
|
|
}
|
|
},
|
|
"afterBattle": {
|
|
"4,2": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[4, 2],\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": "openDoor",
|
|
"loc": [
|
|
3,
|
|
5
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
10
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
7,
|
|
5
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
7,
|
|
10
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"6,2": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[4, 2],\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": "openDoor",
|
|
"loc": [
|
|
3,
|
|
5
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
3,
|
|
10
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
7,
|
|
5
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
7,
|
|
10
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"cannotMove": {},
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
],
|
|
"upFloor": [
|
|
11,
|
|
10
|
|
],
|
|
"downFloor": [
|
|
11,
|
|
2
|
|
],
|
|
"autoEvent": {
|
|
"5,5": {
|
|
"1": null
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"cannotMoveIn": {},
|
|
"bg2map": [],
|
|
"fg2map": [],
|
|
"underGround": true
|
|
} |