tianta/project/floors/yanjiusuo.js

351 lines
13 KiB
JavaScript
Raw Normal View History

2022-10-21 23:00:12 +08:00
main.floors.yanjiusuo=
{
"floorId": "yanjiusuo",
"title": "研究所",
"name": "研究所",
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [],
"item_ratio": 1,
"firstArrive": [],
"events": {
2022-10-22 19:23:02 +08:00
"12,11": null,
"6,7": [
2022-10-21 23:00:12 +08:00
{
"type": "if",
"condition": "(flag:186==1)",
"true": [
{
"type": "hide",
"remove": true
}
],
"false": [
{
"type": "showImage",
"code": 1,
"image": "jiekezixin.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[杰克]老大,我想暂时休息一下。别忘了帮我留心一下我父亲的下落。",
{
"type": "showImage",
"code": 2,
"image": "shaohuzixin.png",
"loc": [
-20,
0
],
"opacity": 1,
"time": 0
},
"\t[邵虎]知道了,这里看起来相对很安全,你就别乱跑了。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
}
]
}
],
2022-10-22 19:23:02 +08:00
"8,7": {
2022-10-21 23:00:12 +08:00
"trigger": null,
"enable": false,
"noPass": null,
"animate": true,
"displayDamage": true,
"data": [
{
"type": "comment",
"text": "flag:yanjiusuoPrincess标记是否进行过对话"
},
{
"type": "if",
"condition": "flag:yanjiusuoPrincess != 1",
"true": [
{
"type": "sleep",
"time": 500
},
{
"type": "showImage",
"code": 1,
"image": "gongzhupinghe.png",
"loc": [
180,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]3匙断刃散啊.......等下我找找。杰克做东西的时候还挺有意思呢~",
{
"type": "showImage",
"code": 2,
"image": "shaohuzixin.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[邵虎]殿下拿的时候小心点,杰克的东西都挺危险的。",
{
"type": "showImage",
"code": 1,
"image": "gongzhuxiao.png",
"loc": [
180,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]诶呀没事没事........我都在这干好久了,感觉给人打下手还是挺有意思的嘛~~~",
{
"type": "showImage",
"code": 2,
"image": "shaohujinzhang.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[邵虎]殿下你这话让你的女佣听了她会疯掉的。",
{
"type": "showImage",
"code": 1,
"image": "gongzhuxiao.png",
"loc": [
180,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]断....刃.....散........就是这个!!",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:yanjiusuoPrincess",
"value": "1"
},
{
"type": "sleep",
"time": 1500
}
],
"false": [
{
"type": "sleep",
"time": 500
},
{
"type": "showImage",
"code": 1,
"image": "gongzhupinghe.png",
"loc": [
180,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]什么时候能做好呢?",
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
}
]
},
2022-10-22 19:23:02 +08:00
"7,6": {
2022-10-21 23:00:12 +08:00
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": [
{
"type": "comment",
"text": "JS脚本判定yanjiusuoJack的值"
},
{
"type": "function",
"function": "function(){\nif (core.getFlag(\"297\",0) == 1 ) {\n\tcore.setFlag(\"yanjiusuoJack\",1);\n}\nif (core.getFlag(\"322\",0) == 1 ) {\n\tcore.setFlag(\"yanjiusuoJack\",3);\n}\n}"
},
{
"type": "switch",
"condition": "yanjiusuoJack",
"caseList": [
{
"case": "1",
"action": [
{
"type": "comment",
"text": "297结束"
},
{
"type": "showImage",
"code": 2,
"image": "jiekezixin.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[杰克]老大,我想试着做做看.......难住父亲的,可以破坏整塔墙壁的卷轴.......",
{
"type": "showImage",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]节哀顺变。",
"\t[杰克]我会的......在我完成这个[断镇卷轴]之后。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
}
]
},
{
"case": "3",
"action": [
{
"type": "comment",
"text": "322~20层全结束"
},
{
"type": "showImage",
"code": 2,
"image": "jiekezixin.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[杰克]偏了一毫米,重来。",
{
"type": "showImage",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎].................加油。"
]
}
]
}
]
}
},
"changeFloor": {
2022-10-22 19:23:02 +08:00
"12,11": {
2022-10-21 23:00:12 +08:00
"floorId": "MT4",
"loc": [
7,
4
],
"time": 200
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"map": [
2022-10-22 19:23:02 +08:00
[ 0,345,350,350,350,350,350,350,350,350,350,350,350,351, 0],
[ 0,348, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,352, 0],
[ 0,348, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,352, 0],
[ 0,348, 5, 5, 3, 3, 3, 3, 3, 3, 3, 5, 5,352, 0],
[ 0,348, 5, 3, 3, 0, 0, 3, 0, 0, 3, 3, 5,352, 0],
[ 0,348, 5, 3, 21, 0, 3, 6, 3, 0, 31, 3, 5,352, 0],
[ 0,348, 5, 3, 22, 0, 3,123, 3, 0, 32, 3, 5,352, 0],
[ 0,348, 5, 3, 23, 0,123, 0,132, 0, 34, 3, 5,352, 0],
[ 0,348, 5, 3, 3, 0, 0, 0, 0, 0, 3, 3, 5,352, 0],
[ 0,348, 5, 5, 3, 0, 0, 0, 0, 0, 3, 5, 5,352, 0],
[ 0,348, 3, 3, 3, 3, 3, 0, 3, 3, 3, 3, 3,352, 0],
[ 0,348, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89,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]
2022-10-21 23:00:12 +08:00
],
"bgmap": [
],
"fgmap": [
],
2022-10-22 19:23:02 +08:00
"width": 15,
"height": 15,
2022-10-21 23:00:12 +08:00
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"eachArrive": null
}