51_AstralParty/project/floors/MT33.js
2025-09-11 22:30:07 +08:00

371 lines
12 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

main.floors.MT33=
{
"floorId": "MT33",
"title": "星趴·梦想号:33F",
"name": "第 33 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 87, 0, 81,214, 0,216, 81, 0, 0, 0, 88,330],
[330, 0, 0, 1, 0, 31, 0, 1, 81, 1, 1, 1,330],
[330, 82, 1, 1,1005, 0, 21, 1, 0, 0, 0, 32,330],
[330, 0, 31, 1, 1, 81, 1, 1, 1, 1, 0, 1,330],
[330,216, 0, 1, 0, 0,214, 0, 1,212, 0,212,330],
[330, 0, 0, 1,224, 1, 1, 81, 1, 0, 0, 0,330],
[330, 0,216, 81, 0, 0,212, 0, 1,225, 0,225,330],
[330, 81, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1,330],
[330, 0, 0,214, 1, 0,225, 0, 1, 0, 0, 0,330],
[330,224, 1, 0, 1, 21, 1,216, 0, 0, 63, 0,330],
[330, 21,225, 0, 82, 0, 81, 0, 1, 0, 0, 0,330],
[330,330,330,330,330,330,330,330,330,330,330,330,330]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 4,
"defaultGround": "ground",
"bgm": "maps.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"9,10": [
{
"type": "closeDoor",
"id": "yellowWall",
"loc": [
8,
10
]
},
{
"type": "hide",
"remove": true,
"time": 0
}
],
"10,5": [
{
"type": "closeDoor",
"id": "specialDoor",
"loc": [
10,
4
],
"async": true
},
{
"type": "closeDoor",
"id": "specialDoor",
"loc": [
10,
8
]
},
{
"type": "waitAsync"
},
{
"type": "hide",
"remove": true
}
],
"4,3": [
{
"type": "if",
"condition": "(!switch:A)",
"true": [
{
"type": "text",
"text": "\t[芬妮,Fenny]\f[Fenny_Full.png,0,190,200,250]竟然已经到达这里了?很了不起嘛!",
"pos": [
96,
100,
285
]
},
{
"type": "text",
"text": "\t[芬妮,Fenny]\f[Fenny_Full.png,0,190,200,250]不过,联合城有句古话,叫“欲速则不达”!你听说过吗?",
"pos": [
96,
80,
260
]
},
{
"type": "text",
"text": "\t[芬妮,Fenny]\f[Fenny_Full.png,0,190,200,250]走的太快,可能会丢失什么线索哦~",
"pos": [
96,
100,
285
]
},
{
"type": "setValue",
"name": "switch:A",
"value": "true"
},
{
"type": "trigger"
}
],
"false": [
{
"type": "choices",
"text": "\t[勇者,hero]要说什么?",
"choices": [
{
"text": "你……难道是那个已经失踪的神探芬妮!?",
"action": [
{
"type": "text",
"text": "\t[芬妮,fenny]\f[Fenny_Full.png,0,190,200,250]我是谁不重要啦~重要的是这座塔尘封的秘密!探索它们很有趣,不是吗?",
"pos": [
96,
100,
270
]
},
{
"type": "trigger"
}
]
},
{
"text": "听不懂啊,你说的线索是什么?",
"action": [
{
"type": "text",
"text": "\t[芬妮,fenny]\f[Fenny_Full.png,0,190,200,250]以你的能力现在去2层探索应该没问题了~要不要去看看?",
"pos": [
96,
100,
285
]
},
{
"type": "trigger"
}
]
},
{
"text": "知道了,谢谢你的提醒!",
"action": []
}
]
}
]
}
]
},
"changeFloor": {
"11,1": {
"floorId": ":before",
"stair": "upFloor"
},
"1,1": {
"floorId": ":next",
"stair": "downFloor"
}
},
"afterBattle": {
"9,5": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[9, 5],\n\t[11, 5],\n\t[9, 7],\n\t[11, 7],\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": [
10,
4
],
"async": true
},
{
"type": "openDoor",
"loc": [
10,
8
]
},
{
"type": "waitAsync"
},
{
"type": "hide",
"loc": [
[
10,
5
]
],
"remove": true
}
]
}
],
"9,7": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[9, 5],\n\t[11, 5],\n\t[9, 7],\n\t[11, 7],\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": [
10,
4
],
"async": true
},
{
"type": "openDoor",
"loc": [
10,
8
]
},
{
"type": "waitAsync"
},
{
"type": "hide",
"loc": [
[
10,
5
]
],
"remove": true
}
]
}
],
"11,7": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[9, 5],\n\t[11, 5],\n\t[9, 7],\n\t[11, 7],\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": [
10,
4
],
"async": true
},
{
"type": "openDoor",
"loc": [
10,
8
]
},
{
"type": "waitAsync"
},
{
"type": "hide",
"loc": [
[
10,
5
]
],
"remove": true
}
]
}
],
"11,5": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[9, 5],\n\t[11, 5],\n\t[9, 7],\n\t[11, 7],\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": [
10,
4
],
"async": true
},
{
"type": "openDoor",
"loc": [
10,
8
]
},
{
"type": "waitAsync"
},
{
"type": "hide",
"loc": [
[
10,
5
]
],
"remove": true
}
]
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"bgmap": [
[ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17]
],
"fgmap": [
],
"upFloor": [
2,
1
],
"downFloor": [
10,
1
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}