tianta/project/floors/CETAI.js
Erdnase c76037b27f 添加34层门谜题
修改部分剧情文字颜色
删除部分未删除的旧版剧情跳过
修复39层NPC跳跃位置错误
2023-05-18 22:42:21 +08:00

929 lines
39 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.CETAI=
{
"floorId": "CETAI",
"title": "侧台",
"name": "侧台",
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [
{
"name": "hua.png",
"canvas": "bg",
"x": 4,
"y": 8
}
],
"item_ratio": 1,
"firstArrive": [
{
"type": "trigger",
"loc": [
0,
0
]
}
],
"events": {
"11,6": {
"trigger": null,
"enable": false,
"noPass": null,
"animate": true,
"displayDamage": true,
"data": [
{
"type": "comment",
"text": "Azure:哇哈哈哈哈哈哈哈哈终于看到个短小的事件了"
},
{
"type": "showImage2",
"code": 1,
"image": "shengxiao.png",
"sloc": [
0,
0,
null
],
"loc": [
390,
30,
"285.6",
"482.4"
],
"dw": 100,
"dh": 100,
"opacity": 1,
"time": 0
},
"\t[邵虎]媚儿你啊.......什么时候能长大呢?",
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
},
"11,3": {
"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": "flag:cetaiJack标记是否进行过对话"
},
{
"type": "if",
"condition": "(flag:cetaiJack != 1)",
"true": [
{
"type": "if",
"condition": "(core.isReplaying()||flag:SkipThePlot)",
"true": [
{
"type": "setValue",
"name": "flag:SkipThePlot",
"value": "false"
},
{
"type": "setBlock",
"number": "23",
"loc": [
[
9,
3
]
]
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+1"
},
{
"type": "setValue",
"name": "flag:cetaiJack",
"value": "1"
}
],
"false": [
{
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "showImage2",
"code": 1,
"image": "jiekezixin.png",
"sloc": [
0,
0,
null
],
"loc": [
350,
75,
"289.6",
"376.8"
],
"opacity": 1,
"time": 0
},
"\t[杰克].........................",
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]杰克,你怎么跑这里来了?",
{
"type": "showImage2",
"code": 1,
"image": "jiekeyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
350,
75,
"289.6",
"376.8"
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[杰克].......老大?",
"\t[邵虎]怎么了?",
{
"type": "showImage2",
"code": 1,
"image": "jiekezixin.png",
"sloc": [
0,
0,
null
],
"loc": [
350,
75,
"289.6",
"376.8"
],
"opacity": 1,
"time": 0
},
"\t[杰克]没事,刚才在想一些事情........对了,老大的毒......",
{
"type": "if",
"condition": "core.getFlag(\"poison\",0)",
"true": [
"\t[邵虎]..........还没有解,不过已经找到了解毒药,很快就能解掉了。"
],
"false": [
"\t[邵虎]已经解过了,我找到了解毒药,现在感觉探索方便多了。"
]
},
"\t[杰克]这样啊......不过老大看上去气色还是不对啊。",
"\t[邵虎]..........你也看出来了?我也不知道怎么回事,感觉全身上下使不上力气。",
"\t[杰克]........你是不是被腐翼咬到了?",
"\t[邵虎]..........嗯。是这个缘故吗?",
"\t[杰克]没错,腐翼的毒牙拥有衰弱的能力。\r[#fb928b]在衰弱状态下老大的能力将会减半。",
"\t[杰克]要想解除,恐怕老大要拿到【解衰药水】才行。",
"\t[邵虎]【解衰药水】......好吧。我会留意的。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
11,
3
]
},
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage2",
"code": 1,
"image": "jiekezixin.png",
"sloc": [
0,
0,
null
],
"loc": [
350,
75,
"289.6",
"376.8"
],
"opacity": 1,
"time": 0
},
"\t[杰克]那个.........老大。",
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]怎么了?",
"\t[杰克]我想在这里多呆一会。你帮我留意一下我父亲的行踪好吗?",
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]这不是一开始就说好了的吗?我一定留心。你自己小心。",
"\t[杰克]知道了。",
"\t[杰克]那这把红钥匙给老大用吧。老大也....小心点。",
{
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setBlock",
"number": "23",
"loc": [
[
9,
3
]
]
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+1"
},
{
"type": "setValue",
"name": "flag:cetaiJack",
"value": "1"
}
]
}
],
"false": [
{
"type": "showImage2",
"code": 1,
"image": "jiekezixin.png",
"sloc": [
0,
0,
null
],
"loc": [
350,
75,
"289.6",
"376.8"
],
"opacity": 1,
"time": 0
},
"\t[杰克]............老大小心一些。",
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
}
]
},
"9,3": null,
"5,7": {
"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": "flag:123标记是否跟侧台仙子进行过对话"
},
{
"type": "if",
"condition": "(flag:123 != 1)",
"true": [
{
"type": "animate",
"name": "sangang",
"loc": [
5,
7
]
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+1"
},
{
"type": "showImage2",
"code": 1,
"image": "xianzi.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子]这花真漂亮呢,是吧......",
{
"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": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:123",
"value": "1"
}
],
"false": [
{
"type": "showImage2",
"code": 1,
"image": "xianzi.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子]这花真漂亮呢,是吧......",
"\t[守塔仙子]今后可能就需要我来照顾了吧。",
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
}
]
},
"11,5": {
"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脚本判定cetaiMeiQiShi的值"
},
{
"type": "function",
"function": "function(){\nif (core.getFlag(\"322\",0) == 1 ) {\n\tcore.setFlag(\"cetaiMeiQiShi\",1);\n}\nif (core.getFlag(\"338\",0) == 1 ) {\n\tcore.setFlag(\"cetaiMeiQiShi\",3);\n}\n}"
},
{
"type": "switch",
"condition": "flag:cetaiMeiQiShi",
"caseList": [
{
"case": "1",
"action": [
{
"type": "comment",
"text": "flag:322~20层全结束"
},
{
"type": "sleep",
"time": 1500
},
{
"type": "animate",
"name": "sangang",
"loc": [
9,
6
]
},
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]媚骑士.........你跑到这来干什么?",
{
"type": "showImage2",
"code": 2,
"image": "mei.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
328,
"413.6"
],
"opacity": 1,
"time": 0
},
"\t[媚骑士]这句话应该我问才对?",
"\t[邵虎]没事,我喜欢来这里透透气,这里空气和风景都挺不错的。",
{
"type": "showImage2",
"code": 2,
"image": "meimao.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
328,
"413.6"
],
"opacity": 1,
"time": 0
},
"\t[媚骑士]你还懂风景?",
{
"type": "showImage2",
"code": 2,
"image": "meidaxiao.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
328,
"413.6"
],
"opacity": 1,
"time": 0
},
"\t[媚骑士]我说邵弟弟,我给你讲个故事好不好?",
{
"type": "showImage2",
"code": 1,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]...................",
{
"type": "showImage2",
"code": 2,
"image": "meishihuai.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
328,
"413.6"
],
"opacity": 1,
"time": 0
},
"\t[媚骑士]从前,有一个可怜的小女孩出生在了一个佣兵家族。",
"\t[媚骑士]她从小就在战火中长大,拿着武器库中兵刃当成玩具,她的手中时常握着的,不是亲人的手,而是敌人的血。",
"\t[媚骑士]她很顽强,每次打了败仗,她总是笑着安慰其他男人。她很细心,总是偷偷跑到兵区唯一一个纺织工厂偷学手艺。",
"\t[媚骑士]她很贪玩,她习惯了笑着面对一切,似乎就像是本不应该出现在佣兵队伍里的一株绿色植物,总是太过生机。",
"\t[媚骑士]她有个从小玩到大的骑士哥哥,带着她加入了骑士团。她说她喜欢城市那种热闹喧嚣的氛围,但是她的工作确是让一座座城市沉寂。",
"\t[媚骑士]她的哥哥曾经多次劝她脱离骑士团去城市里面生活,过着快乐喧嚣的日子。但是她不肯,她不想离开带给她一切的哥哥。",
"\t[媚骑士]后来,骑士团在一场战争中被人打散。她和哥哥参加了守护皇城的皇家骑士团,然后,由于皇帝和某个人的约定,她和哥哥被派遣到了一个地方作为计划随从。",
"\t[媚骑士]她想念佣兵家族,想念曾经的骑士团,想念着每一座被她血刃的城池的繁荣。",
"\t[媚骑士]她就像一把绑着鲜花的刀,注定不会在花丛中生活。",
{
"type": "showImage2",
"code": 2,
"image": "meidaxiao.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
328,
"413.6"
],
"opacity": 1,
"time": 0
},
"\t[媚骑士]故事讲完了,邵弟弟,祝你好运咯~",
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]................(刚才的是....",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:cetaiMeiQiShi",
"value": "2"
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "flag:juqing+3"
}
]
},
{
"case": "2",
"action": [
{
"type": "comment",
"text": "媚骑士讲完故事后再次对话"
},
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]....................",
{
"type": "showImage2",
"code": 2,
"image": "mei.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
328,
"413.6"
],
"opacity": 1,
"time": 0
},
"\t[媚骑士]嘘~~~~~~~嘘~~~~~~~~(吹口哨中)",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
}
]
},
{
"case": "3",
"action": [
{
"type": "comment",
"text": "flag:338~-10层可以去死了"
},
{
"type": "showImage2",
"code": 2,
"image": "meidaxiao.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
328,
"413.6"
],
"opacity": 1,
"time": 0
},
"\t[媚骑士]圣哥,听说天枢城的麻薯糕挺好吃的,改天带我去尝尝吧。",
{
"type": "hideImage",
"code": 2,
"time": 0
}
]
}
]
}
]
},
"2,6": null,
"1,0": [
{
"type": "animate",
"name": "shenglvehao",
"loc": [
10,
4
]
},
{
"type": "move",
"loc": [
11,
4
],
"time": 500,
"keep": true,
"steps": [
"left:1"
]
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
10,
4
]
},
{
"type": "jump",
"from": [
10,
4
],
"to": [
12,
4
],
"time": 500
},
{
"type": "animate",
"name": "wenhao",
"loc": "hero"
}
]
},
"changeFloor": {
"2,6": {
"floorId": "MT9",
"loc": [
12,
4
],
"time": 200
},
"9,3": null
},
"afterBattle": {
"9,3": null
},
"afterGetItem": {
"9,3": null
},
"afterOpenDoor": {
"9,3": null
},
"cannotMove": {
"9,3": null
},
"map": [
[ 0,345,350,350,350,350,350,350,350,350,350,350,350,351, 0],
[ 0,348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 4, 4, 3, 0, 0,123, 4,352, 0],
[ 0,348, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 4,352, 0],
[ 0,348, 0, 0, 0, 0, 0, 0, 0, 0, 0,341, 4,352, 0],
[ 0,348, 89, 0, 0, 0, 0, 0, 0, 0, 0,242, 4,352, 0],
[ 0,348, 3, 3, 3,124, 3, 3, 3, 3, 3, 3, 4,352, 0],
[ 0,348, 3, 15, 15,532, 15, 15, 3, 4, 4, 4, 4,352, 0],
[ 0,348, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 4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