Compare commits

..

2 Commits

Author SHA1 Message Date
9e4d6262c7 Merge branch 'noAnimate' into hasAnimate 2022-12-30 18:38:58 +08:00
7add89690c 新增一个插件用于仿RM的跳过剧情
修改了0-10层(不含隐藏)跳过剧情的表现
2022-12-30 18:36:34 +08:00
10 changed files with 2431 additions and 1919 deletions

View File

@ -367,6 +367,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"tawaijiuren.png", "tawaijiuren.png",
"terrains.png", "terrains.png",
"tiantawai.png", "tiantawai.png",
"tiaojuqing.png",
"tr003.jpg", "tr003.jpg",
"wangyangdan.png", "wangyangdan.png",
"wangyangqianxiao.png", "wangyangqianxiao.png",

View File

@ -522,101 +522,23 @@ main.floors.MT0=
], ],
"8,8": [ "8,8": [
{ {
"type": "choices", "type": "if",
"text": "是否跳过剧情", "condition": "(core.isReplaying()||flag:SkipThePlot)",
"choices": [ "true": [
{ {
"text": "是", "type": "setValue",
"action": [ "name": "flag:SkipThePlot",
{ "value": "false"
"type": "hide",
"remove": true,
"time": 500
},
{
"type": "setBlock",
"number": "fairy",
"loc": [
[
9,
6
]
],
"time": 500
}
]
}, },
{ {
"text": "否", "type": "hide",
"action": [ "remove": true,
{ "time": 500
"type": "sleep", },
"time": 1000 {
}, "type": "if",
{ "condition": "(core.getBlock(8,6)===null)",
"type": "animate", "true": [
"name": "sangang",
"loc": "hero"
},
{
"type": "sleep",
"time": 3000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 500
},
"\t[邵虎]什么人!",
{
"type": "sleep",
"time": 2000
},
{
"type": "animate",
"name": "shenglvehao",
"loc": "hero"
},
{
"type": "sleep",
"time": 3000
},
"\t[邵虎]我知道你在那里......快给我出来。",
{
"type": "sleep",
"time": 1000
},
{
"type": "playSound",
"name": "magic.mp3",
"stop": true
},
{
"type": "animate",
"name": "STzhanshen",
"loc": [
8,
6
],
"async": true
},
{ {
"type": "setBlock", "type": "setBlock",
"number": "fairy", "number": "fairy",
@ -627,230 +549,374 @@ main.floors.MT0=
] ]
], ],
"time": 500 "time": 500
},
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 1,
"image": "xianzileng.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 1000
},
"\t[???]................",
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]........(女孩子!?)",
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]........(漂浮在半空中的女孩子......是妖精吗?)",
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage2",
"code": 1,
"image": "xianzi.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 1000
},
"\t[???]你......你好.........",
"\t[邵虎]........你是谁........",
"\t[???]我是这座塔的守塔仙子........",
"\t[守塔仙子]邵....啊不.....这位勇士,请你回去吧。塔里过于凶险..........",
"\t[邵虎]谢谢你的好意....不过我还是要进去的。",
"\t[守塔仙子]为什么......这座塔并没有什么宝藏,也不值得你来探索......",
"\t[邵虎]仙子,有些事情是不可以选择的。",
"\t[守塔仙子]啊..............",
"\t[邵虎]有些事情是自己必须要去做的......你明白吗?",
"\t[守塔仙子]你.......你是指.........",
"\t[邵虎]我想守护的人和教我怎样守护别人的人在里面,我怕他们有危险,所以我必须走这一趟。",
{
"type": "showImage2",
"code": 1,
"image": "xianzileng.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
"\t[守塔仙子]是吗......(我也......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
8,
6
]
},
{
"type": "showImage2",
"code": 1,
"image": "xianzileng.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
"\t[守塔仙子](是为了爱的坚持吗......",
"\t[守塔仙子](我没理由阻拦他呢......",
{
"type": "showImage2",
"code": 1,
"image": "xianziwunai.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
"\t[守塔仙子]既、既然你一定要进塔的话,一定要小心啊。",
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]放心。(她好像还有什么想说的?)",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "move",
"loc": [
8,
6
],
"time": 500,
"keep": true,
"steps": [
"right:1"
]
} }
] ]
},
{
"type": "move",
"loc": [
8,
6
],
"time": 100,
"keep": true,
"steps": [
"right:1"
]
}
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
},
{
"type": "sleep",
"time": 1000
},
{
"type": "animate",
"name": "sangang",
"loc": "hero"
},
{
"type": "sleep",
"time": 3000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 500
},
"\t[邵虎]什么人!",
{
"type": "sleep",
"time": 2000
},
{
"type": "animate",
"name": "shenglvehao",
"loc": "hero"
},
{
"type": "sleep",
"time": 3000
},
"\t[邵虎]我知道你在那里......快给我出来。",
{
"type": "sleep",
"time": 1000
},
{
"type": "playSound",
"name": "magic.mp3",
"stop": true
},
{
"type": "animate",
"name": "STzhanshen",
"loc": [
8,
6
],
"async": true
},
{
"type": "setBlock",
"number": "fairy",
"loc": [
[
8,
6
]
],
"time": 500
},
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 1,
"image": "xianzileng.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 1000
},
"\t[???]................",
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]........(女孩子!?)",
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]........(漂浮在半空中的女孩子......是妖精吗?)",
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage2",
"code": 1,
"image": "xianzi.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 1000
},
"\t[???]你......你好.........",
"\t[邵虎]........你是谁........",
"\t[???]我是这座塔的守塔仙子........",
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
},
"\t[守塔仙子]邵....啊不.....这位勇士,请你回去吧。塔里过于凶险..........",
"\t[邵虎]谢谢你的好意....不过我还是要进去的。",
"\t[守塔仙子]为什么......这座塔并没有什么宝藏,也不值得你来探索......",
"\t[邵虎]仙子,有些事情是不可以选择的。",
"\t[守塔仙子]啊..............",
"\t[邵虎]有些事情是自己必须要去做的......你明白吗?",
"\t[守塔仙子]你.......你是指.........",
"\t[邵虎]我想守护的人和教我怎样守护别人的人在里面,我怕他们有危险,所以我必须走这一趟。",
{
"type": "showImage2",
"code": 1,
"image": "xianzileng.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
"\t[守塔仙子]是吗......(我也......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
8,
6
]
},
{
"type": "showImage2",
"code": 1,
"image": "xianzileng.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
"\t[守塔仙子](是为了爱的坚持吗......",
"\t[守塔仙子](我没理由阻拦他呢......",
{
"type": "showImage2",
"code": 1,
"image": "xianziwunai.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
50,
320,
480
],
"opacity": 1,
"time": 500
},
"\t[守塔仙子]既、既然你一定要进塔的话,一定要小心啊。",
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]放心。(她好像还有什么想说的?)",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "move",
"loc": [
8,
6
],
"time": 500,
"keep": true,
"steps": [
"right:1"
]
} }
] ]
}, },

