From 2e13875cd4dcf1621dae2c20c182e32f6355721e Mon Sep 17 00:00:00 2001 From: Povo Date: Tue, 23 Mar 2021 01:14:53 +0000 Subject: Update kevin.txt - fix style and UX issues --- npc/009-3/kevin.txt | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/npc/009-3/kevin.txt b/npc/009-3/kevin.txt index 622b4624f..419854010 100644 --- a/npc/009-3/kevin.txt +++ b/npc/009-3/kevin.txt @@ -3,11 +3,10 @@ // Saulc // Vasily_Makarov (original from Evol) // Jesusalva -//Dye Quest added by: +// Dye Quest added by: // Povo // Description: -// Description: -// Status Reset +// Status Reset, mixed gem powder, dye 009-3,39,48,0 script Kevin NPC_PLAYER,{ @@ -96,16 +95,19 @@ L_Powder: L_Dye: mesn; - mesq l("Actually, using a byproduct of my other works and a few additional ingredients, I could make @@", getitemlink(PinkDye)); + mesq l("Actually, using a byproduct of my other works and a few additional ingredients, I could make a %s", + getitemlink(PinkDye)); if (BaseLevel < 25) { - mesq l("Hmm...actually nevermind."); + 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."); + mesq l("I cannot in good faith ask someone with so little experience to risk their life for something so trivial."); + mesq l("Come back when you are stronger."); next; goto L_Menu; } next; - mesq l("Bring me 1 @@, 20 @@, and 30 @@ and I can make it for you... oh and it will be 500 GP for my work.", getitemlink(BottleOfTonoriWater), getitemlink(PinkBlobime), getitemlink(Plushroom)); + mesq l("Bring me %d %s, %d %s, and %d %s and I can make it for you... oh and it will be %d GP for my work.", + 1, getitemlink(BottleOfTonoriWater), 20, getitemlink(PinkBlobime), 50, getitemlink(Plushroom), 500); if (getq(HalinarzoQuest_Kevin) < 1) setq HalinarzoQuest_Kevin, 1; next; @@ -113,13 +115,15 @@ L_Dye: l("Yeah, I need one."), l("Thanks for the help, but no."), l("Actually, nevermind. Good bye!"); + mes ""; if (@menu == 2) goto L_Menu; if (@menu == 3) goto L_Quit; - if (countitem(BottleOfTonoriWater) >= 1 && countitem(PinkBlobime) >= 20 && + if (countitem(BottleOfTonoriWater) >= 1 && + countitem(PinkBlobime) >= 20 && countitem(Plushroom) >= 30 && Zeny >= 500) { inventoryplace PinkDye, 1, EmptyBottle, 1; delitem BottleOfTonoriWater, 1; @@ -128,18 +132,17 @@ L_Dye: Zeny=Zeny-500; getitem PinkDye, 1; getitem EmptyBottle, 1; - if(getq(HalinarzoQuest_Kevin) == 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?"); + mesq l("Thanks! Here you go. Perhaps you want another one?"); next; goto L_Dye; } else { mesn; mesq l("Sorry, you don't seem to have everything I need."); - next; } close; @@ -148,7 +151,6 @@ L_Quit: goodbye; close; - OnInit: .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, FancyHat); -- cgit v1.2.3-60-g2f50