Thread: Some quest dialogues

Results 1 to 4 of 4
  1. #1 Some quest dialogues 
    Extreme Donator


    Join Date
    Nov 2009
    Posts
    1,421
    Thanks given
    559
    Thanks received
    266
    Rep Power
    236
    I started on some quests ages ago, but I got bored and I'm not into rsps anymore, so someone may find this useful. I've only added the dialogues, I've left out the checks, the saves etc and you will have to rename some code in here, as i changed it to better suite me.

    The correct dialogues are pretty much 100% to rs for the correct options (ones that advance the quest), while the some what pointless options I added myself (since i got the correct dialogues from youtube videos).
    Rune Mysteries
    Code:
    			/* Start of Rune Mysteries Dialogue.*/
    		case 200:
    		sendnpcchat1("Greetings. Welcome to my castle.", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 201;
    		break;
    				case 201:
    		sendoption2("Have you any quests for me?", "Where can I find money?");
    		c.rmOption2a = false;
    		c.rmOption1 = true;
    		break;
    		
    		case 202:
    		sendplayerchat1("Have you any quests for me?");
    		c.nextchat = 203;
    		break;
    		
    		case 203:
    		sendnpcchat2("Well, it's not really a quest but I recently discovered", "this strange talisman.", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 204;
    		break;
    		
    		case 204:
    		sendnpcchat2("It seems to be mystical and I have never seen anything", "like it before. Would you take it to the head wizard at", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 205;
    		break;
    		
    		case 205:
    		sendnpcchat3("the Wizards' Tower for me? It's just south-west of here", "and should not take you very long at all. I would be", "awfully grateful.", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 206;
    		break;
    		
    		case 206:
    		sendoption2("Sure, no problem.", "Not right now.");
    		c.rmOption2a = true;
    		c.rmOption2b = true;
    		break;
    		
    		case 207:
    		c.runeM++;
    		c.getPA().loadQuests();
    		sendplayerchat1("Sure, no problem.");
    		c.nextchat = 208;
    		break;
    		case 208:
    		sendnpcchat2("Thank you very much, stranger. I am sure the head", "wizard will reward you for such an interesting find", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 209;
    		break;
    		case 209:
    		sendStatement("The duke hands you an @blu@Air Talisman");
    		c.getItems().addItem(1438, 1);
    		c.nextchat = 0;
    		break;
    		case 210:
    		sendplayerchat1("Not right now.");
    		c.nextchat = 0;
    		break;
    		case 211:
    		sendnpcchat1("Greetings. Welcome to my castle.", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 212;
    		break;
    		case 212:
    		sendnpcchat2("I see you haven't delivered the Air Talisman yet.", "Please adventurer, it could be very interesting indeed.", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 213;
    		break;
    		case 213:
    		sendplayerchat1("I will deliver the Talisman to the head wizard.");
    		c.nextchat = 214;
    		break;
    		case 214:
    		sendnpcchat2("Glad to hear it, adventurer!", "Good luck on completing the task.", c.talkingnpc, "Duke Horacio");
    		c.nextchat = 0;
    		break;
    		case 215:
    		sendnpcchat2("Welcome adventurer, to the world renowned", "Wizards' Tower. How may I help you?", c.talkingnpc, "Seridor");
    		c.nextchat = 216;
    		break;
    		case 216:
    		sendoption3("Nothing thanks, I'm just looking around.", "What are you doing down here?", "I'm looking for the head wizard.");
    		c.rmOption3a = true;
    		c.rmOption3b = true;
    		c.rmOption3c = true;
    		break;
    		case 217:
    		sendplayerchat1("Nothing thanks, I'm just looking around.");
    		c.nextchat = 0;
    		break;
    		case 218:
    		sendplayerchat1("What are you doing down here?");
    		c.nextchat = 220;
    		break;
    		case 219:
    		sendplayerchat1("I'm looking for the head wizard.");
    		c.nextchat = 224;
    		break;
    		case 220:
    		sendnpcchat3("This is my home and has been for sometime now,", "I have important work to finish.", "Please leave unless it's something important, adventurer.", c.talkingnpc, "Sedridor");
    		c.nextchat = 221;
    		break;
    		case 221:
    		sendoption2("I'm looking for the head wizard.", "Sorry to bother you, I will be on my way.");
    		c.rmOption3d = true;
    		c.rmOption3e = true;
    		break;
    		case 222:
    		sendplayerchat1("I'm looking for the head wizard.");
    		c.nextchat = 224;
    		break;
    		case 223:
    		sendplayerchat1("Sorry to bother you, I will be on my way.");
    		c.nextchat = 0;
    		break;
    		case 224:
    		sendnpcchat2("Oh, you are, are you?", "And just why would you be doing that", c.talkingnpc, "Sedridor");
    		c.nextchat = 225;
    		break;
    		case 225:
    		sendplayerchat3("The Duke of Lumbridge sent me to find him. I have", "this weird Talisman he found. He said the head wizard", "would be very interested in it");
    		c.nextchat = 226;
    		break;
    		case 226:
    		sendnpcchat4("Did he now? HmmmMMMMMmmmmm.", "Well that IS interesting. Hand it over then adventurer", "let me see what all the hubbub about it is.", "Just some amulet I'll wager", c.talkingnpc, "Sedridor");
    		c.nextchat = 227;
    		break;
    		case 227:
    		sendoption2("Ok, here you are.", "No. I'll only give it to the head wizard.");
    		c.rmOption3f = true;
    		c.rmOption3g = true;
    		break;
    		case 228:
    		sendplayerchat1("Ok, here you are.");
    		c.nextchat = 231;
    		break;
    		case 229:
    		sendplayerchat1("No. I'll only give it to the head wizard");
    		c.nextchat = 230;
    		break;
    		case 230:
    		sendnpcchat2("I am the head wizard of the Wizards' Tower", "Give me the talisman and I shall inspect it.", c.talkingnpc, "Sedridor");
    		c.nextchat = 227;
    		break;
    		case 231:
    		if (c.getItems().playerHasItem(1438, 1)) {
    		c.getItems().deleteItem(1438, 1);
    		sendStatement("You hand the @blu@Talisman@blu@ to the wizard.");
    		c.runeM++;
    		c.getPA().loadQuests();
    		c.nextchat = 232;
    		} else {
    		sendplayerchat1("I forgot the talisman, back in a jiffy.");
    		c.nextchat = 0;
    		}
    		break;
    				case 232:
    		sendnpcchat1("Wow! This is... incredible!", c.talkingnpc, "Sedridor");
    		c.nextchat = 233;
    		break;
    						case 233:
    		sendnpcchat3("Th-this talisman you brought me...! It is the last piece", "of the puzzle. I think! Finally! The legacy of our", "ancestors... it will return to us one more.", c.talkingnpc, "Sedridor");
    		c.nextchat = 234;
    		break;
    		case 234:
    	sendnpcchat3("I need time to study this, "+c.playerName+". Can you please ", "do me this task while I study this talisman you have", "brought me? In the mighty town of Varrock, which", c.talkingnpc, "Sedridor");
    		c.nextchat = 235;
    		break;
    		case 235:
    		sendnpcchat3("is located North East of here, there is a certain shop", "that sells magical runes. I have in this package all of the", "research I have done relating to the Rune Stones, and", c.talkingnpc, "Sedridor");
    		c.nextchat = 236;
    		break;
    		case 236:
    		sendnpcchat3("require somebody to take them to the shopkeeper so that", "he may share my research and offer me his insights.", "Do this thing for me, and bring back what he gives you,", c.talkingnpc, "Sedridor");
    		c.nextchat = 237;
    		break;
    		case 237:
    		sendnpcchat3("and if my suspicions are correct, I will let you into the", "knowledge of one of the greatest secrets this world has", "ever known! A secret so powerful that it destroyed the", c.talkingnpc, "Sedridor");
    		c.nextchat = 238;
    		break;
    		case 238:
    		sendnpcchat4("original Wizards' Tower all of those centuries", "ago! MY research, combined with this mysterious", "talisman... I cannot believe the answer to", "the mysteries is so close now!", c.talkingnpc, "Sedridor");
    		c.nextchat = 239;
    		break;
    		case 239:
    		sendnpcchat2("Do this thing for me "+c.playerName+". Be rewarded in a", "way you can never imagine.", c.talkingnpc, "Sedridor");
    		c.nextchat = 240;
    		break;
    		case 240:
    		sendoption2("Yes, certainly", "No, I'm busy");
    		c.rmOption3h = true;
    		c.rmOption3i = true;
    		break;
    		case 241:
    		sendplayerchat1("Yes, certainly");
    		c.nextchat = 243;
    		break;
    		case 242:
    		sendplayerchat1("No, I'm busy");
    		c.nextchat = 0;
    		break;
    		case 243:
    		sendnpcchat4("Take this package, and head directly North", "from here, through Draynor village, until you reach", "the Barbarian village. Then head East from there", "until you reach Varrock.", c.talkingnpc, "Sedridor");
    		c.nextchat = 244;
    		break;
    		case 244:
    		sendnpcchat3("Once in varrock, take this package to the owner of the", "rune shop. His name is Aubury. You may find it", "helpful to ask one of Varrock's citizens for directions", c.talkingnpc, "Sedridor");
    		c.nextchat = 245;
    		break;
    		case 245:
    		sendnpcchat3("as Varrock can be a confusing place for the first time", "visitor. He will give you a special item - bring it back to", "me, and I shall show you the mystery of the runes...", c.talkingnpc, "Sedridor");
    		c.nextchat = 246;
    		break;
    		case 246:
    		sendStatement("The head wizard gives you a @blu@Research Package@blu@.");
    		c.runeM++;
    		c.runeM++;
    		c.getPA().loadQuests();
    		c.getItems().addItem(290, 1);
    		c.nextchat = 247;
    		break;
    		case 247:
    		sendnpcchat1("Best of luck with your quest, "+c.playerName+".", c.talkingnpc, "Sedridor");
    		c.nextchat = 0;
    		break;
    		case 248:
    		sendnpcchat2("I am still studying the Talisman, "+c.playerName+".", "Please hurry and give the package to Aubury", c.talkingnpc, "Sedridor");
    		c.nextchat = 249;
    		break;
    		case 249:
    		sendplayerchat1("Okay, I will deliver the package to Aubury.");
    		c.nextchat = 0;
    		break;
    		case 250:
    		sendnpcchat1("Do you want to buy some runes", c.talkingnpc, "Aubury");
    		c.nextchat = 251;
    		break;
    		case 251:
    		sendoption3("Yes please!", "Oh, it's a rune shop. No thank you, then.", "I have been sent here with a package for you.");
    		c.rmOption3j = true;
    		c.rmOption3k = true;
    		c.rmOption3l = true;
    		break;
    		case 252:
    		sendplayerchat1("Oh, it's a rune shop. No thank you, then.");
    		c.nextchat = 0;
    		break;
    		case 253:
    		sendplayerchat2("I have been sent here with a package for you. It's from", "the head wizard at the Wizards' Tower.");
    		c.nextchat = 256;
    		break;
    		case 254:
    		sendplayerchat1("Yes Please");
    		c.nextchat = 255;
    		break;
    		case 255:
    			c.getShops().openShop(1);
    		break;
    		case 256:
    		sendnpcchat3("Really? But... surely he can't have..? Please, let me", "have it, it must be extremely important for him to have", "sent a stranger.", c.talkingnpc, "Aubury");
    		c.nextchat = 257;
    		break;
    		case 257:
    if (c.getItems().playerHasItem(290, 1)) {
    		sendStatement("You hand Aubury the @blu@Research Package@blu@.");
    		c.getItems().deleteItem(290, 1);
    		c.runeM++;
    		c.getPA().loadQuests();
    		c.nextchat = 258;
    		} else {
    		sendplayerchat2("I seem to have misplaced the package...", "I will be right back.");
    		c.nextchat = 0;
    		}
    		break;
    		case 258:
    		sendnpcchat2("This... this is incredible. Please, give me a few moments", "to quickly look over this, and then talk to me again.", c.talkingnpc, "Aubury");
    		c.nextchat = 0;
    		break;
    		case 259:
    		sendnpcchat4("My gratitude to you adventurer for bringing me this", "Research Package. I notice that you brought the head", "wizard a special talisman that was the key to finally", "unlocking the puzzle.", c.talkingnpc, "Aubury");
    		c.nextchat = 260;
    		break;
    		case 260:
    		sendnpcchat3("Combined with the information I had already collected", "regarding the Rune Essence. I think we have finally", "unlocked the power to", c.talkingnpc, "Aubury");
    		c.nextchat = 261;
    		break;
    		case 261:
    		sendnpcchat4("..no. I am getting ahead of myself. Please take this", "summary of my reesearch back to the head wizard at", "the Wizards' Tower. I trust his judgement on whether", "to let you in on our little secret or not.", c.talkingnpc, "Aubury");
    		c.nextchat = 262;
    		break;
    		case 262:
    		c.getItems().addItem(291, 1);
    		sendStatement("Aubury hands you his @blu@Research Notes@blu@.");
    		c.runeM++;
    		c.getPA().loadQuests();
    		c.nextchat = 0;
    		break;
    		case 263:
    	sendnpcchat2("Welcome adventurer, to the world renowned", "Wizards' Tower. How may I help you?", c.talkingnpc, "Seridor");
    	c.nextchat = 264;
    	break;
    	case 264:
    	sendnpcchat2("Ah, "+c.playerName+". How goes your quest? Have you", "delivered the research notes to my friend Aubury yet?", c.talkingnpc, "Seridor");
    	c.nextchat = 265;
    	break;
    	case 265:
    	sendplayerchat2("Yes, I have. He gave me some research notes", "to pass on to you");
    	c.nextchat = 266;
    	break;
    	case 266:
    	sendnpcchat1("May I have his notes then?", c.talkingnpc, "Seridor");
    	c.nextchat = 267;
    	break;
    	case 267:
    	if (c.getItems().playerHasItem(291, 1)) {
    	sendplayerchat1("Sure. I have them here.");
    	c.nextchat = 268;
    	} else {
    	sendplayerchat2("I haven't got the research notes with me,", "I will be right back.");
    	c.nextchat = 0;	
    	}
    	break;
    	case 268:
    	sendnpcchat4("Well, before you hand them over to me, as you", "have been nothing but truthful with me to this point", "and I admire that in an adventurer, I will let you", "into the secret of our research.", c.talkingnpc, "Seridor");
    	c.nextchat = 269;
    	break;
    	case 269:
    	sendnpcchat4("Now as you may or may not know, many", "centuries ago, the wizards at this Tower", "learnt the secret of creating Rune Stones, which", "allowed us to cast Magic very easily", c.talkingnpc, "Seridor");
    	c.nextchat = 270;
    	break;
    	case 270:
    	sendnpcchat4("When this Tower was burnt down the secet of", "creating runes was lost to us for all time... except it", "wasn't. Some months ago, while searching these ruins", "for information from the old days,", c.talkingnpc, "Seridor");
    	c.nextchat = 271;
    	break;
    	case 271:
    	sendnpcchat3("I came upon a scroll, almost destroyed, that detailed a", "magical rock deep in the icefields of the North closed", "off from access by anything other than magical means", c.talkingnpc, "Seridor");
    	c.nextchat = 272;
    	break;
    	case 272:
    	sendnpcchat4("This rock was called the Rune Essence by the", "magicians who studied its powers. Apparantly, by simply", "breaking a chunk from it, a Rune Stone could be", "fashioned very quickly and easily at certain", c.talkingnpc, "Seridor");
    	c.nextchat = 273;
    	break;
    	case 273:
    	sendnpcchat4("elemental altars that were scattered across the land", "back then. Now, this is an interesting little piece of", "history, but not much use to us as modern wizards", "without access to the Rune Essence.", c.talkingnpc, "Seridor");
    	c.nextchat = 274;
    	break;
    	case 274:
    	sendnpcchat4("or these elemental altars. This is where you and", "Aubury come into this story. A few weeks back,", "Aubury discovered in a standard delivery of runes", "to his store, a parchment detailing a", c.talkingnpc, "Seridor");
    	c.nextchat = 275;
    	break;
    	case 275:
    	sendnpcchat4("teleportation spell that he had never come across", "before. To his shock, when cast it took him to a", "strange rock he had never encountered before...", "yet that felt strangely familliar...", c.talkingnpc, "Seridor");
    	c.nextchat = 276;
    	break;
    	case 276:
    	sendnpcchat3("As I'm sure you have now guessed, he had discovered a", "portal leading to the mythical Rune Essence. As soon as", "he told me of this spell. I saw the importance of his find,", c.talkingnpc, "Seridor");
    	c.nextchat = 277;
    	break;
    	case 277:
    	sendnpcchat4("for if we could but find the elemental altars spoken", "of in the ancient texts, we would once more be able", "to create runes as our ancestors had done! It would", "be the saviour of the wizards' art!", c.talkingnpc, "Seridor");
    	c.nextchat = 278;
    	break;
    	case 278:
    	sendplayerchat2("I'm still not sure how I fit into", "this little story of yours...");
    	c.nextchat = 279;
    	break;
    	case 279:
    	sendnpcchat3("You haven't guessed? This talisman you brought me...", "it is the key to the elemental altar of air! When", "you hold it next, it will direct you towards", c.talkingnpc, "Seridor");
    	c.nextchat = 280;
    	break;
    	case 280:
    	sendnpcchat3("the entrance to the long forgotten air Altar! By", "bringing pieces of the Rune Essence to the Air Temple,", "you will be able to fashion your own Air Runes!", c.talkingnpc, "Seridor");
    	c.nextchat = 281;
    	break;
    	case 281:
    	sendnpcchat3("And this is not all! By finding other talismans similar", "to this one, you will eventually be able to craft every", "rune that is available on this world! Just", c.talkingnpc, "Seridor");
    	c.nextchat = 282;
    	break;
    	case 282:
    	sendnpcchat3("as our ancestors did! I cannot stress enough what a", "find this is! Now, due to the risks involved of letting", "this mighty power fall into the wrong hands", c.talkingnpc, "Seridor");
    	c.nextchat = 283;
    	break;
    	case 283:
    	sendnpcchat4("I will keep the teleport skill to the Rune Essence", "a closely guarded secret, shared only by myself", "and those Magic users around the world", "whom I trust enough to keep it.", c.talkingnpc, "Seridor");
    	c.nextchat = 284;
    	break;
    	case 284:
    	sendnpcchat4("This means that if any evil power should discover", "the talisman required to enter the elemental", "temples, we will be able to prevent their access", "to the Rune Essence and prevent", c.talkingnpc, "Seridor");
    	c.nextchat = 285;
    	break;
    	case 285:
    	sendnpcchat3("tragedy befalling this world. I know not where the", "temples are located, nor do I know where the talismans", "have been scattered to in this land, but I now", c.talkingnpc, "Seridor");
    	c.nextchat = 286;
    	break;
    	case 286:
    	sendnpcchat3("return your Air Talisman to you. Find the Air", "Temple, and you will be able too charge your Rune", "Essences to become Air Runes at will. Any time", c.talkingnpc, "Seridor");
    	c.nextchat = 287;
    	break;
    	case 287:
    	sendnpcchat3("you wish to visit the Rune Essence, speak to me", "or Aubury and we will open a portal to that mystical", "place for you to visit.", c.talkingnpc, "Seridor");
    	c.nextchat = 288;
    	break;
    	case 288:
    	sendplayerchat2("So only you and Aubury know the teleport", "spell to the Rune Essence?");
    	c.nextchat = 289;
    	break;
    	case 289:
    	sendnpcchat4("No... there are others... whom I will tell of your", "authorisation to visit that place. When you speak", "to them, they will know you, and grant you", "access to that place when asked.", c.talkingnpc, "Seridor");
    	c.nextchat = 290;
    	break;
    	case 290:
    	sendnpcchat4("Use the Air Talisman to locate the air temple", "and use any further talismans you find to locate", "the other missing elemental temples.", "Now... my research notes please?", c.talkingnpc, "Seridor");
    	c.nextchat = 291;
    	break;
    	case 291:
    	c.runeM++;
    	c.getItems().deleteItem(291, 1);
    	c.getItems().addItem(1438, 1);
    	sendStatement2("You hand over the @blu@Research Notes@blu@.", "You recieve the @blu@Air Talisman@blu@.");
    	c.nextchat = 292;
    	break;
    	case 292:
    	c.runeM++;
    	c.getPA().loadQuests();
    	c.getAA2().RUNEM();
    	break;
    	/*End of Rune Mysteries Dialogue*/
    Imp Catcher
    Code:
    	/*Start of Imp Catcher Dialogue*/
    	case 310:
    	sendplayerchat1("Give me a quest!");
    	c.nextchat = 311;
    	break;
    	case 311:
    	sendnpcchat1("Give me a quest what?", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 312;
    	break;
    	case 312:
    	sendoption3("Give me a quest please.", "Give me a quest or else!", "Just stop messing around and give me a quest!");
    	c.impC1 = true;
    	c.impC2 = true;
    	c.impC3 = true;
    	break;
    	case 313:
    	sendplayerchat1("Give me a quest please.");
    	c.nextchat = 319;
    		c.impC1 = false;
    	break;
    		case 314:
    	sendplayerchat1("Give me a quest or else!");
    	c.nextchat = 316;
    	break;
    		case 315:
    	sendplayerchat1("Just stop messing around and give me a quest!");
    	c.nextchat = 316;
    	break;
    	case 316:
    	sendnpcchat1("Ask nicely and I might give you a quest", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 312;
    	break;
    	case 317:
    	sendnpcchat2("Ahhh, okay. I do have a quest you might be interested", "in, adventurer", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 318;
    	break;
    	case 318:
    	sendplayerchat2("Splendid! What is this quest that I may be interested", "in? I am an adventurer, after all.");
    	c.nextchat = 319;
    	break;
    	case 319:
    	sendnpcchat2("Well seeing as you asked nicely... I could do with", "Some help.", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 320;
    	break;
    	case 320:
    	sendnpcchat2("The wizard Grayzag next door decided he didn't like", "me so he enlisted an army of hundreds of imps.", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 321;
    	break;
    	case 321:
    	sendnpcchat3("These imps stole all sorts of my things. Most of these", "things I dont really care about, just eggs and balls of", "string and things.", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 322;
    	break;
    	case 322:
    	sendnpcchat2("But they stole my four magic beads. There was a red", "one, a yellow one, a black one and a white one.", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 323;
    	break;
    	case 323:
    	sendnpcchat2("These imps have now spread all over the kingdom.", "Could you get my beads back for me?", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 324;
    	break;
    	case 324:
    	sendoption2("I'll try.", "I've better things to do than chase imps.");
    	c.impC4 = true;
    	c.impC5 = true;
    	break;
    	case 325:
    	c.impC++;
    	c.getPA().loadQuests();
    	sendplayerchat1("I'll try.");
    	c.nextchat = 327;
    	break;
    	case 326:
    	sendplayerchat1("I've better things to do than chase imps.");
    	c.nextchat = 0;
    		c.impC4 = false;
    	break;
    	case 327:
    	sendnpcchat1("That's great, thank you.", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 0;
    	break;
    	case 328:
    	sendnpcchat1("So how are you doing finding my beads", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 329;
    	break;
    	case 329:
    	if(c.getItems().playerHasItem(1470, 1) && c.getItems().playerHasItem(1472, 1) && c.getItems().playerHasItem(1474, 1) && c.getItems().playerHasItem(1476, 1)) {
    	sendplayerchat1("I've got all four beads. It was hard work I can tell you.");
    	c.nextchat = 332;
    	} else {
    	sendplayerchat2("No, not yet. But i'm working on it. These Imps are", "annoying little pests.");
    	c.nextchat = 330;
    	}
    	break;
    	case 330:
    	sendnpcchat2("I'm counting on you, adventurer. These magical beads are", "of great important to me.", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 331;
    	break;
    	case 331:
    	sendplayerchat1("I will not let you down.");
    	c.nextchat = 0;
    	break;
    	case 332:
    	sendnpcchat3("Give them here and I'll check that they are really MY", "beads, before I give you your reward. You'll like", "it, it's an Amulet of Accuracy", c.talkingnpc, "Wizard Mizgog");
    	c.nextchat = 333;
    	break;
    	case 333:
    	if(c.getItems().playerHasItem(1470, 1) && c.getItems().playerHasItem(1472, 1) && c.getItems().playerHasItem(1474, 1) && c.getItems().playerHasItem(1476, 1)) {
    	c.getItems().deleteItem(1470, 1);
    	c.getItems().deleteItem(1472, 1);
    	c.getItems().deleteItem(1474, 1);
    	c.getItems().deleteItem(1476, 1);
    	sendStatement("You give four coloured beads to Wizard Mizgog");
    	c.impC++;
    	c.getPA().loadQuests();
    	c.nextchat = 334;
    	} else {
    	sendplayerchat2("Oops, it appears I didn't have as many as I thought", "I had. I will be right back.");
    	c.nextchat = 0;
    	}
    	break;
    	case 334:
    	c.getItems().addItem(1478, 1);
    	c.impC++;
    	c.getAA2().IMPC();
    	c.getPA().loadQuests();
    	c.nextchat = 0;
    	break;
    	/*End of Imp Catcher Dialogue*/
    Witches Potion
    Code:
    	/*Start of Witches Potion dialogue*/
    	case 350:
    	sendnpcchat1("What could you want with an old woman like me?", c.talkingnpc, "Hetty");
    	c.nextchat = 351;
    	break;
    	case 351:
    	sendoption2("I am in search of a quest.", "I've heard that you are a witch.");
    	c.witchP1 = true;
    	c.witchP2 = true;
    	break;
    	case 352:
    	sendplayerchat1("I am in search of a quest.");
    	c.nextchat = 354;
    	break;
    	case 353:
    	sendplayerchat1("I've heard that you are a witch.");
    	c.nextchat = 357;
    	break;
    	case 357:
    	sendnpcchat2("What you hear is correct. I am a witch, who", "studies the dark arts.", c.talkingnpc, "Hetty");
    	c.nextchat = 355;
    	break;
    	case 354:
    	sendnpcchat1("Hmmm... Maybe I can think of something for you.", c.talkingnpc, "Hetty");
    	c.nextchat = 355;
    	break;
    	case 355:
    	sendnpcchat2("Would you like to become more proficient in the dark", "arts?", c.talkingnpc, "Hetty");
    	c.nextchat = 356;
    	break;
    	case 356:
    	sendoption3("Yes help me become one with my darker side.", "No I have my principles and honour.", "What, you mean improve my magic?");
    	c.witchP3 = true;//9167
    	c.witchP4 = true;//9168
    	c.witchP5 = true;//9169
    	break;
    	case 374:
    	sendplayerchat1("Yes help me become one with my darker side.");
    	c.witchP++;
    	c.getPA().loadQuests();
    	c.nextchat = 362;
    	break;
    	case 358:
    	sendplayerchat1("No I have my principles and honour.");
    	c.nextchat = 0;
    	break;
    	case 359:
    	sendplayerchat1("What, you mean improve my magic?");
    	c.nextchat = 360;
    	break;
    	case 360:
    	sendnpcchat2("If you help me, I can help improve your Magic level.", "Will you help me, adventurer?", c.talkingnpc, "Hetty");
    	c.nextchat = 361;
    	break;
    	case 361:
    	sendoption2("Yes help me become one with my darker side.", "No I have my principles and honour.");
    	c.witchP6 = true;
    	c.witchP7 = true;
    	break;
    	case 362:
    	sendnpcchat2("Ok I'm going to make a potion to help bring out your", "darker self.", c.talkingnpc, "Hetty");
    	c.nextchat = 363;
    	break;
    	case 363:
    	sendnpcchat1("You will need certain ingredients.", c.talkingnpc, "Hetty");
    	c.nextchat = 364;
    	break;
    	case 364:
    	sendplayerchat1("What do I need?");
    	c.nextchat = 365;
    	break;
    	case 365:
    	sendnpcchat2("You need an eye of newt, a rat's tail, an onion... oh", "and a piece of burnt meat.", c.talkingnpc, "Hetty");
    	c.nextchat = 366;
    	break;
    	case 366:
    	sendplayerchat1("Great, I'll go and get them.");
    	c.nextchat = 0;
    	break;
    	case 367:
    	sendnpcchat1("So have you found the things for the potion?", c.talkingnpc, "Hetty");
    	c.nextchat = 368;
    	break;
    	case 368:
    	if(c.getItems().playerHasItem(300, 1) && c.getItems().playerHasItem(2146, 1) && c.getItems().playerHasItem(1957, 1) && c.getItems().playerHasItem(221, 1)) {
    	sendplayerchat1("Yes I have everything!");
    	c.nextchat = 369;
    	} else {
    	sendplayerchat1("Not yet, I still have some items to find.");
    	c.nextchat = 0;
    	}
    	break;
    	case 369:
    	sendnpcchat1("Excellent, can I have them then?", c.talkingnpc, "Hetty");
    	c.nextchat = 370;
    	break;
    	case 370:
    if(c.getItems().playerHasItem(300, 1) && c.getItems().playerHasItem(2146, 1) && c.getItems().playerHasItem(1957, 1) && c.getItems().playerHasItem(221, 1)) {
    c.getItems().deleteItem(300, 1);
    c.getItems().deleteItem(2146, 1);
    c.getItems().deleteItem(1957, 1);
    c.getItems().deleteItem(221, 1);
    c.witchP++;
    c.getPA().loadQuests();
    	sendStatement3("You pass the ingredients to Hetty and she puts them all into her", "cauldron. Hetty closes her eyes and begins to chant. The cauldron", "bubbles mysteriously.");
    	c.nextchat = 371;
    	} else {
    	sendplayerchat1("I don't have all the items, back soon");
    	c.nextchat = 0;
    	}
    	break;
    	case 371:
    	sendplayerchat1("Well, is it ready?");
    	c.nextchat = 372;
    	break;
    	case 372:
    	sendnpcchat1("Ok, now drink from the cauldron.", c.talkingnpc, "Hetty");
    	c.nextchat = 0;
    	break;
    /*End of Witch's potion dialogue*/
    ActionHandler for Witches Potion
    Code:
    		case 2024: //witches potion quest completion
    	if(c.witchP == 2) {
    	sendStatement2("You drink from the cauldron, it tastes horrible! You feel yourself", "imbued with power.");
    	c.witchP++;
    	c.getPA().loadQuests();
    	c.getAA2().WITCHP();
    		} else {
    		sendPlayerChat1("I wouldn't want to drink this, who knows what it contains."); {
    		break;
    Doric's Quest
    Code:
    /*Start of Dorics Quest dialogue*/
    case 390:
    sendnpcchat1("Hello traveller, what brings you to my humble smithy?", c.talkingnpc, "Doric");
    c.nextchat = 391;
    break;
    case 391:
    sendoption5("I wanted to use your anvils", "I want to use your whetstone", "Mind your own business shortstuff!", "I was just checking out the landscape.", "What do you make here?");
    c.doricQ1 = true;
    c.doricQ2 = true;
    c.doricQ3 = true;
    c.doricQ4 = true;
    c.doricQ5 = true;
    break;
    case 392:
    sendplayerchat1("I wanted to use your anvils.");
    c.nextchat = 398;
    break;
    case 393:
    sendplayerchat1("I want to use your whetstone.");
    c.nextchat = 402; // TODO
    break;
    case 394:
    sendplayerchat1("Mind your own business shortstuff!");
    c.nextchat = 0; // done
    break;
    case 395:
    sendplayerchat1("I was just checking out the landscape.");
    c.nextchat = 0; // done
    break;
    case 396:
    sendplayerchat1("What do you make here?");
    c.nextchat = 397; // done
    break;
    case 397:
    sendnpcchat4("The one and only thing I make here are Pickaxes", "It's been within the family for years and it's how", "I make my living, but it does depend if I have", "the materials required...", c.talkingnpc, "Doric");
    c.nextchat = 391; // done
    break;
    case 398:
    sendnpcchat4("My anvils get enough work with my own use. I make", "pickaxes, and it takes a lot of hard work. If you could", "get me some more materials, then I could let you use,", "them.", c.talkingnpc, "Doric");
    c.nextchat = 399;
    break;
    case 399:
    sendoption2("Yes, I will get you the materials.", "No, hitting rocks, is for the boring people, sorry.");
    c.doricQ6 = true;
    c.doricQ7 = true;
    break;
    case 400:
    sendplayerchat1("Yes, I will get the materials.");
    c.doricQ++;
    c.getPA().loadQuests();
    c.nextchat = 403;
    break;
    case 401:
    sendplayerchat1("No, hitting rocks, is for the boring people, sorry.");
    c.nextchat = 0;
    break;
    case 402:
    sendnpcchat4("I wont let anyone use my whetstone, as it's", "very important for me to earn my living.", "However, if you bring me some materials I need", "I will let you use my anvils?", c.talkingnpc, "Doric");
    c.nextchat = 399;
    break;
    case 403:
    sendnpcchat4("Clay is what I use more than anything, to make casts.", "Could you get me 6 clay, 4 copper ore and 2 iron ore,", "please? I could pay a little, and let you use my anvils.", "Take this piackaxe with you just in case you need it.", c.talkingnpc, "Doric");
    c.nextchat = 404;
    break;
    case 404:
    sendoption2("Where can I find those?", "Certainly. I'll be right back.");
    c.getItems().addItem(1265, 1);
    c.doricQ8 = true;
    c.doricQ9 = true;
    break;
    case 405:
    sendnpcchat3("You can find all of these ores in the Falador mines", "If you head south to Falador Centre, you can then", "head East and into the mines.", c.talkingnpc, "Doric");
    c.nextchat = 0;
    break;
    case 406:
    sendplayerchat1("Certainly! I'll be right back.");
    c.nextchat = 0;
    break;
    case 407:
    sendnpcchat1("Have you got my minerals yet, traveller?", c.talkingnpc, "Doric");
    c.nextchat = 408;
    break;
    case 408:
    if (c.getItems().playerHasItem(436, 4) && c.getItems().playerHasItem(440, 2) && c.getItems().playerHasItem(434, 6)) {
    sendplayerchat1("I have everything you need.");
    c.nextchat = 409;
    } else {
    sendplayerchat1("No, sorry. I still need to collect more minerals.");
    c.nextchat = 0;
    }
    break;
    case 409:
    sendnpcchat3("Many thanks. Pass them here, please. I can spare you", "some coins for your trouble, and please use my anvils", "any time you want.", c.talkingnpc, "Doric");
    c.nextchat = 410;
    break;
    case 410:
    if (c.getItems().playerHasItem(436, 4) && c.getItems().playerHasItem(440, 2) && c.getItems().playerHasItem(434, 6)) {
    c.getItems().deleteItem(436, 4);
    c.getItems().deleteItem(440, 2);
    c.getItems().deleteItem(434, 6);
    c.doricQ++;
    c.getPA().loadQuests();
    sendStatement("You hand the @blu@clay@bla@, @blu@copper@bla@, and @blu@iron@bla@ to Doric.");
    c.nextchat = 411;
    } else {
    sendplayerchat1("Oh, I don't have all the minerals, I will be right back.");
    c.nextchat = 0;
    }
    break;
    case 411:
    c.getItems().addItem(995, 180);
    c.doricQ++;
    c.getPA().loadQuests();
    c.getAA2().DORICQ();
    c.nextchat = 0;
    break;
    case 412:
    sendplayerchat1("Where can I find those?");
    c.nextchat = 405;
    break;
    
    /*End of Doric's Quest Dialogue*/
    Start of the Knights Sword
    Code:
    /*Start of Knights Sword Dialogue*/
    case 420:
    sendnpcchat1("Hello. I am the squire Sir Vyvin.", c.talkingnpc, "Squire");
    c.nextchat = 421;
    break;
    case 421:
    sendoption2("And how is life as a squire?", "Wouldn't you prefer to be a squire for me?");
    c.knightS1 = true;
    c.knightS2 = true;
    break;
    case 422:
    sendplayerchat1("And how is life as a squire?");
    c.nextchat = 426;
    break;
    case 423:
    sendplayerchat1("Wouldn't you prefer to be a squire for me?");
    c.nextchat = 424;
    break;
    case 424:
    sendnpcchat1("This is no time for jokes, adventurer.", c.talkingnpc, "Squire");
    c.nextchat = 425;
    break;
    case 425:
    sendplayerchat1("Why? What's wrong?");
    c.nextchat = 426;
    break;
    case 426:
    sendnpcchat3("Well, Sir Vyvin is a good guy to work for, however,", "I'm in a spot of trouble today. I've gone and lose Sir", "Vyvin's sword!", c.talkingnpc, "Squire");
    c.nextchat = 427;
    break;
    case 427:
    sendoption3("Do you know where you lost it?", "I can make a new sword if you like...", "Is he angry?");
    c.knightS3 = true;
    c.knightS4 = true;
    c.knightS5 = true;
    break;
    case 428:
    sendplayerchat1("Do you know where you lost it?");
    c.nextchat = 432;
    break;
    case 429:
    sendplayerchat1("I can make a new sword if you like...");
    c.nextchat = 433;
    break;
    case 430:
    sendplayerchat1("Is he angry?");
    c.nextchat = 431;
    break;
    case 431:
    sendnpcchat2("I can't bring myself to tell him, I like and need", "to keep my job, it's who I am.", c.talkingnpc, "Squire");
    c.nextchat = 427;
    break;
    case 432:
    sendnpcchat2("That's the problem! I don't know where it is or", "How I lost it, it was my responsibility...", c.talkingnpc, "Squire");
    c.nextchat = 427;
    break;
    case 433:
    sendnpcchat2("Thanks for the offer. I'd be suprised if you could", "though", c.talkingnpc, "squire");
    c.nextchat = 434;
    break;
    case 434:
    sendnpcchat4("The thing is, this sword is a family heirloom. It has been", "passed down through Vyvin's family for five", "generations! It was originally made by the Imcando", "dwarves, who were", c.talkingnpc, "Squire");
    c.nextchat = 435;
    break;
    case 435:
    sendnpcchat2("a particulary skilled tribe of dwarves smiths. I doubt", "anyone could make it in the style they do", c.talkingnpc, "Squire");
    c.nextchat = 436;
    break;
    case 436:
    sendoption2("So would these dwarves make another one?", "Well I hope you find it soon.");
    c.knightS6 = true;
    c.knightS7 = true;
    break;
    case 437:
    sendplayerchat1("So would these dwarves make another one?");
    c.nextchat = 439;
    break;
    case 438:
    sendplayerchat1("Well I hope you find it soon.");
    c.nextchat = 0;
    break;
    case 439:
    sendnpcchat4("I'm not a hundred percent sure the Imcando tribe", "exists anymore. I should think Reldo, the palace", "librarian in Varrock, will know; he has done a lot of", "research on the races of Vitality 317.", c.talkingnpc, "Squire");
    c.nextchat = 440;
    break;
    case 440:
    sendnpcchat3("I don't suppose you could try and track down the", "Imcando dwarves for me? I've got so much work to", "do...", c.talkingnpc, "Squire");
    c.nextchat = 441;
    break;
    case 441:
    sendoption2("Ok, I'll give it a go.", "No, I've got lots of mining work to do.");
    c.knightS8 = true;
    c.knightS9 = true;
    break;
    case 442:
    c.knightS++;
    c.getPA().loadQuests();
    sendplayerchat1("Ok, I'll give it a go.");
    c.nextchat = 444;
    break;
    case 443:
    sendplayerchat1("No, I've got lots of mining work to do");
    c.nextchat = 0;
    break;
    case 444:
    sendnpcchat2("Thank you very much! As I say, the best place to start", "should be with Reldo...", c.talkingnpc, "Squire");
    c.nextchat = 0;
    break;
    
    case 448:
    sendnpcchat1("Hello stranger.", c.talkingnpc, "Reldo");
    c.nextchat = 449;
    break;
    case 449:
    sendoption4("I'm in search of a quest.", "Do you have anything to trade?", "What do you do?", "What do you know about the Imcando dwarves?");
    c.knightS10 = true;
    c.knightS11 = true;
    c.knightS12 = true;
    c.knightS13 = true;
    break;
    case 550:
    sendplayerchat1("I'm in search of a quest.");
    c.nextchat = 0;
    break;
    case 554:
    sendnpcchat2("Sorry, adventurer I don't have any quests at this", "moment in time, but keep checking. You never know when...", c.talkingnpc, "Reldo");
    c.nextchat = 449;
    break;
    case 551:
    sendplayerchat1("Do you have anything to trade?");
    c.nextchat = 0;
    break;
    case 555:
    sendnpcchat1("No, sorry. I'm not a trader, my life is researching.", c.talkingnpc, "Reldo");
    c.nextchat = 449;
    break;
    case 552:
    sendplayerchat1("What do you do?");
    c.nextchat = 0;
    break;
    case 556:
    sendnpcchat3("I have devoted my life to research, mainly looking into", "different races that exist in Vitality 317, it's", "very interesting indeed.", c.talkingnpc, "Reldo");
    c.nextchat = 449;
    case 553:
    sendplayerchat1("What do you know about the Imcando dwarves?");
    c.nextchat = 0;
    break;
    case 557:
    sendnpcchat1("The Imcando dwarves, you say?", c.talkingnpc, "Reldo");
    break;
    case 558:
    sendnpcchat3("Ah yes... for many hundreds of years they were the", "World's most skilled smiths. They used secret smithing", "knowledge passed down from generation to generation.", c.talkingnpc, "Reldo");
    c.nextchat = 559;
    break;
    case 559:
    sendnpcchat3("Unfortunately, about a century ago, the once thriving", "race was wiped out during the barbarian invasions of", "that time.", c.talkingnpc, "Reldo");
    c.nextchat = 560;
    break;
    case 560:
    sendplayerchat1("So are there any Imcando left at all?");
    c.nextchat = 561;
    break;
    case 561:
    sendnpcchat3("I believe a few of them survived, but with the bulk of", "their population destroyed their numbers have dwindled", "even further.", c.talkingnpc, "Reldo");
    c.nextchat = 562;
    break;
    case 562:
    sendnpcchat3("I believe I remember a couple living in Asgarnia near", "the cliffs on the Asgarnian southern peninsula, but they", "DO tend to keep to themselves.", c.talkingnpc, "Reldo");
    c.nextchat = 563;
    break;
    case 563:
    sendnpcchat4("They tend not to tell people that they're the", "descendants of the Imcando, which is why people think", "that the tribe has died out totally, but you may well", "have more luck talking to them if you bring them some", c.talkingnpc, "Reldo");
    c.nextchat = 564;
    break;
    case 564:
    c.knightS++;
    c.getPA().loadQuests();
    sendnpcchat1("redberry pie. They REALLY like redberry pie.", c.talkingnpc, "Reldo");
    c.nextchat = 0;
    break;
    Dialogue Handler
    sendStatement for 2 and 3 lines, isn't in original pi, so some ppl may not have...

    Code:
    		private void sendStatement2(String s, String s1) { //2 line click here to continue
    		c.getPA().sendFrame126(s, 360);
    		c.getPA().sendFrame126(s1, 361);
    		c.getPA().sendFrame164(359);
    	}
    		private void sendStatement3(String s, String s1, String s2) { //3 line click here to continue
    		c.getPA().sendFrame126(s, 364);
    		c.getPA().sendFrame126(s1, 365);
    		c.getPA().sendFrame126(s2, 366);
    		c.getPA().sendFrame164(363);
    	}
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Chemist

    Advocatus's Avatar
    Join Date
    Dec 2009
    Posts
    2,622
    Thanks given
    201
    Thanks received
    813
    Rep Power
    1462
    Damn hawt. Ill read over these and might add them, gj.
    Quote Originally Posted by blakeman8192 View Post
    Quitting is the only true failure.
    Reply With Quote  
     

  4. #3  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Wow, these look sexy
    Will probably replace many of my dialogues. Thanks for this
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  5. #4  
    Extreme Donator


    Join Date
    Nov 2009
    Posts
    1,421
    Thanks given
    559
    Thanks received
    266
    Rep Power
    236
    Np, was going to delete them when cleaning up my comp, but i guess it saves people sometime if they're remaking the quests anyway.

    EDIT: Added sendStatement for 2 and 3 lines, isn't in original pi, so some ppl may not have...

    Code:
    		private void sendStatement2(String s, String s1) { //2 line click here to continue
    		c.getPA().sendFrame126(s, 360);
    		c.getPA().sendFrame126(s1, 361);
    		c.getPA().sendFrame164(359);
    	}
    		private void sendStatement3(String s, String s1, String s2) { //3 line click here to continue
    		c.getPA().sendFrame126(s, 364);
    		c.getPA().sendFrame126(s1, 365);
    		c.getPA().sendFrame126(s2, 366);
    		c.getPA().sendFrame164(363);
    	}
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Quest dialogues?
    By Ross in forum Help
    Replies: 2
    Last Post: 03-13-2011, 12:56 AM
  2. Quest dialogues
    By Teemuzz in forum Requests
    Replies: 0
    Last Post: 01-05-2011, 01:12 PM
  3. Replies: 19
    Last Post: 08-21-2010, 09:49 PM
  4. Replies: 96
    Last Post: 07-30-2010, 08:46 PM
  5. Replies: 7
    Last Post: 08-09-2009, 09:06 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •