diff options
author | Povo <trithodex@gmail.com> | 2021-03-22 04:20:38 +0000 |
---|---|---|
committer | Povo <trithodex@gmail.com> | 2021-03-23 01:22:55 +0000 |
commit | 82f151ac1d287147efd5cffbfb937c25d07db123 (patch) | |
tree | fefd137d9c59b0db19bb2b408b85fde02ebabd1d /npc/009-3/kevin.txt | |
parent | 75957e3cd347e8e02165cf24d88fcf492bdc3edd (diff) | |
download | serverdata-82f151ac1d287147efd5cffbfb937c25d07db123.tar.gz serverdata-82f151ac1d287147efd5cffbfb937c25d07db123.tar.bz2 serverdata-82f151ac1d287147efd5cffbfb937c25d07db123.tar.xz serverdata-82f151ac1d287147efd5cffbfb937c25d07db123.zip |
Update kevin.txt
Diffstat (limited to 'npc/009-3/kevin.txt')
-rw-r--r-- | npc/009-3/kevin.txt | 57 |
1 files changed, 56 insertions, 1 deletions
diff --git a/npc/009-3/kevin.txt b/npc/009-3/kevin.txt index a883c8e08..7196f39bd 100644 --- a/npc/009-3/kevin.txt +++ b/npc/009-3/kevin.txt @@ -3,6 +3,9 @@ // Saulc // Vasily_Makarov (original from Evol) // Jesusalva +//Dye Quest added by: +// Povo +// Description: // Description: // Status Reset @@ -21,6 +24,7 @@ L_Menu: select l("Can you reset my stats please?"), l("Can you mix Gem Powder?"), + l("Do you make anything else?"), lg("You are weird, I have to go sorry."); switch (@menu) @@ -30,6 +34,8 @@ L_Menu: case 2: goto L_Powder; case 3: + goto L_Dye; + case 4: goto L_Quit; } @@ -88,11 +94,60 @@ L_Powder: } goto L_Menu; +L_Dye: + mesn; + mesq l("Actually, using a byproduct of my other works and a few additional ingredients, I could make @@", getitemlink(PinkDye)); + if (BaseLevel < 25) { + mesq l("Hmm...actually nevermind."); + next; + mesq l("I cannot in good faith ask someone with such little experience to risk their life for something so trivial. Come back when you are stronger."); + next; + goto L_Menu; + } + next; + mesq l("Bring me 20 @@ and 30 @@ and I can make it for you... oh and it will be 500 GP for my work.", getitemlink(PinkBlobime), getitemlink(Plushroom)); + if (getq(HalinarzoQuest_Kevin) < 1) + setq HalinarzoQuest_Kevin, 1; + next; + select + l("Yeah, I need one."), + l("Thanks for the help, but no."), + l("Actually, nevermind. Good bye!"); + if (@menu == 2) + goto L_Menu; + + if (@menu == 3) + goto L_Quit; + + if (countitem(BottleOfTonoriWater) >= 1 && countitem(PinkBlobime) >= 20 && + countitem(Plushroom) >= 30 && Zeny >= 500) { + inventoryplace PinkDye, 1; + delitem BottleOfTonoriWater, 1; + delitem PinkBlobime, 20; + delitem Plushroom, 30; + Zeny=Zeny-500; + getitem PinkDye, 1; + if(getq(HalinarzoQuest_Kevin) == 1 ) { + setq HalinarzoQuest_Kevin, 2; + getexp 300, 0; + } + mesn; + mesq l("Thanks! Here you go. Perhaps you need another one?"); + next; + goto L_Dye; + } else { + mesn; + mesq l("Sorry, you don't seem to have everything I need."); + next; + } + close; + L_Quit: closedialog; goodbye; close; - + + OnInit: .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, FancyHat); |