View File

@ -60,202 +60,251 @@ main.floors.MT1=
], ],
"false": [ "false": [
{ {
"type": "choices", "type": "if",
"text": "是否跳过剧情", "condition": "(core.isReplaying()||flag:SkipThePlot)",
"choices": [ "true": [
{ {
"text": "是", "type": "setValue",
"action": [] "name": "flag:SkipThePlot",
"value": "false"
}
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
}, },
{ {
"text": "否", "type": "moveImage",
"action": [ "code": 10,
{ "to": [
"type": "showImage2", 400,
"code": 1, 0
"image": "npcnan.png", ],
"sloc": [ "time": 500
0, },
0, {
null "type": "setValue",
], "name": "flag:useS_PASS",
"loc": [ "value": "true"
330, },
70, {
"304.8", "type": "showImage2",
"432.8" "code": 1,
], "image": "npcnan.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[老人]刚进塔来的吗.......雪儿放你进来的?", null
{ ],
"type": "showImage2", "loc": [
"code": 1, 330,
"image": "npcnan.png", 70,
"sloc": [ "304.8",
0, "432.8"
0, ],
null "opacity": 1,
], "time": 0
"loc": [ },
330, "\t[老人]刚进塔来的吗.......雪儿放你进来的?",
70, {
"304.8", "type": "showImage2",
"432.8" "code": 1,
], "image": "npcnan.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
{ null
"type": "showImage2", ],
"code": 2, "loc": [
"image": "shaohuyilv.png", 330,
"sloc": [ 70,
0, "304.8",
0, "432.8"
null ],
], "opacity": 1,
"loc": [ "time": 0
80, },
50, {
"291.2", "type": "showImage2",
"466.4" "code": 2,
], "image": "shaohuyilv.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[邵虎]雪儿?那个仙子吗........?", null
"\t[老人]...............", ],
"\t[老人]不要问不该问的,这对你没有好处.......", "loc": [
{ 80,
"type": "showImage2", 50,
"code": 1, "291.2",
"image": "npcnan.png", "466.4"
"sloc": [ ],
0, "opacity": 1,
0, "time": 0
null },
], "\t[邵虎]雪儿?那个仙子吗........?",
"loc": [ "\t[老人]...............",
330, "\t[老人]不要问不该问的,这对你没有好处.......",
70, {
"304.8", "type": "showImage2",
"432.8" "code": 1,
], "image": "npcnan.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
{ null
"type": "showImage2", ],
"code": 2, "loc": [
"image": "shaohusikao.png", 330,
"sloc": [ 70,
0, "304.8",
0, "432.8"
null ],
], "opacity": 1,
"loc": [ "time": 0
80, },
50, {
"291.2", "type": "showImage2",
"466.4" "code": 2,
], "image": "shaohusikao.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[邵虎]请问您是........", null
"\t[老人]老朽只是一个塔里的闲人罢了..................", ],
"\t[邵虎]您在这么危险的地方.....一定有原因吧?", "loc": [
"\t[老人]不愧是雪儿放进来的人呢........你说的没错,自从我儿子进塔再也没回来以后......我就一直在这里了。", 80,
{ 50,
"type": "showImage2", "291.2",
"code": 1, "466.4"
"image": "npcnan.png", ],
"sloc": [ "opacity": 1,
0, "time": 0
0, },
null "\t[邵虎]请问您是........",
], "\t[老人]老朽只是一个塔里的闲人罢了..................",
"loc": [ "\t[邵虎]您在这么危险的地方.....一定有原因吧?",
330, "\t[老人]不愧是雪儿放进来的人呢........你说的没错,自从我儿子进塔再也没回来以后......我就一直在这里了。",
70, {
"304.8", "type": "showImage2",
"432.8" "code": 1,
], "image": "npcnan.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
{ null
"type": "showImage2", ],
"code": 2, "loc": [
"image": "shaohuyilv.png", 330,
"sloc": [ 70,
0, "304.8",
0, "432.8"
null ],
], "opacity": 1,
"loc": [ "time": 0
80, },
50, {
"291.2", "type": "showImage2",
"466.4" "code": 2,
], "image": "shaohuyilv.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[邵虎]您...您儿子..!?", null
"\t[邵虎]冒犯了......他怎么会来这种地方......", ],
"\t[老人]我不想多说......这里涉及的东西太多........你一个外人还是少知道点好........", "loc": [
{ 80,
"type": "showImage2", 50,
"code": 1, "291.2",
"image": "npcnan.png", "466.4"
"sloc": [ ],
0, "opacity": 1,
0, "time": 0
null },
], "\t[邵虎]您...您儿子..!?",
"loc": [ "\t[邵虎]冒犯了......他怎么会来这种地方......",
330, "\t[老人]我不想多说......这里涉及的东西太多........你一个外人还是少知道点好........",
70, {
"304.8", "type": "showImage2",
"432.8" "code": 1,
], "image": "npcnan.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
{ null
"type": "showImage2", ],
"code": 2, "loc": [
"image": "shaohusikao.png", 330,
"sloc": [ 70,
0, "304.8",
0, "432.8"
null ],
], "opacity": 1,
"loc": [ "time": 0
80, },
50, {
"291.2", "type": "showImage2",
"466.4" "code": 2,
], "image": "shaohusikao.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[邵虎]..............(在意)", null
"\t[老人]不必在意,老头子活的时间长了..........老会胡思乱想一些东西。", ],
{ "loc": [
"type": "hideImage", 80,
"code": 1, 50,
"time": 0 "291.2",
}, "466.4"
{ ],
"type": "hideImage", "opacity": 1,
"code": 2, "time": 0
"time": 0 },
} "\t[邵虎]..............(在意)",
] "\t[老人]不必在意,老头子活的时间长了..........老会胡思乱想一些东西。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
} }
] ]
}, },

