Bladeren bron

* Added a Super Novice Expansion quest with custom dialogue. Will be updated once we get the official script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16437 54d463be-8e91-2dee-dedb-b68131a5f0ec
euphyy 13 jaren geleden
bovenliggende
commit
a413425884

+ 9 - 1
db/quest_db.txt

@@ -479,7 +479,15 @@
 9163,0,0,0,0,0,0,0,"Back to Paiko"
 9164,0,0,0,0,0,0,0,"Delivery of Good News(4)"
 9165,0,0,0,0,0,0,0,"Reward from Paiko for success of Jaty Crown"
-
+5092,0,0,0,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5093,0,0,0,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5094,0,1002,1000,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5095,0,1063,1000,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5096,0,1007,1000,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5097,0,1049,1000,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5098,0,0,0,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5099,0,0,0,0,0,0,0,"Unlocking the Ultimate Mediocrity"
+5100,0,0,0,0,0,0,0,"Unlocking the Ultimate Mediocrity"
 6000,0,0,0,0,0,0,0,"Job Change to Taekwon"
 6001,0,0,0,0,0,0,0,"Job Change to Taekwon"
 6002,0,0,0,0,0,0,0,"Job Change to Taekwon"

+ 6 - 4
npc/pre-re/jobs/novice/supernovice.txt

@@ -3,9 +3,9 @@
 //===== By: ================================================== 
 //= Darkchild
 //===== Current Version: ===================================== 
-//= 2.2
+//= 2.3
 //===== Compatible With: ===================================== 
-//= rAthena SVN
+//= rAthena SVN r15340+
 //===== Description: ========================================= 
 //= [Aegis Conversion]
 //= Super Novice Job Change Npc
@@ -16,6 +16,7 @@
 //= 2.0 Rescripted again, this time using an iRO base. [L0ne_W0lf]
 //= 2.1 Swapped use of baseclass for basejob. [L0ne_W0lf]
 //= 2.2 Added Quest Log commands. [Kisuka]
+//= 2.3 NPC "Esseray" calls Ex. Super Novice script when enabled. [Euphy]
 //============================================================ 
 
 aldeba_in,223,167,3	script	Tzerero#sn	709,{
@@ -105,7 +106,7 @@ aldeba_in,223,167,3	script	Tzerero#sn	709,{
 		mes "^FF000030 Resin^000000.";
 		close;
 	}
