From 82f151ac1d287147efd5cffbfb937c25d07db123 Mon Sep 17 00:00:00 2001 From: Povo Date: Mon, 22 Mar 2021 04:20:38 +0000 Subject: Update kevin.txt --- npc/009-3/kevin.txt | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-60-g2f50