tianta/project/floors/MT99.js
Erdnase bff925f7d3 批量修改(33层以后未手动修改的)绘制立绘showImage为showImage2
showImage2对于反复出现的NPC立绘自动补充loc(位置、大小)
2023-04-13 22:08:16 +08:00

2589 lines
76 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.MT99=
{
"floorId": "MT99",
"title": "新建楼层",
"name": "0",
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [],
"item_ratio": 1,
"firstArrive": [],
"events": {
"2,10": null,
"8,7": {
"trigger": null,
"enable": true,
"noPass": true,
"displayDamage": true,
"data": [
{
"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
}
]
}
]
},
"3,5": null,
"0,0": [
{
"type": "setText",
"position": "center",
"background": [
0,
0,
0,
1
],
"bold": null,
"time": 0
},
"................公、公主殿下!!",
"..............呼...呼...........",
"...........公主殿下...........您等等我.............",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0
],
"time": 500
},
{
"type": "setText",
"position": "down",
"title": [
255,
0,
0
],
"background": [
0,
0,
0,
1
],
"bold": null,
"time": 5
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhuzhending.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]怎、怎么又是你邵护卫!烦死啦你!",
"\t[公主]一天到晚总是跟着我!烦不烦啊你!",
"\t[邵虎]公主下请不要再任性了。你看看你都跑多远了。",
"\t[公主]不用你管!",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0.5
],
"time": 500
},
{
"type": "setText",
"position": "center",
"title": [
255,
0,
0
],
"background": [
0,
0,
0,
1
],
"bold": null,
"time": 5
},
"我叫邵虎。是天枢帝国萧涵公主的亲卫队长。",
"身居要职,我的唯一职责就是保护公主殿下的安全。",
"但公主殿下偏偏是个不让人省心的主",
"而今天,公主殿下又吵着要去城外的天塔观光。",
"据说天塔是一百年前天枢与邻国的圣战争夺之后,天枢皇帝为了纪念战争的胜利而修建。",
"时隔多年,天塔已经成为了妖兽以及魔怪的栖息地。",
"但令人不解的是,魔怪只栖息在塔的内部,却没有怪外出伤人的事例。",
"但毕是魔怪的栖息地,由于担心公主会出现危险,我极力反对公主的这次出行",
"可是在我的极力劝阻之下,公主却自己一个人跑出了皇城。",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0
],
"time": 500
},
{
"type": "setText",
"position": "down",
"title": [
255,
0,
0
],
"background": [
0,
0,
0,
1
],
"bold": null,
"time": 5
},
"\t[邵虎]公主殿下快回去吧,要是在半途迷路了怎么办?",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhuheihua.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]烦死了烦死了烦死了~~~~~~",
"\t[公主]邵护卫你有完没完!!!!",
"\t[公主]本公主就是要出来!!!!你能把我怎么着吧!",
"\t[公主]你就是要跟我对着干!!!就是跟我唱反调!!!我告诉你!!跟我对着干的人都没有好下场!!没有没有没有!!!!!",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhuheihua.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohujinzhang.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[邵虎]公主殿下您别生气.......我没有要和您做对的意思........",
"\t[公主]那你是什么?你是什么!",
"\t[邵虎]公主殿下消消气........要不.........您跟紧我,我带你去天塔附近看一看好吗.......至于上天塔里面玩什么的........太危险了.....",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhuxiao.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohujinzhang.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]这可是你说的~~~!不许反悔了!~",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhuxiao.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuxiao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[邵虎]你开心就好........那我们走吧.......",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0.5
],
"time": 500
},
"这就是那个任性的公主。",
"也是那个开朗的笑容能让平常冷漠的自己也开心的笑起来的公主。",
"是我每天都要保护的人。",
"也是我日日夜夜都想要打心里惦记的人。",
"只是她恋慕的心早已经有了明确的指向....",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhupinghe.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuxiao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]对了对了,汪护卫呢?不是应该跟你在一起吗?",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhupinghe.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[邵虎]他和我分头来找你,大概就在附近吧。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhuzhending.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]怎么不是汪大哥先来找到我呢............唉,真讨厌......",
"\t[邵虎].......................",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0.5
],
"time": 500
},
"汪洋,我的剑术老师,我的大哥,我最好的兄弟。",
"他比我有风度,比我武功高,比我人缘好。我敬佩他,他很完美,让人感到无法超越。",
"他首经有过一段恋情,和我相依为命的姐姐。",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0
],
"time": 500
},
"\t[公主]话说前面是一个村子了呢......没听说过这附近有村子啊?",
"\t[公主]喂!姓邵的,你知不知道这里是哪啊?",
"\t[邵虎]这里是镇天谷,是汪大哥的家乡。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhujiao.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]诶诶!!??",
"\t[公主]汪大哥........啊不...汪护卫是出身在这里的么?",
"\t[公主]我竟然完全都不知道啊...........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhupinghe.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[公主]好吧~~~那我们就去汪护卫的家乡看一看好了~~~!",
"\t[邵虎]诶~~~~诶!!?",
"\t[邵虎](也好,这里肯定是比天塔安全得多........)",
"\t[邵虎]那我们走吧公主殿下,会碰上汪大哥也说不定。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
1
],
"time": 500
},
{
"type": "changeFloor",
"floorId": "MUDI",
"loc": [
0,
0
]
},
{
"type": "trigger",
"loc": [
0,
0
]
}
],
"1,0": [
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhubaozouxiu.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"喂喂你是故意的吧!?",
"大半夜把我住坟堆里带什么啊啊啊啊!!",
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"很抱歉公主殿下,我是为了看一个人而来的............",
"我管你看谁!?看鬼嘛!!快把我带回去你这死人!!",
"公主殿下我...........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"啊........",
{
"type": "showImage2",
"code": 1,
"image": "gongzhulianhong.png",
"loc": [
160,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"汪..........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"公主殿下,还有小邵。欢来到镇天谷。",
"小邵啊............来看姐姐吗?",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"嗯.......陪姐姐呆一会.........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"都怪我啊..........如果当时保护好怜儿的话...........",
"不是汪大哥的错。",
"怪我这个当弟弟的,没能.........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhuzhending.png",
"loc": [
-30,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"喂难道这就是邵怜铃姐姐的墓吗?",
"嘌,是我亲手把她送到这个安静的地方来的。",
"........",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0.5
],
"time": 500
},
"我跪在墓碑前静静的祈祷.............",
{
"type": "sleep",
"time": 500
},
"仿佛又回到了2年前,姐姐在我眼前离开的时候........",
{
"type": "sleep",
"time": 500
},
"她走的时候,手里还握着帯给弟弟的早点..........",
{
"type": "sleep",
"time": 500
},
"尽管只是一块面包抹上了一点黄油.............",
{
"type": "sleep",
"time": 500
},
"但对我来说.........那就像是我最后一餐一般........",
{
"type": "sleep",
"time": 500
},
"那天她笑着推开门...........",
{
"type": "sleep",
"time": 500
},
"亲切的呼唤着我的名字............",
{
"type": "sleep",
"time": 500
},
"我也开心的跑到门前..........",
{
"type": "sleep",
"time": 500
},
"然后......门口出现了身着天枢城军队服装的人",
{
"type": "sleep",
"time": 500
},
"他们什么也没说.......我只看见早餐掉落在地上......姐姐看我那不舍的眼神.......和滴在地上鲜红的血......",
{
"type": "sleep",
"time": 500
},
"直到如今........我依然不敢正视那一幕.........",
{
"type": "sleep",
"time": 500
},
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0
],
"time": 500
},
"公主殿下。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhulianhong.png",
"loc": [
-30,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"..........啊...........嗯嗯?、怎么了!?",
"公主殿下请跟我回去吧.........你父王一定很着急的......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhujiao.png",
"loc": [
-30,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"连.........连你也这么说么...........",
"天塔过于危险...公主殿下若是执意要去,能不能安全的回来还说不定,就算抵上我和邵护卫的性命。",
"我...........我.............我..............",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"汪大哥......对不起...........给你添乱了.....",
"没关系的.........我懂你的意思.....如果是怜儿还在......我也会随她任性吧.......",
"汪大哥......我.........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"算了......小邵,我们一起走吧。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"啊..........",
"你其实也是想满足公主殿下的愿望的吧?也不想留下遗憾...............就算不能在一起也......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuxiao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"哈.........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhujiao.png",
"loc": [
-30,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"你.........你们都在说什么啊.......我怎么一句没听懂........",
"我.........我真的..........",
"公主殿下我们两个陪你一起去........你看好不好?",
"放心吧,我们两个的实力你大可放心。不会让公主出问题的。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhulianhong.png",
"loc": [
-30,
50
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"出...出问题...........",
"(不是吧.........)",
"嗯嗯,走吧公主殿下。",
"啊汪大哥等等我!!",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
0,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"姐姐............保重..............",
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
1
],
"time": 500
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "choices",
"text": "是否跳过片头OP",
"choices": [
{
"text": "否",
"action": [
{
"type": "changeFloor",
"floorId": "MT0",
"loc": [
6,
11
]
},
{
"type": "trigger",
"loc": [
0,
0
]
}
]
},
{
"text": "是",
"action": [
{
"type": "changeFloor",
"floorId": "piantou1",
"loc": [
0,
0
]
},
{
"type": "trigger",
"loc": [
0,
0
]
}
]
}
]
}
],
"4,10": [
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
1
]
},
{
"type": "showImage2",
"code": 1,
"image": "yecheng.jpg",
"loc": [
0,
-78
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0
],
"time": 1000
},
{
"type": "sleep",
"time": 2000
},
{
"type": "moveImage",
"name": "yecheng.jpg",
"from": [
0,
-78
],
"to": [
0,
0
],
"time": 3000
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "yecheng.jpg",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "biaoti.png",
"loc": [
30,
30
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
],
"6,10": [
{
"type": "showImage2",
"code": 1,
"image": "nanduxuanze.jpg",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "easy.png",
"loc": [
0,
64
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "anhard.png",
"loc": [
0,
192
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "ancheating.png",
"loc": [
0,
320
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "anhell.png",
"loc": [
0,
256
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "annormal.png",
"loc": [
0,
128
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "0easy.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "setValue",
"name": "flag:hard",
"value": "1"
},
{
"type": "while",
"condition": "1",
"data": [
{
"type": "wait"
},
{
"type": "if",
"condition": "flag:type==0",
"true": [
{
"type": "if",
"condition": "flag:keycode==13",
"true": [
{
"type": "setValue",
"name": "flag:xuanzhong",
"value": "1"
}
],
"false": []
},
{
"type": "if",
"condition": "flag:keycode==32",
"true": [
{
"type": "setValue",
"name": "flag:xuanzhong",
"value": "1"
}
],
"false": []
},
{
"type": "if",
"condition": "flag:keycode==38",
"true": [
{
"type": "setValue",
"name": "flag:hard",
"value": "flag:hard-1"
}
],
"false": []
},
{
"type": "if",
"condition": "flag:keycode==40",
"true": [
{
"type": "setValue",
"name": "flag:hard",
"value": "flag:hard+1"
}
],
"false": []
}
],
"false": [
{
"type": "if",
"condition": "flag:x<=3&&flag:y==2",
"true": [
{
"type": "if",
"condition": "flag:hard==1",
"true": [
{
"type": "setValue",
"name": "flag:xuanzhong",
"value": "1"
}
],
"false": [
{
"type": "setValue",
"name": "flag:hard",
"value": "1"
}
]
}
],
"false": []
},
{
"type": "if",
"condition": "flag:x<=3&&flag:y==4",
"true": [
{
"type": "if",
"condition": "flag:hard==2",
"true": [
{
"type": "setValue",
"name": "flag:xuanzhong",
"value": "1"
}
],
"false": [
{
"type": "setValue",
"name": "flag:hard",
"value": "2"
}
]
}
],
"false": []
},
{
"type": "if",
"condition": "flag:x<=3&&flag:y==6",
"true": [
{
"type": "if",
"condition": "flag:hard==3",
"true": [
{
"type": "setValue",
"name": "flag:xuanzhong",
"value": "1"
}
],
"false": [
{
"type": "setValue",
"name": "flag:hard",
"value": "3"
}
]
}
],
"false": []
},
{
"type": "if",
"condition": "flag:x<=3&&flag:y==8",
"true": [
{
"type": "if",
"condition": "flag:hard==4",
"true": [
{
"type": "setValue",
"name": "flag:xuanzhong",
"value": "1"
}
],
"false": [
{
"type": "setValue",
"name": "flag:hard",
"value": "4"
}
]
}
],
"false": []
},
{
"type": "if",
"condition": "flag:x<=3&&flag:y==10",
"true": [
{
"type": "if",
"condition": "flag:hard==5",
"true": [
{
"type": "setValue",
"name": "flag:xuanzhong",
"value": "1"
}
],
"false": [
{
"type": "setValue",
"name": "flag:hard",
"value": "5"
}
]
}
],
"false": []
}
]
},
{
"type": "if",
"condition": "flag:hard==6",
"true": [
{
"type": "setValue",
"name": "flag:hard",
"value": "1"
}
],
"false": []
},
{
"type": "if",
"condition": "flag:hard==0",
"true": [
{
"type": "setValue",
"name": "flag:hard",
"value": "5"
}
],
"false": []
},
{
"type": "if",
"condition": "flag:xuanzhong==1",
"true": [
{
"type": "function",
"function": "function(){\nswitch (core.getFlag(\"hard\")) {\n\t\tcase 1: core.insertAction([ {\"type\": \"choices\", \"text\": \"是否选择简单难度\", \"choices\": [\n {\"text\": \"是\", \"action\": [\n {\"type\": \"break\"},\n ]},\n {\"text\": \"否\", \"action\": [\n {\"type\": \"setValue\", \"name\": \"flag:xuanzhong\", \"value\": \"0\"},\n ]},\n ]},])\n\t\t\t break;\n\n\tcase 2:core.insertAction([ {\"type\": \"choices\", \"text\": \"是否选择中等难度\", \"choices\": [\n {\"text\": \"是\", \"action\": [\n {\"type\": \"break\"},\n ]},\n {\"text\": \"否\", \"action\": [\n {\"type\": \"setValue\", \"name\": \"flag:xuanzhong\", \"value\": \"0\"},\n ]},\n ]},])\n\t\t\t break;\n\t\tcase 3:core.insertAction([ {\"type\": \"choices\", \"text\": \"是否选择困难难度\", \"choices\": [\n {\"text\": \"是\", \"action\": [\n {\"type\": \"break\"},\n ]},\n {\"text\": \"否\", \"action\": [\n {\"type\": \"setValue\", \"name\": \"flag:xuanzhong\", \"value\": \"0\"},\n ]},\n ]},])\n\t\t\t break;\n\t\tcase 4:core.insertAction([ {\"type\": \"choices\", \"text\": \"是否选择噩梦难度\", \"choices\": [\n {\"text\": \"是\", \"action\": [\n {\"type\": \"break\"},\n ]},\n {\"text\": \"否\", \"action\": [\n {\"type\": \"setValue\", \"name\": \"flag:xuanzhong\", \"value\": \"0\"},\n ]},\n ]},])\n\t\tbreak;\n\tcase 5:core.insertAction([ {\"type\": \"choices\", \"text\": \"是否选择作弊难度\", \"choices\": [\n {\"text\": \"是\", \"action\": [\n {\"type\": \"break\"},\n ]},\n {\"text\": \"否\", \"action\": [\n {\"type\": \"setValue\", \"name\": \"flag:xuanzhong\", \"value\": \"0\"},\n ]},\n ]},])\n\t\t\n\t\t\t break;\n\t\t\n\n\t}\n}"
}
],
"false": [
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "nanduxuanze.jpg",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "if",
"condition": "flag:hard==1",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "0easy.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "easy.png",
"loc": [
0,
64
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
],
"false": [
{
"type": "showImage2",
"code": 1,
"image": "aneasy.png",
"loc": [
0,
64
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
]
},
{
"type": "if",
"condition": "flag:hard==2",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "0normal.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "normal.png",
"loc": [
0,
128
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
],
"false": [
{
"type": "showImage2",
"code": 1,
"image": "annormal.png",
"loc": [
0,
128
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
]
},
{
"type": "if",
"condition": "flag:hard==3",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "0hard.png",
"loc": [
20,
10
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "hard.png",
"loc": [
0,
192
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
],
"false": [
{
"type": "showImage2",
"code": 1,
"image": "anhard.png",
"loc": [
0,
192
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
]
},
{
"type": "if",
"condition": "flag:hard==4",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "0hell.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "hell.png",
"loc": [
0,
256
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
],
"false": [
{
"type": "showImage2",
"code": 1,
"image": "anhell.png",
"loc": [
0,
256
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
]
},
{
"type": "if",
"condition": "flag:hard==5",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "0cheating.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "cheating.png",
"loc": [
0,
320
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
],
"false": [
{
"type": "showImage2",
"code": 1,
"image": "ancheating.png",
"loc": [
0,
320
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
}
]
}
]
}
]
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"5,10": [
{
"type": "showImage2",
"code": 1,
"image": "biaoti.png",
"loc": [
0,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"name": "yecheng.jpg",
"from": [
0,
0
],
"to": [
0,
30
],
"time": 500
}
],
"7,10": [
{
"type": "setValue",
"name": "flag:yidong",
"value": "-32"
},
{
"type": "while",
"condition": "flag:yidong<448",
"data": [
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "function",
"function": "function(){\ncore.setFlag(\"yidong\",core.getFlag(\"yidong\")+4);\ncore.setFlag(\"yidong2\",core.getFlag(\"yidong2\",0)-1);\n core.insertAction([{\"type\": \"showImage2\", \"name\": \"fanyongshi.png\", \"loc\": [320,core.getFlag(\"yidong\")]},\n {\"type\": \"showImage2\", \"name\": \"tiantawai.png\", \"loc\": [0,core.getFlag(\"yidong2\")]}]);\n}"
},
{
"type": "sleep",
"time": 16
}
]
}
],
"0,12": [
{
"type": "showImage2",
"code": 1,
"image": "jiaozun.png",
"loc": [
240,
200
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "fuyi.png",
"loc": [
40,
70
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"1,12": [
{
"type": "showImage2",
"code": 1,
"image": "gongzhubuzaihu.png",
"loc": [
60,
60
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"2,12": [
{
"type": "showImage2",
"code": 1,
"image": "mei.png",
"loc": [
180,
80
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "sheng.png",
"loc": [
0,
30
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"3,12": [
{
"type": "showImage2",
"code": 1,
"image": "li.png",
"loc": [
60,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"4,12": [
{
"type": "showImage2",
"code": 1,
"image": "molong.png",
"loc": [
70,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"5,12": [
{
"type": "showImage2",
"code": 1,
"image": "yeming.png",
"loc": [
60,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"6,12": [
{
"type": "showImage2",
"code": 1,
"image": "xianzi.png",
"loc": [
80,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"7,12": [
{
"type": "showImage2",
"code": 1,
"image": "wangyue.png",
"loc": [
80,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"8,12": [
{
"type": "showImage2",
"code": 1,
"image": "haizhishijian.png",
"loc": [
110,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"9,12": [
{
"type": "showImage2",
"code": 1,
"image": "lvshe.png",
"loc": [
160,
60
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "kulouzhanshi.png",
"loc": [
-50,
0
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"10,12": [
{
"type": "showImage2",
"code": 1,
"image": "wangyangdan.png",
"loc": [
70,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "wait"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"11,12": [
{
"type": "showImage2",
"code": 1,
"image": "lvshe.png",
"loc": [
60,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "setText",
"position": "down",
"background": [
0,
0,
0,
1
],
"bold": null,
"time": 10
},
"\t[小妖精]欢迎使用事件编辑器(双击方块进入多行编辑)",
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"2,0": [
{
"type": "if",
"condition": "flag:1f==1",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"loc": [
80,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"不必在意,老头子活的时间长了..........老会胡思乱想一些东西。",
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"false": [
{
"type": "choices",
"text": "是否跳过剧情",
"choices": [
{
"text": "是",
"action": []
},
{
"text": "否",
"action": [
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"loc": [
60,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"刚进塔来的吗.......雪儿放你进来的?",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"loc": [
180,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"雪儿?那个仙子吗........?",
"...............",
"不要问不该问的,这对你没有好处.......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"loc": [
180,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"请问您是........",
"老朽只是一个塔里的闲人罢了..................",
"您在这么危险的地方.....一定有原因吧?",
"不愧是雪儿放进来的人呢........你说的没错,自从我儿子进塔再也没回来以后......我就一直在这里了。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"loc": [
180,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"您...您儿子..:!?",
"冒犯了......他怎么会来这种地方......",
"我不想多说......这里涉及的东西太多........你一个外人还是少知道点好........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"loc": [
180,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"..............(在意)",
"不必在意,老头子活的时间长了..........老会胡思乱想一些东西。",
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+1"
},
{
"type": "setValue",
"name": "flag:1f",
"value": "1"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
}
]
}
]
}
],
"3,0": [
{
"type": "setCurtain", "keep": true,
"color": [
0,
0,
0,
0
],
"time": 500
},
{
"type": "showImage2",
"code": 1,
"image": "jiekezixin.png",
"loc": [
200,
40
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"我的母亲早逝,我和父亲一直住在天塔附近的一个小村落里。",
"说起来这个小村落已经有些年头了,而且距离皇城也不是很远。",
"大致位置嘛.......大概就是皇城和天塔中间左右。",
{
"type": "showImage2",
"code": 1,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"你说的那个村子....是镇天谷吧........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "changeFloor",
"floorId": "jieke2",
"loc": [
-1,
0
]
},
{
"type": "trigger",
"loc": [
0,
0
]
}
],
"7,0": [
{
"type": "move",
"loc": [
7,
2
],
"time": 200,
"steps": [
"left",
"left",
"left",
"left",
"left",
"left",
"left",
"left"
],
"keep": true
}
],
"8,0": null,
"1,10": []
},
"changeFloor": {
"2,10": null
},
"afterBattle": {
"2,10": null
},
"afterGetItem": {
"2,10": null
},
"afterOpenDoor": {
"2,10": null
},
"cannotMove": {
"2,10": null
},
"map": [
[ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,123, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,372, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0,377, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 2, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0]
],
"bgmap": [
],
"fgmap": [
],
}