tianta/project/floors/MT15.js
2022-10-22 04:04:26 +13:00

294 lines
11 KiB
JavaScript
Raw 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.MT15=
{
"floorId": "MT15",
"title": "天塔第 15 层",
"name": "天塔第15层",
"canFlyTo": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"item_ratio": 1,
"firstArrive": [],
"events": {
"5,3": [
{
"type": "function",
"function": "function(){\nif(core.terrainExists(core.nextX(), core.nextY(), \"whiteWall\"))core.setFlag(\"panding\",1);\n}"
},
{
"type": "if",
"condition": "flag:panding==1",
"true": [],
"false": [
{
"type": "setBlock",
"number": 373
},
{
"type": "sleep",
"time": 20
},
{
"type": "setBlock",
"number": 356
},
{
"type": "sleep",
"time": 20
},
{
"type": "setBlock",
"number": 374
},
{
"type": "sleep",
"time": 20
},
{
"type": "setBlock",
"number": 2
}
]
}
],
"11,7": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"data": [
{
"type": "showImage",
"code": 1,
"image": "npcnv.png",
"loc": [
80,
40
],
"opacity": 1,
"time": 0
},
"\t[女人]就这么被怪围殴死了啊我不甘心......我还没看到镇塔剑盾呢........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "if",
"condition": "(flag:221==1)",
"true": [
{
"type": "hide",
"remove": true
}
]
}
]
},
"7,11": [
{
"type": "if",
"condition": "(flag:15f==1)",
"true": [
{
"type": "showImage",
"code": 1,
"image": "npcnv.png",
"loc": [
80,
40
],
"opacity": 1,
"time": 0
},
"\t[女人]我母亲是联盟的高层呢~~她告诉我这14层的剑盾是异常重要的东西如果没有了他们天塔就会因为不稳定而崩坏",
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"false": [
{
"type": "choices",
"text": "是否跳过剧情",
"choices": [
{
"text": "是",
"action": [
{
"type": "setValue",
"name": "flag:15f",
"value": "1"
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+1"
}
]
},
{
"text": "否",
"action": [
{
"type": "showImage",
"code": 1,
"image": "npcnv.png",
"loc": [
180,
40
],
"opacity": 1,
"time": 0
},
"\t[女人]哟,真是稀客呢",
{
"type": "showImage",
"code": 2,
"image": "shaohusikao.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]请问你是.....",
"\t[女人]我啊?我只是一个小小的巡视",
"\t[邵虎]巡视?联盟的人么?",
"\t[女人]诶............在这种地方说出这种话啊,真是个有趣的小鬼。",
"\t[邵虎]......什么意思,我说错了?",
"\t[女人]不,说错倒是没说错,不过前二十层看似是在联盟的掌控之下,但实际上已经不是了不是么",
"\t[邵虎].........你是说......【妖社】?",
"\t[女人]哦!!你小子知道的挺多的么。",
"\t[女人]这【社】是最近新生的势力,不过实力可不容小觑哦~~",
"\t[邵虎]...............",
"\t[女人]听说前二十层的两个联盟的头目其实都是妖社的人呢~~",
"\t[邵虎]...............",
"\t[女人]啊呀对了你看到14层的那两把被封印的奇怪的剑盾了么",
"\t[邵虎]...............",
"\t[女人]我母亲是联盟的高层呢~~她告诉我这14层的剑盾是异常重要的东西如果没有了他们天塔就会因为不稳定而崩坏",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:15f",
"value": "1"
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+1"
}
]
}
]
}
]
}
]
},
"changeFloor": {
"5,8": {
"floorId": ":next",
"stair": "downFloor",
"time": 200
},
"1,11": {
"floorId": ":before",
"stair": "upFloor",
"time": 200
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {
"11,10": [
{
"type": "if",
"condition": "flag:kaiguole==1",
"true": [],
"false": [
{
"type": "playSound",
"name": "se86.ogg"
},
{
"type": "setBlock",
"number": 82
},
{
"type": "setValue",
"name": "flag:kaiguole",
"value": "1"
}
]
}
]
},
"cannotMove": {},
"ratio": 1,
"map": [
[345,350,350,350,350,350,350,350,350,350,350,350,351],
[348,206, 27, 27,372, 0, 81,253, 0, 21, 2, 28,352],
[348, 81, 2, 2,372, 0, 2, 32, 21, 0, 81, 32,352],
[348,253, 2, 0, 0,475, 2, 2, 2, 2, 2, 28,352],
[348, 0, 2, 81, 2, 2, 2, 0,203, 21, 2, 2,352],
[348,213, 2, 0, 0, 0,213, 0, 2, 21, 0, 31,352],
[348, 31, 2,206, 2, 2, 2, 0, 2,372, 2,218,352],
[348,213, 2, 0, 2, 0, 31,218, 2,372, 2,371,352],
[348, 21, 31, 0, 2, 87, 2,253, 2,372,372, 2,352],
[348, 2, 2,206, 2, 2, 2,218, 2, 2,372,372,352],
[348, 0,218, 0, 21, 2, 0, 0, 2,218, 2,372,352],
[348, 88, 31, 2, 31,203, 31,122, 2, 31, 37, 31,352],
[349,346,346,346,346,346,346,346,346,346,346,346,347]
],
"bgmap": [
[ 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, 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,10247, 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,10255, 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]
],
"fgmap": [
],
"width": 13,
"height": 13,
"autoEvent": {
"7,11": {
"0": null,
"1": null,
"2": null
}
},
"canFlyFrom": true,
"upFloor": [
5,
7
],
"downFloor": [
1,
10
],
"beforeBattle": {},
"cannotMoveIn": {}
}