From bae4b92e560c2694eaaf0e8b4d9e95e56204471b Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 18 Jun 2011 21:58:47 -0700 Subject: Move to a subdirectory --- world/map/npc/028-1/Portal.txt | 131 ++++++++++++++++++++++++++++++++++++++++ world/map/npc/028-1/_import.txt | 6 ++ world/map/npc/028-1/_mobs.txt | 60 ++++++++++++++++++ world/map/npc/028-1/_warps.txt | 4 ++ 4 files changed, 201 insertions(+) create mode 100644 world/map/npc/028-1/Portal.txt create mode 100644 world/map/npc/028-1/_import.txt create mode 100644 world/map/npc/028-1/_mobs.txt create mode 100644 world/map/npc/028-1/_warps.txt (limited to 'world/map/npc/028-1') diff --git a/world/map/npc/028-1/Portal.txt b/world/map/npc/028-1/Portal.txt new file mode 100644 index 00000000..ff7cea7f --- /dev/null +++ b/world/map/npc/028-1/Portal.txt @@ -0,0 +1,131 @@ +028-1.gat,63,68,0 script Portal#_M 127,{ + +if (isin("028-1.gat",59,64,67,70)) goto L_Main; + +mes "There is something there, but you aren't quite close enough to see exactly what it is."; +close; + +L_Main: + +mes "[Portal]"; +mes ""; +mes "A strange field hovers about waist high above the ground."; +next; +mes "[Portal]"; +mes ""; +mes "You sense a feeling of familiarity radiating out from it."; +mes ""; +mes "It looks just wide enough to jump through."; +next; +mes "[Portal]"; +mes ""; +mes "You're not quite sure if there will be a way to return once you enter, though."; +next; +mes "[Portal]"; +mes ""; +mes "What do you do?"; +menu "Jump through, without looking back.", L_No_Hesitation, + "Take one more look around.", L_Look, + "Leave it alone.", -; + +close; + +L_No_Hesitation: +mes "There has been quite enough of this harsh place. You jump through without hesitation..."; +next; +mes "...and fall, and fall..."; +next; +mes "Dizzying colors whirl around you. You collapse."; +savepoint "009-1", 52, 39; +itemheal -hp -1, 0; +close; + +L_Look: +mes "[Portal]"; +mes ""; +mes "There was a lot here. You don't know where it came from, or quite how you ended up here."; +if ((Easter_2010_QuestState >> E10_STATE_ROSE_SHIFT) & E10_STATE_ROSE_MASK == E10_STATE_ROSE_ROSE_COMPLETE) goto L_Full_Helped; +if ((Easter_2010_QuestState >> E10_HELPED_DOCTOR_SHIFT) & E10_HELPED_DOCTOR_MASK) goto L_Somewhat_Helped; +if ((Easter_2010_QuestState >> E10_FLAG_KNOWS_DOCTOR_SHIFT) & E10_FLAG_KNOWS_DOCTOR) goto L_Met; + +if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Unknown_Defeat; + +mes "Come to think of it, there is still quite a lot you're not sure about. There was talk about something big, but you must have missed it... whatever it was, it seems gone now."; +goto L_Post_Look; + + +L_Full_Helped: +if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Full_Helped_Defeat; +mes "Your assistance was helpful, you know that much. If only you could have faced the darkness that plagued this world more directly..."; +goto L_Post_Look; + +L_Full_Helped_Defeat: +mes "You know you have done everything that you could have. Your determination will have surely meant the world will be restored, once more."; +goto L_Post_Look; + +L_Somewhat_Helped: +if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Somewhat_Helped_Defeat; +mes "You feel your help was not for nothing, though you can't quite shake the feeling there was still something more to do."; +goto L_Post_Look; + +L_Somewhat_Helped_Defeat: +mes "Your help was not for nothing. Your destruction of evil would surely help heal this world!"; +goto L_Post_Look; + +L_Met: +if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Met_Defeat; +mes "While you only met the Doctor briefly, he seemed to think there was something wrong. If only there was a way you could have helped, somehow."; +goto L_Post_Look; + +L_Met_Defeat: +mes "Striking down that evil, dark, figure would surely make a difference. While you only met the Doctor briefly, he seemed to think there was something wrong... with any luck, this defeat would be, at the very least, a significant setback."; +goto L_Post_Look; + +L_Unknown_Defeat: +mes "Striking down that evil, dark, figure would surely make a difference. You just wish you knew what that was about... if only there had been someone that could have explained it all."; +goto L_Post_Look; + +L_Post_Look: +next; +mes "What do you do?"; +menu "Jump through", L_Jump, + "Leave it alone", -; + +close; + +L_Jump: +mes "[Portal]"; +mes ""; +mes "A tingling sensation surrounds you as you enter."; +next; +mes "[Portal]"; +mes ""; +mes "Inside, your senses seem heightened, sharpened..."; +next; +mes "[Portal]"; +mes ""; +mes "You can detect many entities all around you, yet you are not quite sure how."; +next; +mes "[Portal]"; +mes ""; +mes "Colors swirl around you. There is a sensation of great speed, of great power, of energy..."; +next; +mes "[Portal]"; +mes ""; +mes "A tearing motion. The blobs of color skew, and stretch into long thin lines... and somehow, a taste of peanuts."; +next; +mes "[Portal]"; +mes ""; +mes "A mass of green and yellow, moving at high speed... or perhaps it is you who is moving?"; +next; +mes "[Portal]"; +mes ""; +mes "Whichever it is, one of you slows just as you begin to recognise some details..."; +warp "009-1.gat", 52, 39; +savepoint "009-1", 52, 39; +mes "[Home]"; +mes ""; +mes "You land softly. It is good to be home..."; +close; + +} diff --git a/world/map/npc/028-1/_import.txt b/world/map/npc/028-1/_import.txt new file mode 100644 index 00000000..1cfec48c --- /dev/null +++ b/world/map/npc/028-1/_import.txt @@ -0,0 +1,6 @@ +// Map 028-1: +// This file is generated automatically. All manually changes will be removed when running the Converter. +map: 028-1.gat +npc: npc/028-1/Portal.txt +npc: npc/028-1/_mobs.txt +npc: npc/028-1/_warps.txt diff --git a/world/map/npc/028-1/_mobs.txt b/world/map/npc/028-1/_mobs.txt new file mode 100644 index 00000000..a71093ad --- /dev/null +++ b/world/map/npc/028-1/_mobs.txt @@ -0,0 +1,60 @@ +// This file is generated automatically. All manually changes will be removed when running the Converter. +// mobs + +028-1.gat,115,72,27,25 monster SpikyMushrooms 1019,18,20000,600,Mob028-1::On1019 +028-1.gat,83,69,25,19 monster Bat 1017,18,100000,1200,Mob028-1::On1017 +028-1.gat,93,33,48,32 monster Wisp 1040,8,200000,15000,Mob028-1::On1040 +028-1.gat,93,33,46,34 monster Spectre 1042,8,200000,15000,Mob028-1::On1042 +028-1.gat,93,33,44,36 monster Poltergeist 1047,8,200000,15000,Mob028-1::On1047 +028-1.gat,35,64,38,9 monster Sea Slime 1033,18,100000,1200,Mob028-1::On1033 +028-1.gat,45,75,22,10 monster Sea Slime 1033,18,100000,1200,Mob028-1::On1033 +028-1.gat,23,101,1,1 monster Squirrel 1038,1,300000,50000,Mob028-1::On1038 +028-1.gat,68,95,71,18 monster Wisp 1040,8,200000,15000,Mob028-1::On1040 +028-1.gat,76,100,93,16 monster Spectre 1042,8,200000,15000,Mob028-1::On1042 +028-1.gat,104,114,61,14 monster Poltergeist 1047,8,200000,15000,Mob028-1::On1047 +028-1.gat,54,42,1,1 monster Fallen 1045,1,700000,300000,Mob028-1::On1045 + + +028-1.gat,0,0,0 script Mob028-1 -1,{ +On1017: + set @mobID, 1017; + callfunc "MobPoints"; + break; + +On1019: + set @mobID, 1019; + callfunc "MobPoints"; + break; + +On1033: + set @mobID, 1033; + callfunc "MobPoints"; + break; + +On1038: + set @mobID, 1038; + callfunc "MobPoints"; + break; + +On1040: + set @mobID, 1040; + callfunc "MobPoints"; + break; + +On1042: + set @mobID, 1042; + callfunc "MobPoints"; + break; + +On1045: + set @mobID, 1045; + callfunc "MobPoints"; + break; + +On1047: + set @mobID, 1047; + callfunc "MobPoints"; + break; + + end; +} diff --git a/world/map/npc/028-1/_warps.txt b/world/map/npc/028-1/_warps.txt new file mode 100644 index 00000000..1d7ccba9 --- /dev/null +++ b/world/map/npc/028-1/_warps.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually changes will be removed when running the Converter. +// warps + +028-1.gat,114,122 warp To028-3 -1,-1,028-3.gat,33,78 -- cgit v1.2.3-60-g2f50