summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-26 01:28:48 -0300
committerJesusaves <cpntb1@ymail.com>2020-08-05 03:25:42 -0300
commit017890af1582b1c03877ec4fb3fc5e32327373aa (patch)
tree7f759621fc6e328b443c2007cb69d48bd765d89a
parent88af5e230b4505261031b0919db572b155fce374 (diff)
downloadserverdata-017890af1582b1c03877ec4fb3fc5e32327373aa.tar.gz
serverdata-017890af1582b1c03877ec4fb3fc5e32327373aa.tar.bz2
serverdata-017890af1582b1c03877ec4fb3fc5e32327373aa.tar.xz
serverdata-017890af1582b1c03877ec4fb3fc5e32327373aa.zip
Argaes Cutscene
-rw-r--r--npc/000-0-1/narrator.txt48
-rw-r--r--npc/001-1/koga.txt5
-rw-r--r--npc/functions/quest-debug/100-General_Narrator.txt3
3 files changed, 52 insertions, 4 deletions
diff --git a/npc/000-0-1/narrator.txt b/npc/000-0-1/narrator.txt
index 206c43e7..731adcd0 100644
--- a/npc/000-0-1/narrator.txt
+++ b/npc/000-0-1/narrator.txt
@@ -10,16 +10,21 @@
// Values:
// 0 PC is in the game introduction.
// 1 PC arrived Artis.
+// 2 PC arrived in Argaes.
000-0-1,25,28,0 script Narrator#000-0-1 NPC_NARRATOR,{
function referralSystem;
function travelToArtis;
+ function travelToArgaes;
switch (getq(General_Narrator))
{
case 0:
travelToArtis();
break;
+ case 1:
+ travelToArgaes();
+ break;
default:
mesc l("ERROR - Corrupted quest state %d", getq(General_Narrator)), 1;
mesc l("Please contact the staff for technical support."), 1;
@@ -30,6 +35,12 @@
closeclientdialog;
close;
+OnInit:
+ .sex = G_OTHER;
+ end;
+
+///////////////////////////////////////////////////////////////////////
+// Quest state: 0
function travelToArtis {
narrator S_LAST_NEXT,
l("Look, we finally meet."),
@@ -58,10 +69,41 @@ function travelToArtis {
return;
}
-OnInit:
- .sex = G_OTHER;
- end;
+///////////////////////////////////////////////////////////////////////
+// Quest state: 1
+function travelToArgaes {
+ narrator S_LAST_NEXT,
+ l("Oh, hello again!"),
+ l("I hope you still remember me."),
+ l("Now, this ship is not the most comfortable, don't you agree?"),
+ l("Well, hopefully it won't be too long until you reach your destination."),
+ l("Argaes, in the ancient continent of Ancea..."),
+ l("What could be waiting for you there?");
+
+ // Special dialog for Legacy accounts
+ // To relate to Doomsday event
+ if (islegacyaccount()) {
+ narrator S_LAST_NEXT,
+ l("Maybe you already have been on that continent before."),
+ l("But then, you don't remember that, so let's not."),
+ l("Also, don't you think this ship vaguely... familiar?"),
+ l("Ah, sorry. I make too many questions, don't I?"),
+ l("I probably should let you rest, it must have been tiring!"),
+ l("But before that, one last question...");
+ }
+
+ narrator S_LAST_NEXT,
+ l("Actually... Wouldn't now be a good time to wake up?");
+
+ setq General_Narrator, 2;
+ savepoint "008-1-1", 33, 63;
+ warp "008-1-1", 33, 63;
+ dispbottom l("After a tiring, yet fast, travel by Koga, you arrive at @@.", l("Woodlands"));
+ return;
+}
+///////////////////////////////////////////////////////////////////////
+// Script Utils
// referralSystem() is a Moubootaur Legends function
function referralSystem {
mesc l("But before we get there, I've been itching to know...");
diff --git a/npc/001-1/koga.txt b/npc/001-1/koga.txt
index 2595be63..a18d3b74 100644
--- a/npc/001-1/koga.txt
+++ b/npc/001-1/koga.txt
@@ -6,6 +6,7 @@
// THIS IS A PLACEHOLDER!
001-1,225,59,0 script Koga#001-1 NPC_KOGA,{
+ .@q=getq(General_Narrator);
speech
l("Ah, whom did you bring here?"),
l("Isnt that the one Nard found on a float in the sea, with the sign of the Legion on his chest?");
@@ -18,6 +19,10 @@
next;
closeclientdialog;
setmount 0;
+ if (.@q == 1) {
+ warp "000-0-1", 26, 28;
+ close;
+ }
warp "008-1-1", 33, 63;
dispbottom l("After a tiring, yet fast, travel by Koga, you arrive at @@.", l("Woodlands"));
}
diff --git a/npc/functions/quest-debug/100-General_Narrator.txt b/npc/functions/quest-debug/100-General_Narrator.txt
index 22737c90..37a674c5 100644
--- a/npc/functions/quest-debug/100-General_Narrator.txt
+++ b/npc/functions/quest-debug/100-General_Narrator.txt
@@ -14,7 +14,8 @@ function script QuestDebug100 {
GenericQuestDebug General_Narrator,
l("Game introduction"), 0,
- l("Visited Artis at least once"), 1;
+ l("Arrived in Artis"), 1,
+ l("Arrived in Argaes"), 2;
if (@menuret < 0)
{