-	if (BaseJob == Job_Novice && upper != 1) {
+	if (BaseJob == Job_Novice && Upper != 1) {
 		mes "[Tzerero]";
 		mes "...Hmm?";
 		mes "Stop.";
@@ -328,6 +329,7 @@ aldeba_in,223,167,3	script	Tzerero#sn	709,{
 
 aldeba_in,216,169,5	script	Esseray#sn	86,{
 	if (BaseJob == Job_SuperNovice) {
+		if (is_function("Esseray_Ex")) callfunc "Esseray_Ex";
 		mes "[Esseray]";
 		mes "Hm? Hey, you're a member";
 		mes "of our great Novice Society,";
@@ -349,7 +351,7 @@ aldeba_in,216,169,5	script	Esseray#sn	86,{
 		mes "course!";
 		close;
 	}
-	if (BaseJob == Job_Novice && upper != 1) {
+	if (BaseJob == Job_Novice && Upper != 1) {
 		mes "[Esseray]";
 		mes "Hah~ you don't know anything";
 		mes "about being a normal person yet!";

+ 1 - 0
npc/pre-re/scripts_jobs.conf

@@ -7,6 +7,7 @@
 // -- Novice
 npc: npc/pre-re/jobs/novice/novice.txt
 npc: npc/pre-re/jobs/novice/supernovice.txt
+//npc: npc/re/jobs/novice/supernovice_ex.txt
 // -- 1-1
 npc: npc/pre-re/jobs/1-1/thief.txt
 npc: npc/pre-re/jobs/1-1/archer.txt

+ 6 - 4
npc/re/jobs/novice/supernovice.txt

@@ -3,9 +3,9 @@
 //===== By: ================================================== 
 //= Darkchild
 //===== Current Version: ===================================== 
-//= 2.2
+//= 2.3
 //===== Compatible With: ===================================== 
-//= rAthena SVN
+//= rAthena SVN r15340+
 //===== Description: ========================================= 
 //= [Aegis Conversion]
 //= Super Novice Job Change Npc
@@ -16,6 +16,7 @@
 //= 2.0 Rescripted again, this time using an iRO base. [L0ne_W0lf]
 //= 2.1 Swapped use of baseclass for basejob. [L0ne_W0lf]
 //= 2.2 Added Quest Log commands. [Kisuka]
+//= 2.3 NPC "Esseray" calls Ex. Super Novice script when enabled. [Euphy]
 //============================================================ 
 
 aldeba_in,223,167,3	script	Tzerero#sn	709,{
@@ -105,7 +106,7 @@ aldeba_in,223,167,3	script	Tzerero#sn	709,{
 		mes "^FF000030 Resin^000000.";
 		close;
 	}
-	if (BaseJob == Job_Novice && upper != 1) {
+	if (BaseJob == Job_Novice && Upper != 1) {
 		mes "[Tzerero]";
 		mes "...Hmm?";
 		mes "Stop.";
@@ -328,6 +329,7 @@ aldeba_in,223,167,3	script	Tzerero#sn	709,{
 
 aldeba_in,216,169,5	script	Esseray#sn	86,{
 	if (BaseJob == Job_SuperNovice) {
+		if (is_function("Esseray_Ex")) callfunc "Esseray_Ex";
 		mes "[Esseray]";
 		mes "Hm? Hey, you're a member";
 		mes "of our great Novice Society,";
@@ -349,7 +351,7 @@ aldeba_in,216,169,5	script	Esseray#sn	86,{
 		mes "course!";
 		close;
 	}
-	if (BaseJob == Job_Novice && upper != 1) {
+	if (BaseJob == Job_Novice && Upper != 1) {
 		mes "[Esseray]";
 		mes "Hah~ you don't know anything";
 		mes "about being a normal person yet!";

+ 246 - 0
npc/re/jobs/novice/supernovice_ex.txt

@@ -0,0 +1,246 @@
+//===== rAthena Script ======================================= 
+//= Expanded Super Novice Job Quest
+//===== By: ================================================== 
+//= Euphy
+//===== Current Version: ===================================== 
+//= 1.0
+//===== Compatible With: ===================================== 
+//= rAthena SVN
+//===== Description: ========================================= 
+//= Job Change quest for Expanded Super Novice class.
+//===== Additional Comments: ================================= 
+//= 1.0 All dialogue is custom, contains some incorrect behaviors.
+//============================================================ 
+
+function	script	Esseray_Ex	{
+	if (SUPNOV_Q > 1) {
+		mes "[Esseray]";
+		mes "There's a Novice in the";
+		mes "^0055FFnorthern Comodo Dungeon^000000";
+		mes "that could probably tell you";
+		mes "more...";
+		close;
+	}
+	else if (BaseLevel == 99 && JobLevel == 99) {
+		mes "[Esseray]";
+		mes "Ah... it seems you've truly";
+		mes "come far in your adventures.";
+		mes "But...";
+		next;
+		mes "[Esseray]";
+		mes "There's still another step you";
+		mes "can take, should you choose";
+		mes "to do so.";
+		next;
+		if(select("What is it?:More?! No way!") == 2) {
+			mes "[Esseray]";
+			mes "Hey, I respect that.";
+			mes "Come talk to me if you";
+			mes "ever change your mind.";
+			close;
+		}
+		mes "[Esseray]";
+		mes "What I propose is that you";
+		mes "^0055FFunlock the ultimate mediocrity^000000.";
+		mes "There are rumors that";
+		mes "even as a Novice, you";
+		mes "can be strong...";
+		next;
+		mes "[Esseray]";
+		mes "But that's all I know.";
+		mes "There's a Novice in the";
+		mes "^0055FFnorthern Comodo Dungeon^000000";
+		mes "that could probably tell you";
+		mes "more...";
+		next;
+		mes "[Esseray]";
+		mes "Well, what are you";
+		mes "waiting for? Find him!";
+		set SUPNOV_Q,2;
+		setquest 5092;
+		close;
+	}
+	else return;
+}
+
+beach_dun2,119,92,3	script	Fishing Novice	567,{
+	if (Class == Job_Super_Novice_E || Class == Job_Super_Baby_E) {
+		mes "[Nodor]";
+		mes "Finished at last!";
+		mes "How does it feel?";
+		close;
+	}
+	if (SUPNOV_Q == 2) {
+		mes "[Fishing Novice]";
+		mes "Oh, "+strcharinfo(0)+"...?";
+		mes "I've heard talk about you.";
+		mes "You think you've already";
+		mes "hit the top of the bottom, eh?";
+		next;
+		emotion e_hmm;
+		mes "[Fishing Novice]";
+		mes "...give me a moment, I'll";
+		mes "get right back to you.";
+		changequest 5092,5093;
+		set SUPNOV_Q,3;
+		close;
+	}
+	else if (SUPNOV_Q == 3) {
+		mes "[Nodor]";
+		mes "Sorry about that.";
+		mes "I'm Nodor, how can";
+		mes "I help you?";
+		next;
+		select("Esseray sent me here.");
+		mes "[Nodor]";
+		mes "I see. So you want to";
+		mes "increase your abilities...";
+		next;
+		mes "[Nodor]";
+		mes "In any case, you're going";
+		mes "to have to prove yourself first.";
+		mes "I won't just reveal my secrets!";
+		next;
+		setarray .@rand$[0],"Porings","Lunatics","Fabres","Pickys";
+		set .@i, rand(4);
+		mes "[Nodor]";
+		mes "Go kill 1000 "+.@rand$[.@i]+".";
+		mes "It shouldn't be a problem for";
+		mes "someone as strong as you, right?";
+		changequest 5093,5094+.@i;
+		set SUPNOV_Q, 4+.@i;
+		close;
+	}
+	else if (SUPNOV_Q > 3 && SUPNOV_Q < 8) {
+		if (checkquest(5090+SUPNOV_Q,HUNTING) != 2) {
+			mes "[Nodor]";
+			mes "What, giving up already?";
+			mes "Keep going, you're almost";
+			mes "there!";
+			close;
+		}
+		mes "[Nodor]";
+		mes "Wow, you're done!";
+		mes "I wasn't quite prepared";
+		mes "for this, wait a second!";
+		changequest 5090+SUPNOV_Q,5098;
+		set SUPNOV_Q,8;
+		close;
+	}
+	else if (SUPNOV_Q == 8) {
+		// There is a LOT of missing content here.
+		mes "[Nodor]";
+		mes "You're almost finished now.";
+		mes "My brother Nudor will walk";
+		mes "you through the last steps.";
+		next;
+		mes "[Nodor]";
+		mes "Nudor's currently on the";
+		mes "^0055FFAirship^000000. He's a";
+		mes "bit greedy, so make sure you";
+		mes "carry some cash with you...";
+		changequest 5098,5099;
+		set SUPNOV_Q,9;
+		close;
+	}
+	else if (SUPNOV_Q == 9 || SUPNOV_Q == 10) {
+		mes "[Nodor]";
+		mes "Go and visit my brother";
+		mes "Nudor on the ^0055FFAirship^000000.";
+		close;
+	}
+	else if (SUPNOV_Q == 11 || SUPNOV_Q == 12) {
+		mes "[Nodor]";
+		mes "You're back!";
+		mes "Well, here goes...";
+		next;
+		mes "[Nodor]";
+		mes "Ah ------- !!";
+		specialeffect2 EF_STORMGUST;
+		specialeffect2 EF_LORD;
+		jobchange roclass(eaclass()|EAJL_THIRD);
+		next;
+		mes "[Nodor]";
+		mes "All done!";
+		mes "Lastly, here's a small gift";
+		mes "for your efforts. Enjoy!";
+		if (SUPNOV_Q == 11) getitem 2522,1;
+		else getitem 2340,1;
+		completequest 5100;
+		set SUPNOV_Q,13;
+		close;
+	}
+	else {
+		mes "[Fishing Novice]";
+		mes "I'm a bit busy,";
+		mes "can't you see?";
+		close;
+	}
+}
+
+airplane,33,47,5	script	Nudor	729,{
+	if (Class == Job_Super_Novice_E || Class == Job_Super_Baby_E) {
+		mes "[Nudor]";
+		mes "Finished at last!";
+		mes "How does it feel?";
+		close;
+	}
+	else if (SUPNOV_Q == 9 || SUPNOV_Q == 10) {
+		if (SUPNOV_Q == 9) {
+			mes "[Nudor]";
+			mes "Who are you?";
+			next;
+			select("Nodor sent me.");
+			mes "[Nudor]";
+			mes "Oh, yes, my brother did";
+			mes "mention that someone was";
+			mes "coming... let me see.";
+			next;
+			mes "[Nudor]";
+			mes "I'll need some Zeny from";
+			mes "you to let you turn into";
+			mes "an Expanded Super Novice.";
+			mes "I can't tell you how much,";
+			mes "But I'd suggest giving at";
+			mes "least ^FF0000100,000z^000000...";
+			set SUPNOV_Q,10;
+			next;
+			mes "[Nudor]";
+			mes "So, what'll it be?";
+		}
+		else {
+			mes "[Nudor]";
+			mes "So, what'll it be?";
+			mes "I'd suggest giving at";
+			mes "least ^FF0000100,000z^000000...";
+		}
+		next;
+		input .@i;
+		mes "[Nudor]";
+		if (Zeny < .@i) {
+			mes "I'm afraid you don't have";
+			mes "that much to give.";
+			close;
+		}
+		if (.@i < 100010) {
+			mes "That... isn't enough.";
+			mes "I'll be taking it anyway,";
+			mes "though... *grins*";
+			set Zeny, Zeny-.@i;
+			close;
+		}
+		set Zeny, Zeny-.@i;
+		emotion e_cash;
+		if (.@i > 200000) set SUPNOV_Q,12;
+		else set SUPNOV_Q,11;
+		mes "Ah, thank you, thank you!";
+		mes "Go back and talk to Nodor.";
+		mes "He'll turn you into an";
+		mes "Expanded Super Novice.";
+		changequest 5099,5100;
+		close;
+	}
+	mes "[Nudor]";
+	mes "Who are you?";
+	close;
+}

+ 1 - 0
npc/re/scripts_jobs.conf

@@ -7,6 +7,7 @@
 // -- Novice
 npc: npc/re/jobs/novice/novice.txt
 npc: npc/re/jobs/novice/supernovice.txt
+npc: npc/re/jobs/novice/supernovice_ex.txt
 // -- 1-1
 npc: npc/re/jobs/1-1/thief.txt
 npc: npc/re/jobs/1-1/archer.txt