tianta/project/floors/MT1.js
Erdnase 0f35465f08 优化了部分剧情效果
修复了三个报错:标题动画插件报错(两个),强制横屏PC报错
优化了跳过剧情插件,增加闪烁效果(并行脚本),防止部分异步剧情出错,整合了一次性打开/关闭跳过剧情开关、图片提示
难度选择时增加颜色区分
2023-01-01 19:40:11 +08:00

374 lines
14 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.MT1=
{
"floorId": "MT1",
"title": "天塔第 1 层",
"name": "天塔第1层",
"canFlyTo": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"item_ratio": 1,
"firstArrive": [],
"events": {
"12,3": [
{
"type": "if",
"condition": "(flag:271==1)",
"true": [
{
"type": "changeFloor",
"floorId": "shenhai",
"loc": [
7,
11
],
"time": 0
}
],
"false": []
}
],
"5,4": [
{
"type": "if",
"condition": "(flag:1fnpc==1)",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"304.8",
"432.8"
],
"opacity": 1,
"time": 0
},
"\t[老人]不必在意,老头子活的时间长了..........老会胡思乱想一些东西。",
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"false": [
{
"type": "if",
"condition": "(core.isReplaying()||flag:SkipThePlot)",
"true": [
{
"type": "setValue",
"name": "flag:SkipThePlot",
"value": "false"
}
],
"false": [
{
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"304.8",
"432.8"
],
"opacity": 1,
"time": 0
},
"\t[老人]刚进塔来的吗.......雪儿放你进来的?",
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"304.8",
"432.8"
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]雪儿?那个仙子吗........?",
"\t[老人]...............",
"\t[老人]不要问不该问的,这对你没有好处.......",
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"304.8",
"432.8"
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]请问您是........",
"\t[老人]老朽只是一个塔里的闲人罢了..................",
"\t[邵虎]您在这么危险的地方.....一定有原因吧?",
"\t[老人]不愧是雪儿放进来的人呢........你说的没错,自从我儿子进塔再也没回来以后......我就一直在这里了。",
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"304.8",
"432.8"
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]您...您儿子..!?",
"\t[邵虎]冒犯了......他怎么会来这种地方......",
"\t[老人]我不想多说......这里涉及的东西太多........你一个外人还是少知道点好........",
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"304.8",
"432.8"
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]..............(在意)",
"\t[老人]不必在意,老头子活的时间长了..........老会胡思乱想一些东西。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
}
]
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+1"
},
{
"type": "setValue",
"name": "flag:1fnpc",
"value": "1"
}
]
}
]
},
"changeFloor": {
"12,7": {
"floorId": "MT2",
"stair": "downFloor",
"time": 200
},
"6,1": {
"floorId": "MT0",
"stair": "upFloor",
"time": 500
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"map": [
[ 0,345,350,350,350,350,350,350,350,350,350,350,350,351, 0],
[ 0,348, 21, 2, 31, 2, 88, 2, 27, 2, 31, 2, 28,352, 0],
[ 0,348,205, 81, 0, 0, 0, 2, 21,209, 0,209, 32,352, 0],
[ 0,348, 21, 2,201, 2, 2, 2, 2, 2, 81, 2, 2,352, 0],
[ 0,348, 2, 2, 0,121, 2, 0, 45, 2,209, 22, 2,352, 0],
[ 0,348, 31,202, 0, 0,202, 0, 0, 0, 0, 0, 2,352, 0],
[ 0,348, 2, 2,210, 2, 2, 2, 82, 2, 2, 0, 2,352, 0],
[ 0,348, 31, 21,209, 0, 21, 0,209, 32, 2, 0, 87,352, 0],
[ 0,348, 2, 2, 2, 2,209, 2, 2, 2, 2, 2, 2,352, 0],
[ 0,348, 21, 0, 2, 21,205, 2, 0, 28, 2, 0, 27,352, 0],
[ 0,348, 21,205, 81, 0, 0, 81,217, 31, 81,210, 31,352, 0],
[ 0,348, 22, 0, 2, 0, 21, 2, 0, 21, 2, 0, 46,352, 0],
[ 0,349,346,346,346,346,346,346,346,346,346,346,346,347, 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]
],
"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,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, 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, 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]
],
"fgmap": [
],
"eachArrive": [
{
"type": "setText",
"background": "winskin2.png"
},
{
"type": "if",
"condition": "(flag:271==1)",
"true": [
{
"type": "setBlock",
"number": "89",
"loc": [
[
12,
3
]
]
}
],
"false": []
}
],
"width": 15,
"height": 15,
"autoEvent": {},
"cannotMoveDirectly": false,
"canFlyFrom": true,
"upFloor": [
11,
7
],
"downFloor": [
6,
2
],
"beforeBattle": {},
"cannotMoveIn": {}
}