tianta/project/floors/CETAI.js
北海小羊 42ebe1f389 10.20
2022-10-22 04:00:12 +13:00

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