From cd8d31c794d26483d7c28c651e0e19cc4b27f617 Mon Sep 17 00:00:00 2001 From: Playtester Date: Sat, 12 Aug 2006 08:44:52 +0000 Subject: * Added Violin[3] to the Comodo Weapon seller * Optimized a warp near Gunslinger weapon shop * Extended the Garrison quest to slot the Garrison git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8247 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/gunslinger_quests.txt | 78 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 2 deletions(-) (limited to 'npc/quests') diff --git a/npc/quests/gunslinger_quests.txt b/npc/quests/gunslinger_quests.txt index 00eb89e4b..7fbcc4ada 100644 --- a/npc/quests/gunslinger_quests.txt +++ b/npc/quests/gunslinger_quests.txt @@ -1,13 +1,14 @@ //===== By: ================================================== //= Playtester //===== Current Version: ===================================== -//= 1.0 +//= 1.1 //===== Compatible With: ===================================== //= SVN eA //===== Description: ========================================= //= Gunslinger guns and bullet quests //===== Additional Comments: ================================= //= 1.0 Only Garrison Gun done yet [Playtester] +//= 1.1 Added Garrison[2] //============================================================ @@ -17,6 +18,8 @@ que_ng.gat,182,85,3 script Mr.Garrison 109,{ set @npcname$,"[Mr.Garrison]"; mes @npcname$; + if(countitem(13105)>0) goto L_Already; + if(countitem(13104)>0) goto L_Slot; mes "I have invented a new Revolver!"; mes "I think I call it... Garrison."; next; @@ -66,13 +69,13 @@ que_ng.gat,182,85,3 script Mr.Garrison 109,{ close; } mes "I see you came prepared."; + next; delitem 999,50; delitem 985,3; delitem 984,1; delitem 1003,50; delitem 7317,20; set Zeny,Zeny-30000; - next; mes @npcname$; mes "Give me just a minute..."; mes "..."; @@ -91,4 +94,75 @@ que_ng.gat,182,85,3 script Mr.Garrison 109,{ mes "favorite gun, heh."; close; } + +L_Slot: + mes "Oh, I see you have one of"; + mes "my high-quality guns."; + next; + mes @npcname$; + mes "Now that I look at it, I"; + mes "think I could improve it"; + mes "some more."; + next; + mes @npcname$; + mes "How about I add a ^0000FFslot^000000"; + mes "to it? Be careful, though."; + mes "If you put a card into it"; + mes "already, it will be lost"; + mes "in the process."; + next; + switch(select("Yes, please add a slot.","Nah, I keep it as it is now.")) + { + + case 1: + mes @npcname$; + mes "Great! But first you need to"; + mes "bring me the materials I need"; + mes "to improve it."; + next; + mes @npcname$; + mes "This is what I need:"; + mes "^FF000010 Steels^000000,"; + mes "^FF00001 Eluniums^000000,"; + mes "^FF000010 Emveretarcon^000000,"; + mes "^FF000030 Coals^000000,"; + mes "^FF000010 Rusty Screws^000000 and"; + mes "of course your ^FF0000Garrison^000000."; + next; + mes @npcname$; + if ( (countitem(999)<10) || (countitem(985)<1) || (countitem(1011)<10) ||(countitem(1003)<30) || (countitem(7317)<10) || (countitem(13104)<1) ) { + mes "Come back when you have the materials."; + close; + } + mes "I see you came prepared."; + next; + delitem 999,10; + delitem 985,1; + delitem 1011,10; + delitem 1003,30; + delitem 7317,10; + delitem 13104,1; + mes @npcname$; + mes "Give me just a minute..."; + mes "..."; + mes "..."; + next; + getitem 13105,1; + mes @npcname$; + mes "It's done. Now it is"; + mes "even better than before."; + mes "Put it to good use."; + close; + + case 2: + mes @npcname$; + mes "Okay, come back when you"; + mes "changed your mind."; + close; + } + +L_Already: + mes "So how do you like"; + mes "my gun?"; + close; } \ No newline at end of file -- cgit v1.2.3-70-g09d2