View File

@ -16,213 +16,261 @@ main.floors.MT10=
"name": "misjiqing.mp3" "name": "misjiqing.mp3"
}, },
{ {
"type": "choices", "type": "if",
"text": "是否跳过剧情", "condition": "(core.isReplaying()||flag:SkipThePlot)",
"choices": [ "true": [
{ {
"text": "是", "type": "setValue",
"action": [ "name": "flag:SkipThePlot",
{ "value": "false"
"type": "setValue",
"name": "flag:skip10FStory",
"value": "1"
},
{
"type": "hide",
"time": 0
},
{
"type": "trigger",
"loc": [
1,
0
]
}
]
}, },
{ {
"text": "否", "type": "setValue",
"action": [ "name": "flag:skip10FStory",
{ "value": "1"
"type": "sleep", },
"time": 1000 {
}, "type": "hide",
{ "time": 0
"type": "showImage2", },
"code": 1, {
"image": "kulouzhanshi.png", "type": "trigger",
"sloc": [ "loc": [
0, 1,
0, 0
null ]
], }
"loc": [ ],
100, "false": [
70, {
"333.6", "type": "showImage2",
444 "code": 10,
], "image": "tiaojuqing.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[嗜骨].........", null
{ ],
"type": "sleep", "loc": [
"time": 500 700,
}, 0,
"\t[嗜骨].........(咽口水)", 243,
{ "71.25"
"type": "sleep", ],
"time": 500 "opacity": 1,
}, "time": 0
"\t[嗜骨]......来......来了你.......", },
{ {
"type": "sleep", "type": "moveImage",
"time": 1000 "code": 10,
}, "to": [
"\t[嗜骨]就....就.......就算你来了........也不ー定能赢我.......!!", 400,
{ 0
"type": "sleep", ],
"time": 500 "time": 500
}, },
"\t[嗜骨]拼了!!!(该死的守塔仙子放进来了个什么怪物.......我哭。。。)", {
{ "type": "setValue",
"type": "sleep", "name": "flag:useS_PASS",
"time": 1000 "value": "true"
}, },
{ {
"type": "showImage2", "type": "sleep",
"code": 2, "time": 1000
"image": "shaohuzixin.png", },
"sloc": [ {
0, "type": "showImage2",
0, "code": 1,
null "image": "kulouzhanshi.png",
], "sloc": [
"loc": [ 0,
300, 0,
50, null
"291.2", ],
"466.4" "loc": [
], 100,
"opacity": 1, 70,
"time": 0 "333.6",
}, 444
"\t[邵虎]等一下。", ],
{ "opacity": 1,
"type": "sleep", "time": 0
"time": 500 },
}, "\t[嗜骨].........",
"\t[嗜骨]??你不杀我了吗......", {
"\t[嗜骨]啊不对.......你不和我打了吗??", "type": "sleep",
{ "time": 500
"type": "sleep", },
"time": 1000 "\t[嗜骨].........(咽口水)",
}, {
"\t[邵虎]你是不是知道公主殿下的位置。", "type": "sleep",
{ "time": 500
"type": "sleep", },
"time": 1500 "\t[嗜骨]......来......来了你.......",
}, {
"\t[嗜骨]........................", "type": "sleep",
{ "time": 1000
"type": "sleep", },
"time": 1000 "\t[嗜骨]就....就.......就算你来了........也不ー定能赢我.......!!",
}, {
"\t[嗜骨]........................", "type": "sleep",
{ "time": 500
"type": "sleep", },
"time": 1500 "\t[嗜骨]拼了!!!(该死的守塔仙子放进来了个什么怪物.......我哭。。。)",
}, {
"\t[邵虎]你就说知道不知道。", "type": "sleep",
{ "time": 1000
"type": "sleep", },
"time": 1000 {
}, "type": "showImage2",
"\t[嗜骨]........................", "code": 2,
{ "image": "shaohuzixin.png",
"type": "sleep", "sloc": [
"time": 500 0,
}, 0,
"\t[嗜骨]....................不", null
{ ],
"type": "sleep", "loc": [
"time": 500 300,
}, 50,
"\t[嗜骨].......不知............", "291.2",
{ "466.4"
"type": "sleep", ],
"time": 500 "opacity": 1,
}, "time": 0
"\t[嗜骨]...................如果我说了的话...你可不可以放过我啊........", },
"\t[邵虎]当然,看你的态度可以。", "\t[邵虎]等一下。",
{ {
"type": "sleep", "type": "sleep",
"time": 1000 "time": 500
}, },
"\t[邵虎]但是,你得把上面的给你传达的消息。一字不漏的全都告诉我。当然也包括公主的位置。", "\t[嗜骨]??你不杀我了吗......",
{ "\t[嗜骨]啊不对.......你不和我打了吗??",
"type": "sleep", {
"time": 500 "type": "sleep",
}, "time": 1000
"\t[嗜骨]........这好办.....我........", },
{ "\t[邵虎]你是不是知道公主殿下的位置。",
"type": "sleep", {
"time": 500 "type": "sleep",
}, "time": 1500
"\t[嗜骨]..........其实.......", },
{ "\t[嗜骨]........................",
"type": "sleep", {
"time": 2000 "type": "sleep",
}, "time": 1000
{ },
"type": "hideImage", "\t[嗜骨]........................",
"code": 1, {
"time": 0 "type": "sleep",
}, "time": 1500
{ },
"type": "hideImage", "\t[邵虎]你就说知道不知道。",
"code": 2, {
"time": 0 "type": "sleep",
}, "time": 1000
{ },
"type": "setVolume", "\t[嗜骨]........................",
"value": 0, {
"time": 1000 "type": "sleep",
}, "time": 500
{ },
"type": "setVolume", "\t[嗜骨]....................不",
"value": 100, {
"time": 500 "type": "sleep",
}, "time": 500
{ },
"type": "playBgm", "\t[嗜骨].......不知............",
"name": "longyingsuifeng.mp3" {
}, "type": "sleep",
{ "time": 500
"type": "hide", },
"time": 0 "\t[嗜骨]...................如果我说了的话...你可不可以放过我啊........",
}, "\t[邵虎]当然,看你的态度可以。",
{ {
"type": "function", "type": "sleep",
"function": "function(){\ncore.maskPrepare();\n}" "time": 1000
}, },
{ "\t[邵虎]但是,你得把上面的给你传达的消息。一字不漏的全都告诉我。当然也包括公主的位置。",
"type": "changeFloor", {
"floorId": "huxiao1", "type": "sleep",
"loc": [ "time": 500
0, },
-1 "\t[嗜骨]........这好办.....我........",
], {
"time": 0 "type": "sleep",
}, "time": 500
{ },
"type": "trigger", "\t[嗜骨]..........其实.......",
"loc": [ {
1, "type": "setValue",
0 "name": "flag:useS_PASS",
] "value": "false"
} },
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
},
{
"type": "sleep",
"time": 2000
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setVolume",
"value": 0,
"time": 1000
},
{
"type": "setVolume",
"value": 100,
"time": 500
},
{
"type": "playBgm",
"name": "longyingsuifeng.mp3"
},
{
"type": "hide",
"time": 0
},
{
"type": "function",
"function": "function(){\ncore.maskPrepare();\n}"
},
{
"type": "changeFloor",
"floorId": "huxiao1",
"loc": [
0,
-1
],
"time": 0
},
{
"type": "trigger",
"loc": [
1,
0
] ]
} }
] ]

File diff suppressed because it is too large Load Diff

View File

@ -46,72 +46,121 @@ main.floors.MT6=
], ],
"false": [ "false": [
{ {
"type": "choices", "type": "if",
"text": "是否跳过剧情", "condition": "(core.isReplaying()||flag:SkipThePlot)",
"choices": [ "true": [
{ {
"text": "是", "type": "setValue",
"action": [] "name": "flag:SkipThePlot",
"value": "false"
}
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
}, },
{ {
"text": "否", "type": "moveImage",
"action": [ "code": 10,
{ "to": [
"type": "showImage2", 400,
"code": 1, 0
"image": "npcnan.png", ],
"sloc": [ "time": 500
0, },
0, {
null "type": "setValue",
], "name": "flag:useS_PASS",
"loc": [ "value": "true"
330, },
70, {
"304.8", "type": "showImage2",
"432.8" "code": 1,
], "image": "npcnan.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[老人]我怎么不认识你.........你是镇天谷的人吗?", null
{ ],
"type": "showImage2", "loc": [
"code": 2, 330,
"image": "shaohusikao.png", 70,
"sloc": [ "304.8",
0, "432.8"
0, ],
null "opacity": 1,
], "time": 0
"loc": [ },
80, "\t[老人]我怎么不认识你.........你是镇天谷的人吗?",
50, {
"291.2", "type": "showImage2",
"466.4" "code": 2,
], "image": "shaohusikao.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[邵虎]镇...镇天谷?", null
"\t[老人]........", ],
"\t[邵虎]抱歉,我不是镇天谷的人", "loc": [
"\t[老人]是吗......不是镇天谷的人也可以到这个塔里来嘛......时代真是变了......呵呵", 80,
"\t[邵虎].........请问..........镇天谷与这座塔有什么关系吗?", 50,
"\t[老人]顾名思义啊........镇天,意为震慑天塔.....", "291.2",
"\t[邵虎]......啊.........", "466.4"
"\t[老人]呵呵......很吃惊吗?不过也不能怪你......如今这世道知道天塔是为何修建的人已经太少了......", ],
{ "opacity": 1,
"type": "hideImage", "time": 0
"code": 1, },
"time": 0 "\t[邵虎]镇...镇天谷?",
}, "\t[老人]........",
{ "\t[邵虎]抱歉,我不是镇天谷的人",
"type": "hideImage", "\t[老人]是吗......不是镇天谷的人也可以到这个塔里来嘛......时代真是变了......呵呵",
"code": 2, "\t[邵虎].........请问..........镇天谷与这座塔有什么关系吗?",
"time": 0 "\t[老人]顾名思义啊........镇天,意为震慑天塔.....",
} "\t[邵虎]......啊.........",
] "\t[老人]呵呵......很吃惊吗?不过也不能怪你......如今这世道知道天塔是为何修建的人已经太少了......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
} }
] ]
}, },

