From 069e93c0f380d3abadd54ce991a158dd0e627604 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Tue, 23 Jul 2024 00:32:10 +0800 Subject: [PATCH] Add stories in 4th area --- project/floors/YS1.js | 43 +++++++++++++++++++++++++- project/floors/YS2.js | 70 ++++++++++++++++++++++++++++++++++++++----- project/floors/YS5.js | 33 +++++++++++++++++++- project/floors/YS8.js | 46 ++++++++++++++++++++++++++-- project/floors/YS9.js | 35 +++++++++++++++++++--- 5 files changed, 212 insertions(+), 15 deletions(-) diff --git a/project/floors/YS1.js b/project/floors/YS1.js index a7c7408..55e1328 100644 --- a/project/floors/YS1.js +++ b/project/floors/YS1.js @@ -13,7 +13,48 @@ main.floors.YS1= "ratio": 1, "defaultGround": "X20061", "bgm": "cbzc.mp3", - "firstArrive": [], + "firstArrive": [ + { + "type": "if", + "condition": "(flag:shengqishi>1)", + "true": [ + { + "type": "changePos", + "direction": "down" + }, + { + "type": "setBlock", + "number": "N472", + "loc": [ + [ + 6, + 7 + ] + ] + }, + "\t[唐佳成,N472]\b[this,6,7]哇,圣子殿下,这里好大呢,一点也不逊色于光明神殿……", + "\t[莫析辉,hero]\b[hero]隐世学院不比光明神殿,你行事可不能冲动了。", + "\t[唐佳成,N472]\b[this,6,7]是,圣子殿下!", + { + "type": "hide", + "loc": [ + [ + 6, + 7 + ] + ], + "remove": true + } + ], + "false": [ + { + "type": "changePos", + "direction": "down" + }, + "\t[莫析辉,hero]\b[hero]隐世学院……不逊于光明学院的存在……" + ] + } + ], "eachArrive": [], "parallelDo": "", "events": { diff --git a/project/floors/YS2.js b/project/floors/YS2.js index 37efc63..33fa7a0 100644 --- a/project/floors/YS2.js +++ b/project/floors/YS2.js @@ -14,6 +14,24 @@ main.floors.YS2= "defaultGround": "X20061", "bgm": "cbzc.mp3", "firstArrive": [ + { + "type": "if", + "condition": "(flag:shengqishi>1)", + "true": [ + { + "type": "setBlock", + "number": "N472", + "loc": [ + [ + 7, + 10 + ] + ] + }, + "\t[唐佳成,N472]\b[this,7,10]圣子殿下,快来啊,这里很漂亮呢" + ], + "false": [] + }, "\t[???,N1068]\b[this,5,4]站住,你们不准从这里走!", "\t[???,N502]\b[this,6,7]呵,卡鲁鲁,就凭你还想拦住我?", "\t[???,N1072]\b[this,7,4]星诺,别忘了,还有我呢!", @@ -55,13 +73,41 @@ main.floors.YS2= ] }, "\t[???,N502]\b[this,6,7]阁下何人?", - "\t[莫析辉,hero]\b[hero]哦,我是光明神殿光明圣子莫析辉。", - "\t[星诺,N502]\b[this,6,7]我是精灵族王子星诺,这是我妹妹长倾。", - "\t[莫析辉,hero]\b[hero]嗯,知道了,不过几位在这里打架,带上小孩子也不好吧?", - "\t[星诺,N502]\b[this,6,7]小孩子?", - "\t[长倾,N506]\b[this,5,8]噗嗤……哈哈哈哈哈!小孩子!", - "\t[???,N1072]\b[this,7,4]你笑什么!你们才是小孩子呢!", - "\t[卡鲁鲁,N1068]\b[this,5,4]光明圣子阁下,我是兽人族少主卡鲁鲁,这位是矮人族少族长的凯迪。", + { + "type": "if", + "condition": "(flag:shengqishi>1)", + "true": [ + { + "type": "setBlock", + "number": "N472", + "loc": [ + [ + 7, + 10 + ] + ] + }, + "\t[莫析辉,hero]\b[hero]哦,我是光明神殿光明圣子莫析辉,他是光明神殿的骑士唐佳成。", + "\t[星诺,N502]\b[this,6,7]我是精灵族王子星诺,这是我妹妹长倾。", + "\t[长倾,N506]\b[this,5,8]不过……光明神殿的骑士也能来这里么?", + "\t[唐佳成,N472]\b[this,7,10]呵,怎么,你觉得我不应该来这里吗?", + "\t[长倾,N506]\b[this,5,8]没有没有,佳成哥哥能来到这里,一定很强", + "\t[唐佳成,N472]\b[this,7,10]嗯。", + "\t[莫析辉,hero]\b[hero]不过几位在这里打架,带上小孩子也不好吧?", + "\t[长倾,N506]\b[this,5,8]噗嗤……哈哈哈哈哈!小孩子!", + "\t[???,N1072]\b[this,7,4]你笑什么!你们才是小孩子呢!", + "\t[卡鲁鲁,N1068]\b[this,5,4]光明圣子阁下,我是兽人族少主卡鲁鲁,这位是矮人族少族长的凯迪。" + ], + "false": [ + "\t[莫析辉,hero]\b[hero]哦,我是光明神殿光明圣子莫析辉。", + "\t[星诺,N502]\b[this,6,7]我是精灵族王子星诺,这是我妹妹长倾。", + "\t[莫析辉,hero]\b[hero]嗯,知道了,不过几位在这里打架,带上小孩子也不好吧?", + "\t[星诺,N502]\b[this,6,7]小孩子?", + "\t[长倾,N506]\b[this,5,8]噗嗤……哈哈哈哈哈!小孩子!", + "\t[???,N1072]\b[this,7,4]你笑什么!你们才是小孩子呢!", + "\t[卡鲁鲁,N1068]\b[this,5,4]光明圣子阁下,我是兽人族少主卡鲁鲁,这位是矮人族少族长的凯迪。" + ] + }, "\t[莫析辉,hero]\b[hero]原来是矮人族的朋友,难怪……", "\t[凯迪,N1072]\b[this,7,4]久闻光明神殿大名。", "\t[莫析辉,hero]\b[hero]既是如此,几位也不要在这里打打杀杀了。我们背后的势力,也不是叫我们来隐世学院拼个你死我活的吧。", @@ -111,6 +157,16 @@ main.floors.YS2= ] ], "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 10 + ] + ], + "remove": true } ], "eachArrive": [], diff --git a/project/floors/YS5.js b/project/floors/YS5.js index ccac3ac..914cb52 100644 --- a/project/floors/YS5.js +++ b/project/floors/YS5.js @@ -13,7 +13,38 @@ main.floors.YS5= "ratio": 1, "defaultGround": "X20061", "bgm": "cbzc.mp3", - "firstArrive": [], + "firstArrive": [ + "\t[星诺,N502]转眼间就过去了两三年了……", + "\t[凯迪,N1072]与大家一起,还是很开心的。", + { + "type": "if", + "condition": "(flag:shengqishi>1)", + "true": [ + "\t[卡鲁鲁,N1068]唐佳成的实力回回都是第一,这次又拿了个第一,智慧神殿和水神殿的那两个小子,分别拿了第二和第三。不过咱们光明圣子保存实力没有参赛,我看你也不逊于他们呢!", + "\t[莫析辉,hero]\b[hero]这种比赛,本少爷才不屑参加呢!" + ], + "false": [ + "\t[卡鲁鲁,N1068]今晚我请客,我拿了比赛第三名,哈哈哈哈!智慧神殿和水神殿的那两个小子,分别拿了第一和第二。不过咱们光明圣子保存实力没有参赛,我看你也不逊于他们呢!", + "\t[星诺,N502]呵,蛮子!", + "\t[卡鲁鲁,N1068]精灵王子,你不要惹我,像你这精灵族细皮嫩肉的,可不够我打!", + "\t[星诺,N502]呵,来呀!" + ] + }, + "\t[长倾,N506]听说,光明神殿的另一位圣子殿下,葛尔丹娶了东凌帝国的小郡主。", + "\t[莫析辉,hero]\b[hero]嗯。", + "\t[卡鲁鲁,N1068]郡主算啥,莫析辉可是订婚了北寒帝国三公主希娜呢!哈哈,啥时候成婚,可记得叫上我啊!", + "\t[莫析辉,hero]\b[hero]一定叫你。", + { + "type": "if", + "condition": "(flag:shengqishi===1)", + "true": [ + "\t[长倾,N506]佳成哥哥,你有空来精灵族玩啊!", + "\t[唐佳成,N472]嗯。" + ], + "false": [] + }, + "\t[莫析辉,hero]\b[hero]过些时候,把我这段时间收集的宝物送一些给圣女姐姐和准圣子哥哥,emmmm,蝶影姑娘对我多有照顾,也送一些给她……" + ], "eachArrive": [], "parallelDo": "", "events": { diff --git a/project/floors/YS8.js b/project/floors/YS8.js index 34f9384..65e6476 100644 --- a/project/floors/YS8.js +++ b/project/floors/YS8.js @@ -13,7 +13,49 @@ main.floors.YS8= "ratio": 1, "defaultGround": "X20061", "bgm": "cbzc.mp3", - "firstArrive": [], + "firstArrive": [ + "\t[希娜,N645]\b[this,7,1]圣子殿下。", + { + "type": "jumpHero", + "loc": [ + 6, + 1 + ], + "time": 500 + }, + { + "type": "changePos", + "direction": "right" + }, + "\t[莫析辉,hero]\b[hero]希娜。", + "\t[希娜,N645]\b[this,7,1]不知圣子殿下找我何事?", + "\t[莫析辉,hero]\b[hero]我的修为延缓有些时候了,特地来找你!", + "\t[希娜,N645]\b[this,7,1]你的修为延缓干我何事?", + "\t[莫析辉,hero]\b[hero]就是你那个禁术封印!害得我修为进展延缓了太多!你知不知道,我要是修为太差,将来可成为不了教皇,对你可没好处。", + "\t[希娜,N645]\b[this,7,1]嗯,不过我并没有让你的修为延缓。不管怎么说,我们已经绑在一条船上了,我何必做这种害人害己的事?", + "\t[莫析辉,hero]\b[hero]那可不见得,你的禁术诡异的很,谁知道你能不能彻底掌握它!", + "\t[希娜,N645]\b[this,7,1]哼,你怕是中了谁的挑拨吧,我的禁术我怎么可能掌握不了!", + "\t[莫析辉,hero]\b[hero]挑拨?我的守护骑士罗涛,他会挑拨?", + "\t[希娜,N645]\b[this,7,1]那也说不定呢!", + "\t[莫析辉,hero]\b[hero]你也别挑拨我和我的守护骑士……", + "\t[莫析辉,hero]\b[hero]葛尔丹曾经说过,我的身边有蜜西娅的内奸……对了,我们订下婚约之后,我去见蜜西娅,她居然那么快知道我与你有婚约了……可恶!难道内奸真的是他!", + "\t[希娜,N645]\b[this,7,1]你嘀咕什么呢?", + "\t[莫析辉,hero]\b[hero]你先回北寒帝国吧,我恐怕要处理一些事。", + "\t[希娜,N645]\b[this,7,1]想要就来,不想要我就赶我走?", + "\t[莫析辉,hero]\b[hero]那你想怎么样?", + "\t[希娜,N645]\b[this,7,1]尽快,我想要拿到北寒帝国的权力。", + "\t[莫析辉,hero]\b[hero]好吧,你去吧。", + { + "type": "hide", + "loc": [ + [ + 7, + 1 + ] + ], + "remove": true + } + ], "eachArrive": [], "parallelDo": "", "events": {}, @@ -117,7 +159,7 @@ main.floors.YS8= "cannotMoveIn": {}, "map": [ [140, 91,140,140,140,140, 93,140,140,140,140,140,140], - [140, 0,736, 0,140, 0, 0, 0,140, 21, 23, 21,140], + [140, 0,736, 0,140, 0, 0,646,140, 21, 23, 21,140], [140,251, 0,686, 83, 0,736, 0,140,602, 0,360,140], [140, 81,140,140,140,140, 81,140,140,140, 85,140,140], [140, 0,685,686,140, 0, 0, 0,140,245, 0,245,140], diff --git a/project/floors/YS9.js b/project/floors/YS9.js index 6aab9d9..f4537ae 100644 --- a/project/floors/YS9.js +++ b/project/floors/YS9.js @@ -13,7 +13,25 @@ main.floors.YS9= "ratio": 1, "defaultGround": "X20061", "bgm": "cbzc.mp3", - "firstArrive": [], + "firstArrive": [ + { + "type": "if", + "condition": "(flag:shengqishi===1)", + "true": [ + { + "type": "setBlock", + "number": "N472", + "loc": [ + [ + 6, + 4 + ] + ] + } + ], + "false": [] + } + ], "eachArrive": [], "parallelDo": "", "events": { @@ -54,7 +72,16 @@ main.floors.YS9= "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, - "afterOpenDoor": {}, + "afterOpenDoor": { + "6,3": [ + "\t[孟芸老师,magicMaster]\b[this,6,8]你们不错,都打败了我。不过你们的毕业任务还没完成,还需要完成毕业任务。", + "\t[长倾,N506]\b[this,4,5]啊,还要完成毕业任务啊?", + "\t[孟芸老师,magicMaster]\b[this,6,8]当然了,不完成毕业任务,可没法毕业哦。", + "\t[孟芸老师,magicMaster]\b[this,6,8]卡鲁鲁,你的毕业任务是去呈鲜之路抓一条咸鱼,不要普通的咸鱼,要最咸的那条。", + "\t[凯迪,N1072]\b[this,8,5]据说普通的咸鱼已经是十分乖戾,滑不溜秋了,那最咸的那条更是十分狡猾,卡鲁鲁这任务也太难了吧……", + "\t[孟芸老师,magicMaster]\b[this,6,8]凯迪,矮人族的炼器很强大,你就打造一个桶子吧,要用盐铁打造的。" + ] + }, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, @@ -64,8 +91,8 @@ main.floors.YS9= [140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140], [140,140,140,140,140,140, 83,140,140,140,140,140,140], [140,140,140,140,140, 0, 0, 0,140,140,140,140,140], - [140,140,140,140, 0, 0, 0, 0, 0,140,140,140,140], - [140,140,140, 0, 0, 0, 0, 0, 0, 0,140,140,140], + [140,140,140,140,506, 0, 0, 0,1072,140,140,140,140], + [140,140,140,502, 0, 0, 0, 0, 0,1068,140,140,140], [140,140, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,140], [140,140, 0, 0, 0, 0,247, 0, 0, 0, 0,140,140], [140,140,140, 0, 0, 0, 0, 0, 0, 0,140,140,140],