public int nomad;
} else if (token.equals("character-rights")) {
p.playerRights = Integer.parseInt(token2);
} else if (token.equals("NomadQuest")) {
p.nomad = Integer.parseInt(token2);
characterfile.newLine();
characterfile.write("character-rights = ", 0, 19);
characterfile.write(Integer.toString(p.playerRight s), 0, Integer.toString
characterfile.newLine();
characterfile.write("NomadQuest = ", 0, 13);
characterfile.write(Integer.toString(p.nomad), 0, Integer.toString(p.nomad).length());
case 783:
if(c.nomad == 0) {
c.getDH().sendDialogues(360, npcType);
} else if(c.nomad == 1) {
c.getDH().sendDialogues(369, npcType);
} else if(c.nomad == 2) {
c.getDH().sendDialogues(385, npcType);
} else if(c.nomad == 3 || c.nomad == 4 || c.nomad == 5 || c.nomad == 6 || c.nomad == 7 || c.nomad ==
{
c.getDH().sendDialogues(393, npcType);
} else if(c.nomad == 9 || c.nomad == 10) {
c.getDH().sendDialogues(416, npcType);
} else {
c.sendMessage("This NPC has nothing to say at the moment");
}
break;
case 302:
if(c.nomad == 1) {
c.getDH().sendDialogues(370, 302);
} else if(c.nomad == 2) {
c.getDH().sendDialogues(381, 302);
} else if(c.nomad == 3) {
c.getDH().sendDialogues(394, 302);
} else if(c.nomad == 4) {
c.getDH().sendDialogues(398, 302);
} else if(c.nomad == 5) {
c.getDH().sendDialogues(402, 302);
} else if(c.nomad == 6) {
c.getDH().sendDialogues(404, 302);
} else if(c.nomad == 7 || c.nomad ==
{
c.getDH().sendDialogues(409, 302);
} else if(c.nomad == 9) {
c.getDH().sendDialogues(415, npcType);
} else {
c.sendMessage("This NPC has nothing to say at the moment");
}
break;
case 706:
if(c.nomad == 7) {
c.getDH().sendDialogues(410, npcType);
} else if(c.nomad ==
{
c.getDH().sendDialogues(410, npcType);
} else if(c.nomad == 9) {
c.getDH().sendDialogues(414, npcType);
} else {
c.sendMessage("This NPC is too busy to speak at the moment");
}
break;
case 113234:
for(int i = 8144; i < 8195; i++) {
c.getPA().sendFrame126("", i);
}
c.getPA().sendFrame126("@dre@The Ritual", 8144);
c.getPA().sendFrame126("", 8145);
if(c.nomad == 0) {
c.getPA().sendFrame126("To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
} else if(c.nomad == 1) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
} else if(c.nomad == 2) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
} else if(c.nomad == 3) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
} else if(c.nomad == 4) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("@str@You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("@str@You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
c.getPA().sendFrame126("Hadley has asked you to go look around white wolf mountain for anything", 8159);
c.getPA().sendFrame126("that looks suspicious", 8160);
c.getPA().sendFrame126("", 8161);
} else if(c.nomad == 5) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("@str@You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("@str@You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
c.getPA().sendFrame126("@str@Hadley has asked you to go look around white wolf mountain for anything", 8159);
c.getPA().sendFrame126("@str@that looks suspicious", 8160);
c.getPA().sendFrame126("", 8161);
c.getPA().sendFrame126("You found a boot in the dungeon entrance, you should give", 8162);
c.getPA().sendFrame126("this to hadley and see what he has to say about it.", 8163);
c.getPA().sendFrame126("", 8164);
} else if(c.nomad == 6) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("@str@You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("@str@You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
c.getPA().sendFrame126("@str@Hadley has asked you to go look around white wolf mountain for anything", 8159);
c.getPA().sendFrame126("@str@that looks suspicious", 8160);
c.getPA().sendFrame126("", 8161);
c.getPA().sendFrame126("@str@You found a boot in the dungeon entrance, you should give", 8162);
c.getPA().sendFrame126("@str@this to hadley and see what he has to say about it.", 8163);
c.getPA().sendFrame126("", 8164);
c.getPA().sendFrame126("The boot was Mizgogs, you were asked to Gear up and go", 8165);
c.getPA().sendFrame126("into the dungeon.", 8166);
c.getPA().sendFrame126("", 8167);
} else if(c.nomad == 7) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("@str@You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("@str@You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
c.getPA().sendFrame126("@str@Hadley has asked you to go look around white wolf mountain for anything", 8159);
c.getPA().sendFrame126("@str@that looks suspicious", 8160);
c.getPA().sendFrame126("", 8161);
c.getPA().sendFrame126("@str@You found a boot in the dungeon entrance, you should give", 8162);
c.getPA().sendFrame126("@str@this to hadley and see what he has to say about it.", 8163);
c.getPA().sendFrame126("", 8164);
c.getPA().sendFrame126("@str@The boot was Mizgogs, you were asked to Gear up and go", 8165);
c.getPA().sendFrame126("@str@into the dungeon.", 8166);
c.getPA().sendFrame126("", 8167);
c.getPA().sendFrame126("You now need to go into the dungeon, be prepared for a fight!", 816
;
c.getPA().sendFrame126("You'll need to defeat Nomad in order to let Mizgog escape.", 8169);
c.getPA().sendFrame126("", 8170);
} else if(c.nomad ==
{
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("@str@You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("@str@You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
c.getPA().sendFrame126("@str@Hadley has asked you to go look around white wolf mountain for anything", 8159);
c.getPA().sendFrame126("@str@that looks suspicious", 8160);
c.getPA().sendFrame126("", 8161);
c.getPA().sendFrame126("@str@You found a boot in the dungeon entrance, you should give", 8162);
c.getPA().sendFrame126("@str@this to hadley and see what he has to say about it.", 8163);
c.getPA().sendFrame126("", 8164);
c.getPA().sendFrame126("@str@The boot was Mizgogs, you were asked to Gear up and go", 8165);
c.getPA().sendFrame126("@str@into the dungeon.", 8166);
c.getPA().sendFrame126("", 8167);
c.getPA().sendFrame126("@str@You now need to go into the dungeon, be prepared for a fight!", 816
;
c.getPA().sendFrame126("@str@You'll need to defeat Nomad in order to let Mizgog escape.", 8169);
c.getPA().sendFrame126("", 8170);
c.getPA().sendFrame126("You found Mizgog, but Nomad won't let him out!", 8171);
c.getPA().sendFrame126("You'll need to defeat Nomad in order to let Mizgog escape.", 8172);
c.getPA().sendFrame126("", 8173);
} else if(c.nomad == 9) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("@str@You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("@str@You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
c.getPA().sendFrame126("@str@Hadley has asked you to go look around white wolf mountain for anything", 8159);
c.getPA().sendFrame126("@str@that looks suspicious", 8160);
c.getPA().sendFrame126("", 8161);
c.getPA().sendFrame126("@str@You found a boot in the dungeon entrance, you should give", 8162);
c.getPA().sendFrame126("@str@this to hadley and see what he has to say about it.", 8163);
c.getPA().sendFrame126("", 8164);
c.getPA().sendFrame126("@str@The boot was Mizgogs, you were asked to Gear up and go", 8165);
c.getPA().sendFrame126("@str@into the dungeon.", 8166);
c.getPA().sendFrame126("", 8167);
c.getPA().sendFrame126("@str@You now need to go into the dungeon, be prepared for a fight!", 816
;
c.getPA().sendFrame126("@str@You'll need to defeat Nomad in order to let Mizgog escape.", 8169);
c.getPA().sendFrame126("", 8170);
c.getPA().sendFrame126("@str@You found Mizgog, but Nomad won't let him out!", 8171);
c.getPA().sendFrame126("@str@You'll need to defeat Nomad in order to let Mizgog escape.", 8172);
c.getPA().sendFrame126("", 8173);
c.getPA().sendFrame126("You have defeated Nomad!", 8174);
c.getPA().sendFrame126("Go to Hadley to collect your reward!", 8175);
c.getPA().sendFrame126("", 8176);
} else if(c.nomad == 10) {
c.getPA().sendFrame126("@str@To start the quest, you should speak to Wilough.", 8147);
c.getPA().sendFrame126("@str@He can be found in the center of canafis.", 814
;
c.getPA().sendFrame126("", 8149);
c.getPA().sendFrame126("@str@You agreed to help the boys find their parents.", 8150);
c.getPA().sendFrame126("@str@You should head off to taverly to see if you can find them.", 8151);
c.getPA().sendFrame126("", 8152);
c.getPA().sendFrame126("@str@You found their parents, they asked you ", 8153);
c.getPA().sendFrame126("@str@to pass on a message to their sons.", 8154);
c.getPA().sendFrame126("", 8155);
c.getPA().sendFrame126("@str@You accepted to help Wiloughs parents find his uncle.", 8156);
c.getPA().sendFrame126("@str@You should go ask Wilough's dad where to look.", 8157);
c.getPA().sendFrame126("", 815
;
c.getPA().sendFrame126("@str@Hadley has asked you to go look around white wolf mountain for anything", 8159);
c.getPA().sendFrame126("@str@that looks suspicious", 8160);
c.getPA().sendFrame126("", 8161);
c.getPA().sendFrame126("@str@You found a boot in the dungeon entrance, you should give", 8162);
c.getPA().sendFrame126("@str@this to hadley and see what he has to say about it.", 8163);
c.getPA().sendFrame126("", 8164);
c.getPA().sendFrame126("@str@The boot was Mizgogs, you were asked to Gear up and go", 8165);
c.getPA().sendFrame126("@str@into the dungeon.", 8166);
c.getPA().sendFrame126("", 8167);
c.getPA().sendFrame126("@str@You now need to go into the dungeon, be prepared for a fight!", 816
;
c.getPA().sendFrame126("@str@You'll need to defeat Nomad in order to let Mizgog escape.", 8169);
c.getPA().sendFrame126("", 8170);
c.getPA().sendFrame126("@str@You found Mizgog, but Nomad won't let him out!", 8171);
c.getPA().sendFrame126("@str@You'll need to defeat Nomad in order to let Mizgog escape.", 8172);
c.getPA().sendFrame126("", 8173);
c.getPA().sendFrame126("@str@You have defeated Nomad!", 8174);
c.getPA().sendFrame126("@str@Go to Hadley to collect your reward!", 8175);
c.getPA().sendFrame126("", 8176);
c.getPA().sendFrame126("@gre@Quest Complete", 8177);
}
c.getPA().showInterface(8134);
break;
case 9157:
if (c.dialogueAction == 90) {
c.getDH().sendDialogues(366, 783);
c.nomad += 1;
c.getPA().sendFrame126("@yel@The Ritual", 29162);
return;
} else if (c.dialogueAction == 91) {
c.getDH().sendDialogues(379, 302);
return;
} else if (c.dialogueAction == 93) {
c.getDH().sendDialogues(406, 302);
return;
} else if (c.dialogueAction == 92) {
c.getDH().sendDialogues(391, 783);
return;
}
case 9158:
if (c.dialogueAction == 90) {
c.getDH().sendDialogues(367, 783);
return;
} else if (c.dialogueAction == 91) {
c.getDH().sendDialogues(380, 817);
return;
} else if (c.dialogueAction == 92) {
c.getDH().sendDialogues(392, 783);
return;
} else if (c.dialogueAction == 93) {
c.getDH().sendDialogues(408, 302);
return;
}
CustomObjects
c.getPA().checkObjectSpawn(13409, 2843, 3492, 4, 10);//Nomad - Dungeon
import server.Server;
case 360:
sendNpcChat4("Excuse me sir, can you help us?", "We can't seem to find our parents,", "They were suppose to be back hours ago!", "Please could you help us look for them?", c.talkingNpc, "Wilough");
c.nextChat = 361;
break;
case 361:
sendPlayerChat1("When was the last time you spoke with them?");
c.nextChat = 362;
break;
case 362:
sendNpcChat2("Well they said they were taking uncle Mizgog ",
"to perform a ritual in taverly.", c.talkingNpc, "Wilough");
c.nextChat = 363;
break;
case 363:
sendPlayerChat2("Ok, but don't you suppose they're just late?", "I think you should wait a while.");
c.nextChat = 364;
break;
case 364:
sendNpcChat2("You don't understand, " + c.playerName + ", they",
"are never late!", c.talkingNpc, "Wilough");
c.nextChat = 365;
break;
case 365:
sendOption2("Ok, I'll help you", "Get lost kid, I'm far too busy.");
c.dialogueAction = 90;
break;
case 366:
sendPlayerChat2("Ok, I'll help you. ", "Meanwhile, wait here and don't wonder off.");
c.nextChat = 368;
break;
case 367:
sendPlayerChat1("Get lost kid, I'm far too busy.");
c.nextChat = 0;
break;
case 368:
sendNpcChat2("Thank you very much!", "Please hurry though.",c.talkingNpc, "Wilough");
c.nextChat = 0;
break;
case 369:
sendNpcChat2("Please hurry back with my parents!", "Please!",c.talkingNpc, "Wilough");
c.nextChat = 0;
break;
case 370:
sendNpcChat2("MIZGOG, where are you!", "Kardia, have you found him?",c.talkingNpc, "Hadley");
c.nextChat = 371;
break;
case 371:
sendNpcChat2("No! I'm still looking, Hadley.", "He has to be around here somewhere!",c.talkingNpc, "Kardia");
c.nextChat = 372;
break;
case 372:
sendPlayerChat2("Uhm, excuse me? are you the parents of", "Wilough and Philop?");
c.nextChat = 373;
break;
case 373:
sendNpcChat2("Wilough? Philop? Where are my boys!", "If you layed one finger on them!",c.talkingNpc, "Hadley");
c.nextChat = 374;
break;
case 374:
sendPlayerChat4("No, no, no. You got this all wrong, I was", "sent here by Wilough and Philop","I seen them wondering around Canafis","looking very scared");
c.nextChat = 375;
break;
case 375:
sendNpcChat2("Oh no, Hadley! We forgot about our boys", "we're horrible parents! Waaaaaa",c.talkingNpc, "Kardia");
c.nextChat = 376;
break;
case 376:
sendNpcChat4("Relax, Kardia, we will sort this out.", "We're sorry, " + c.playerName + ", we were just", "performing a ritual that will convert my brother", "into a real wizard and it went horribly wrong!",c.talkingNpc, "Hadley");
c.nextChat = 377;
break;
case 377:
sendNpcChat2("Could you please pass a message on to our sons?", "We will be extremely greatful " + c.playerName + ".", c.talkingNpc, "Hadley");
c.nextChat = 378;
break;
case 378:
sendOption2("Sure what should I tell them?", "Sorry, I'm far too busy.");
c.dialogueAction = 91;
break;
case 379:
sendPlayerChat1("Sure, what should I tell them?");
c.nomad += 1;
c.nextChat = 383;
break;
case 380:
sendPlayerChat1("Sorry, I'm far too busy.");
c.nextChat = 0;
break;
case 381:
sendNpcChat2("Please hurry and", " pass the message on to our sons!", c.talkingNpc, "Hadley");
c.nextChat = 382;
break;
case 382:
sendPlayerChat1("Ok, I'm going now.");
c.nextChat = 0;
break;
case 383:
sendNpcChat2("Tell them to keep calm and not to panic", " We will be home very soon", c.talkingNpc, "Hadley");
c.nextChat = 384;
break;
case 384:
sendNpcChat2("And please make sure nothing happens to them.", " Let them know, we will return when we find Mizgog.", c.talkingNpc, "Hadley");
c.nextChat = 0;
break;
case 385:
sendPlayerChat4("Hi, Wilough. I found your parents, they are safe", "although, your uncle Mizgog has gone missing so they", "are trying to find them and will return when","they've found him.");
c.nextChat = 386;
break;
case 386:
sendPlayerChat1("They said you should keep calm and don't panic");
c.nextChat = 387;
break;
case 387:
sendNpcChat2("Oh thank you, " + c.playerName + ". We were so worried.", "What happened to uncle Mizgog?", c.talkingNpc, "Hadley");
c.nextChat = 388;
break;
case 388:
sendPlayerChat2("Something went wrong during the ritual", " but they will find him.");
c.nextChat = 389;
break;
case 389:
sendNpcChat2("Can't you help my parents find him, the sooner", "they find him, the sooner they get home.", c.talkingNpc, "Hadley");
c.nextChat = 390;
break;
case 390:
sendOption2("Sure, I'll go help them find your uncle.", "Sorry kids, I've helped enough today.");
c.dialogueAction = 92;
break;
case 391:
sendPlayerChat2("Sure, I'll go help them find your uncle.", "I'll be back soon!");
c.nomad += 1;
c.nextChat = 0;
break;
case 392:
sendPlayerChat1("Sorry kids, I've helped enough today.");
c.nextChat = 0;
break;
case 393:
sendNpcChat2("Please hurry and help my parents", "bring back my uncle!",c.talkingNpc, "Wilough");
c.nextChat = 0;
break;
case 394:
sendNpcChat2("Thanks for passing on the message, " + c.playerName + ".", "But what brings you back here?",c.talkingNpc, "Hadley");
c.nextChat = 395;
break;
case 395:
sendPlayerChat2("Wilough has asked me to help you find Mizgog","after all, two heads are better than one.");
c.nextChat = 396;
break;
case 396:
sendNpcChat3("Oh, thank you, " + c.playerName + ". We really", "appreciate the help, you can start by", "looking around white wolf mountain.", c.talkingNpc, "Hadley");
c.nomad += 1;
c.nextChat = 397;
break;
case 397:
sendPlayerChat1("Ok, i'll be back soon.");
c.nextChat = 0;
break;
case 398:
sendNpcChat2("Have you found anything yet?", "Well have you?",c.talkingNpc, "Hadley");
c.nextChat = 399;
break;
case 399:
sendPlayerChat1("Not yet, I'm still looking.");
c.nextChat = 0;
break;
case 400:
sendStatement("You found a boot, you should return it to Hadley");
c.nomad += 1;
c.nextChat = 0;
break;
case 401:
sendStatement("You found something, but you don't have enough inventory space.");
c.nextChat = 0;
break;
case 402:
sendPlayerChat1("Hadley! I found this boot just outside a cave entrance!");
c.nextChat = 403;
break;
case 403:
sendStatement("You hand the boot over to Hadley");
c.nomad += 1;
c.getItems().deleteItem(685, 2
;
c.nextChat = 404;
break;
case 404:
sendNpcChat3("Oh god no. This boot belongs to Mizgog!", ""+ c.playerName + ", you must go into the cave and ","bring back Mizgog, please!",c.talkingNpc, "Hadley");
c.nextChat = 405;
break;
case 405:
sendOption2("Ok, Hadley, I'll bring him back for you!", "A dark creepy cave? You must be out of your mind!");
c.dialogueAction = 93;
break;
case 406:
sendPlayerChat1("Ok, Hadley, I'll bring him back for you!");
c.nomad += 1;
c.nextChat = 407;
break;
case 407:
sendNpcChat2("Oh thank you, " + c.playerName + "", "Make sure you bring Food and Armour.",c.talkingNpc, "Hadley");
c.nextChat = 0;
break;
case 408:
sendPlayerChat1("A dark creepy cave? You must be out of your mind!");
c.nextChat = 0;
break;
case 409:
sendNpcChat2("Please go and find my brother Mizgog.", "He must be down in the dungeon!",c.talkingNpc, "Hadley");
c.nextChat = 0;
break;
case 410:
sendPlayerChat1("Pssst, hey, Mizgog, quick let's get out of here!");
c.nextChat = 411;
break;
case 411:
sendNpcChat2("You don't understand! he will never let us leave!.", "Unless he is defeated.",c.talkingNpc, "Wizard_Mizgog");
c.nextChat = 412;
break;
case 412:
sendNpcChat2("HEY! Get away from him!", "Or you shall die.",c.talkingNpc, "Nomad");
Server.npcHandler.spawnNpc(c, 8528, c.getX(), c.getY()-8, 0, 0, 120, 25, 200, 200, true, true);
c.nomad = 8;
c.nextChat = 0;
break;
case 413:
sendNpcChat2("AHHHHHHHHHHHHH", "Helppppppppppppppppppp",c.talkingNpc, "Wizard_Mizgog");
c.nextChat = 0;
break;
case 414:
sendNpcChat2("Thank you so much, " + c.playerName + ",", "I'm freeeeeeeeee",c.talkingNpc, "Wizard_Mizgog");
c.nextChat = 0;
break;
case 415:
sendNpcChat2("Thank you for rescuing my brother, " + c.playerName + ",", "Here take this reward",c.talkingNpc, "Hadley");
c.nomad += 1;
c.getPA().sendFrame126("@gre@The Ritual", 29162);
c.nextChat = 417;
break;
case 416:
sendNpcChat2("Thanks for rescuing my uncle and", "bringing my parents back.",c.talkingNpc, "Wilough");
c.nextChat = 0;
break;
case 417:
c.getPA().addSkillXP(150000, 17);
c.getItems().addItem(989, 1);
c.getItems().addItem(11757, 1);
c.nextChat = 0;
c.getPA().sendFrame126("You have completed The Ritual!",12144);
c.getPA().sendFrame126("150,000 thieving experience" ,12150);
c.getPA().sendFrame126("Varrock armour 1" ,12151);
c.getPA().sendFrame126("Crystal key" ,12152);
c.getPA().sendFrame126("Ability to teleport to Nomad" ,12153);
c.getPA().sendFrame126("" ,12154);
c.getPA().sendFrame126("" ,12155);
c.getPA().showInterface(12140);
break;
spawn = 783 3497 3490 0 7 0 0 0 0 Wilough
spawn = 782 3495 3492 0 7 0 0 0 0 Philop
spawn = 706 2781 10076 0 0 0 0 0 0 Wizard_Mizgog
spawn = 992 2921 3484 0 3 0 0 0 0 Kardia
spawn = 302 2927 3490 0 3 0 0 0 0 Hadley
if (npcs[i].npcType == 2745) {
(You must have that)
Client c = (Client)Server.playerHandler.players[npcs[i].spawnedBy];
if (npcs[i].npcType == 852
{
if(c.nomad ==
{
c.nomad += 1;
c.getDH().sendDialogues(414, 706);
}
}
clearQInterface()
if(nomad == 0) {
getPA().sendFrame126("The Ritual", 29162); //1rd section content
} else if(nomad > 0 && nomad < 10) {
getPA().sendFrame126("@yel@The Ritual", 29162);
} else {
getPA().sendFrame126("@gre@The Ritual", 29162);
}
case 13409:
if(c.nomad == 7 || c.nomad ==
{
c.getPA().startTeleport(2783, 10066, 0, "modern");
} else if(c.nomad == 4 && c.getItems().freeSlots() >= 1) {
c.getItems().addItem(685, 1);
c.getDH().sendDialogues(400, -1);
c.startAnimation(881);
} else if(c.nomad == 4 && c.getItems().freeSlots() < 1){
c.getDH().sendDialogues(401, -1);
c.startAnimation(881);
} else {
c.sendMessage("You have no business being here.");
}
break;
Copyright © 2026, NextGenUpdate.
All Rights Reserved.