View File

@ -22,71 +22,139 @@ main.floors.MT7=
"value": "1" "value": "1"
}, },
{ {
"type": "choices", "type": "if",
"text": "是否跳过剧情", "condition": "(core.isReplaying()||flag:SkipThePlot)",
"choices": [ "true": [
{ {
"text": "是", "type": "setValue",
"action": [] "name": "flag:SkipThePlot",
"value": "false"
}
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
}, },
{ {
"text": "否", "type": "moveImage",
"action": [ "code": 10,
{ "to": [
"type": "showImage2", 400,
"code": 1, 0
"image": "npcnv.png", ],
"sloc": [ "time": 500
0, },
0, {
null "type": "setValue",
], "name": "flag:useS_PASS",
"loc": [ "value": "true"
330, },
70, {
"287.2", "type": "showImage2",
"417.6" "code": 1,
], "image": "npcnv.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
{ null
"type": "showImage2", ],
"code": 1, "loc": [
"image": "npcnv.png", 330,
"sloc": [ 70,
0, "287.2",
0, "417.6"
null ],
], "opacity": 1,
"loc": [ "time": 0
330, },
70, {
"287.2", "type": "showImage2",
"417.6" "code": 1,
], "image": "npcnv.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
"\t[女人]啊.........", null
{ ],
"type": "showImage2", "loc": [
"code": 1, 330,
"image": "npcnv.png", 70,
"sloc": [ "287.2",
0, "417.6"
0, ],
null "opacity": 1,
], "time": 0
"loc": [ },
330, "\t[女人]啊.........",
70, {
"287.2", "type": "showImage2",
"417.6" "code": 1,
], "image": "npcnv.png",
"opacity": 1, "sloc": [
"time": 0 0,
}, 0,
null
],
"loc": [
330,
70,
"287.2",
"417.6"
],
"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": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "if",
"condition": "(flag:juqing>=1)",
"true": [
{ {
"type": "showImage2", "type": "showImage2",
"code": 2, "code": 2,
@ -105,10 +173,44 @@ main.floors.MT7=
"opacity": 1, "opacity": 1,
"time": 0 "time": 0
}, },
"\t[邵虎]请问你是........", {
"\t[女人]抱歉......你刚才看到一个棕色头发的男孩了吗?", "type": "showImage2",
"\t[邵虎]........好像在五层楼的时候有看到........怎么了.......?", "code": 1,
"\t[女人]没.........没什么........", "image": "npcnv.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"287.2",
"417.6"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]对了,我有几个问想要请教。",
"\t[女人]啊......问我问题啊...........好,你说吧。",
"\t[邵虎]我听说这座塔与镇天谷有关系,请问这是什么关系呢?",
"\t[女人]这个啊.........你不是镇天谷的人吧?",
"\t[邵虎]实不相瞒,我是刚刚来到天塔的。",
"\t[女人]是行商吗........这么小的年纪......",
"\t[女人]不过你说的镇天谷与天塔的关系我倒是可以说一点给你听。",
"\t[女人]你知道200年前天枢与邻国的那场战争吗?",
"\t[邵虎]我听说过,好像天塔就是那个时候建造的",
"\t[女人]没错,天塔位于天枢与邻国的边界。",
"\t[女人]这座塔就是为了纪念这场战争而建造。",
"\t[女人]不过我倒是有些疑问。",
"\t[邵虎]什么疑问?",
"\t[女人]既然战争胜利了为什么要建塔?而不是建个碑什么的......",
"\t[邵虎]............",
{
"type": "setValue",
"name": "flag:7fduihua2",
"value": "1"
},
{ {
"type": "hideImage", "type": "hideImage",
"code": 1, "code": 1,
@ -120,102 +222,49 @@ main.floors.MT7=
"time": 0 "time": 0
}, },
{ {
"type": "if", "type": "setValue",
"condition": "(flag:juqing>=1)", "name": "flag:useS_PASS",
"true": [ "value": "false"
{ },
"type": "showImage2", {
"code": 2, "type": "moveImage",
"image": "shaohusikao.png", "code": 10,
"sloc": [ "to": [
0, 700,
0, 0
null
],
"loc": [
80,
50,
"291.2",
"466.4"
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "npcnv.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
70,
"287.2",
"417.6"
],
"opacity": 1,
"time": 0
},
"\t[邵虎]对了,我有几个问想要请教。",
"\t[女人]啊......问我问题啊...........好,你说吧。",
"\t[邵虎]我听说这座塔与镇天谷有关系,请问这是什么关系呢?",
"\t[女人]这个啊.........你不是镇天谷的人吧?",
"\t[邵虎]实不相瞒,我是刚刚来到天塔的。",
"\t[女人]是行商吗........这么小的年纪......",
"\t[女人]不过你说的镇天谷与天塔的关系我倒是可以说一点给你听。",
"\t[女人]你知道200年前天枢与邻国的那场战争吗?",
"\t[邵虎]我听说过,好像天塔就是那个时候建造的",
"\t[女人]没错,天塔位于天枢与邻国的边界。",
"\t[女人]这座塔就是为了纪念这场战争而建造。",
"\t[女人]不过我倒是有些疑问。",
"\t[邵虎]什么疑问?",
"\t[女人]既然战争胜利了为什么要建塔?而不是建个碑什么的......",
"\t[邵虎]............",
{
"type": "setValue",
"name": "flag:7fduihua2",
"value": "1"
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
}
], ],
"false": [ "time": 500
{ },
"type": "showImage2", {
"code": 2, "type": "hideImage",
"image": "shaohusikao.png", "code": 10,
"sloc": [ "time": 0
0, }
0, ],
null "false": [
], {
"loc": [ "type": "showImage2",
80, "code": 2,
50, "image": "shaohusikao.png",
"291.2", "sloc": [
"466.4" 0,
], 0,
"opacity": 1, null
"time": 0 ],
}, "loc": [
"............", 80,
{ 50,
"type": "hideImage", "291.2",
"code": 1, "466.4"
"time": 0 ],
} "opacity": 1,
] "time": 0
},
"............",
{
"type": "hideImage",
"code": 1,
"time": 0
} }
] ]
} }

View File

@ -20,179 +20,227 @@ main.floors.MT9=
"events": { "events": {
"1,0": [ "1,0": [
{ {
"type": "choices", "type": "if",
"text": "是否跳过剧情", "condition": "(core.isReplaying()||flag:SkipThePlot)",
"choices": [ "true": [
{ {
"text": "是", "type": "setValue",
"action": [ "name": "flag:SkipThePlot",
{ "value": "false"
"type": "hide", },
"loc": [ {
[ "type": "hide",
8, "loc": [
3 [
] 8,
], 3
"time": 0 ]
}, ],
{ "time": 0
"type": "hide", },
"loc": [ {
[ "type": "hide",
9, "loc": [
3 [
] 9,
], 3
"time": 0 ]
} ],
"time": 0
}
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
},
{
"type": "move",
"loc": [
9,
3
],
"time": 500,
"steps": [
"right:3"
] ]
}, },
{ {
"text": "否", "type": "showImage2",
"action": [ "code": 1,
{ "image": "kulouzhanshi.png",
"type": "move", "sloc": [
"loc": [ 0,
9, 0,
3 null
], ],
"time": 500, "loc": [
"steps": [ 100,
"right:3" 70,
] "333.6",
}, 444
{ ],
"type": "showImage2", "opacity": 1,
"code": 1, "time": 0
"image": "kulouzhanshi.png", },
"sloc": [ {
0, "type": "sleep",
0, "time": 1000
null },
], "\t[嗜骨]海骑士大人您走好~~~",
"loc": [ "\t[嗜骨]常来呀海骑士大人~~~\n小的升官可都靠您啦~~~",
100, "\t[嗜骨]海骑士大人您慢走~~~",
70, {
"333.6", "type": "sleep",
444 "time": 1500
], },
"opacity": 1, {
"time": 0 "type": "animate",
}, "name": "shenglvehao",
{ "loc": [
"type": "sleep", 8,
"time": 1000 3
},
"\t[嗜骨]海骑士大人您走好~~~",
"\t[嗜骨]常来呀海骑士大人~~~\n小的升官可都靠您啦~~~",
"\t[嗜骨]海骑士大人您慢走~~~",
{
"type": "sleep",
"time": 1500
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
8,
3
]
},
{
"type": "sleep",
"time": 1000
},
"\t[嗜骨]走了........",
{
"type": "sleep",
"time": 500
},
"\t[嗜骨]呼.......终于走了.........",
"\t[嗜骨]这天塔之主还真是难伺候啊。。。生怕说错了话。。。",
"\t[嗜骨]不过毒尾那家伙倒是跟海骑士挺熟的........",
"\t[嗜骨]看她跟海骑士说话都别别扭扭的。。。",
{
"type": "sleep",
"time": 1500
},
"\t[嗜骨]不过海骑士带来的消息还真是吓人啊。。",
"\t[嗜骨]抓住了公主.......难道下一步真的是.........",
"\t[嗜骨]这下天塔要出大事了.......不知道''我们''与镇天联盟下一步都会怎么走这步棋啊.......",
"\t[嗜骨]万一对''我们'',不利就糟了...........",
"\t[嗜骨]而且听探子说守塔仙子放进来一个非镇天联盟的人.......这是怎么回事.........",
{
"type": "sleep",
"time": 500
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
8,
3
]
},
{
"type": "sleep",
"time": 2000
},
{
"type": "animate",
"name": "hanyou",
"loc": [
8,
3
]
},
{
"type": "sleep",
"time": 1000
},
"\t[嗜骨]哇靠!!老子离地面这么近不会第一个就来找我吧!?",
{
"type": "sleep",
"time": 500
},
"\t[嗜骨]况且好不容易拿到十层天塔掌控权........",
{
"type": "sleep",
"time": 500
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
8,
3
]
},
{
"type": "sleep",
"time": 1000
},
"\t[嗜骨]不行我得去跟毒尾商量一下。。。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
{
"type": "move",
"loc": [
8,
3
],
"time": 500,
"steps": [
"right:4"
]
}
] ]
},
{
"type": "sleep",
"time": 1000
},
"\t[嗜骨]走了........",
{
"type": "sleep",
"time": 500
},
"\t[嗜骨]呼.......终于走了.........",
"\t[嗜骨]这天塔之主还真是难伺候啊。。。生怕说错了话。。。",
"\t[嗜骨]不过毒尾那家伙倒是跟海骑士挺熟的........",
"\t[嗜骨]看她跟海骑士说话都别别扭扭的。。。",
{
"type": "sleep",
"time": 1500
},
"\t[嗜骨]不过海骑士带来的消息还真是吓人啊。。",
"\t[嗜骨]抓住了公主.......难道下一步真的是.........",
"\t[嗜骨]这下天塔要出大事了.......不知道''我们''与镇天联盟下一步都会怎么走这步棋啊.......",
"\t[嗜骨]万一对''我们'',不利就糟了...........",
"\t[嗜骨]而且听探子说守塔仙子放进来一个非镇天联盟的人.......这是怎么回事.........",
{
"type": "sleep",
"time": 500
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
8,
3
]
},
{
"type": "sleep",
"time": 2000
},
{
"type": "animate",
"name": "hanyou",
"loc": [
8,
3
]
},
{
"type": "sleep",
"time": 1000
},
"\t[嗜骨]哇靠!!老子离地面这么近不会第一个就来找我吧!?",
{
"type": "sleep",
"time": 500
},
"\t[嗜骨]况且好不容易拿到十层天塔掌控权........",
{
"type": "sleep",
"time": 500
},
{
"type": "animate",
"name": "shenglvehao",
"loc": [
8,
3
]
},
{
"type": "sleep",
"time": 1000
},
"\t[嗜骨]不行我得去跟毒尾商量一下。。。",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
{
"type": "move",
"loc": [
8,
3
],
"time": 500,
"steps": [
"right:4"
]
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
} }
] ]
}, },

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -3625,5 +3625,119 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
return; return;
} }
} }
},
"按S跳过剧情": function () {
// 在此增加新插件
core.registerAction('keyDown', "useS_PASS", function (keycode) { /////按下某个键
if (!core.status.hero.flags.useS_PASS) return false;
}, 100);
var _my_useS_PASS = function (keycode) { ////放开某个键
if (!core.status.hero.flags.useS_PASS) return false;
if (keycode == 83) { ////按下S时
core.Confirmskip();
}
};
core.registerAction('keyUp', 'useS_PASS', _my_useS_PASS, 100);
core.registerAction('ondown', 'useS_PASS', function (x, y, px, py) {
if (!core.status.hero.flags.useS_PASS) return false;
if (x >= 7 && y <= 2) {
core.Confirmskip();
}
}, 100);
core.Confirmskip = function () { ////跳过剧情确认框
core.status.hero.flags.useS_PASS = false; ////禁用按S跳过
core.status.hero.flags.Confirmskip = true;
core.status.hero.flags.ConfirmskipChoose = 0;
core.createCanvas('Confirmskip', 0, 0, 480, 480, 200);
core.createCanvas('Confirmskip_text', 0, 0, 480, 480, 202);
core.drawWindowSkin('winskin.png', 'Confirmskip', 48, 182, 176, 96);
core.fillText('Confirmskip_text', '不跳过剧情', 70, 222, "#ffffff", ui.prototype._buildFont(22, false))
core.fillText('Confirmskip_text', '跳过剧情', 70, 248, "#ffffff", ui.prototype._buildFont(22, false))
core.drawUIEventSelector(1, 'winskin.png', 70, 202, 120, 24, 201); ////绘制光标
}
core.registerAction('keyDown', "Confirmskip", function (keycode) { /////按下某个键
if (!core.status.hero.flags.Confirmskip) return false;
return true; ///全部拦截
}, 100);
var _my_Confirmskip = function (keycode) { ////放开某个键
if (!core.status.hero.flags.Confirmskip) return false;
if ((keycode == 13 || keycode == 32 || keycode == 67)) { ////按下空格\回车\C时
if (core.status.hero.flags.ConfirmskipChoose === 1) { ///选择为跳过剧情
core.ConfirmskipOK();
} else { ///选择为不跳过剧情
core.status.hero.flags.useS_PASS = true; ////允许按S的开关
core.status.hero.flags.Confirmskip = false;
core.clearMap('Confirmskip') /////清除画布
core.clearMap('Confirmskip_text')
core.clearUIEventSelector(1); ////清除光标
}
} else if (keycode == 38 || keycode == 40) ///上下切换
{
core.setFlag('ConfirmskipChoose', 1 ^ (core.getFlag('ConfirmskipChoose') || 0));
if (core.status.hero.flags.ConfirmskipChoose === 0)
core.drawUIEventSelector(1, 'winskin.png', 70, 202, 120, 24, 201); ////绘制光标
else
core.drawUIEventSelector(1, 'winskin.png', 70, 229, 120, 24, 201); ////绘制光标
}
return true; ///全部拦截
};
core.registerAction('keyUp', 'Confirmskip', _my_Confirmskip, 100);
core.registerAction('ondown', 'Confirmskip', function (x, y, px, py) {
if (!core.status.hero.flags.Confirmskip) return false;
if (x >= 3 && x <= 6 && y === 6) {
if (core.status.hero.flags.ConfirmskipChoose === 0) {
///选择为不跳过剧情
core.status.hero.flags.useS_PASS = true; ////允许按S的开关
core.status.hero.flags.Confirmskip = false;
core.clearMap('Confirmskip') /////清除画布
core.clearMap('Confirmskip_text')
core.clearUIEventSelector(1); ////清除光标
} else
{
core.status.hero.flags.ConfirmskipChoose = 0;
core.drawUIEventSelector(1, 'winskin.png', 70, 202, 120, 24, 201); ////绘制光标
}
} else if (x >= 3 && x <= 6 && y === 7) {
if (core.status.hero.flags.ConfirmskipChoose === 1) {
core.ConfirmskipOK();
} else {
core.status.hero.flags.ConfirmskipChoose = 1;
core.drawUIEventSelector(1, 'winskin.png', 70, 229, 120, 24, 201); ////绘制光标
}
}
return true; ///全部拦截
}, 100);
core.ConfirmskipOK = function () { ////决定跳过剧情
core.status.hero.flags.Confirmskip = false;
core.clearMap('Confirmskip') /////清除画布
core.clearMap('Confirmskip_text')
core.clearUIEventSelector(1); ////清除光标
core.deleteAllCanvas(); ///清空画布
core.status.hero.flags.SkipThePlot = true; ////跳过事件开关
core.insertAction({ "type": "exit" });
core.insertAction({ "type": "insert" }); ///重新触发当前事件
core.doAction(); ///执行下一个事件
}
} }
} }