diff options
Diffstat (limited to 'npc/008-1/banu.txt')
-rwxr-xr-x[-rw-r--r--] | npc/008-1/banu.txt | 111 |
1 files changed, 94 insertions, 17 deletions
diff --git a/npc/008-1/banu.txt b/npc/008-1/banu.txt index 05209a2c..886bfe06 100644..100755 --- a/npc/008-1/banu.txt +++ b/npc/008-1/banu.txt @@ -1,20 +1,97 @@ -// The Mana World scripts. -// Author: -// Micksha -// Description: -// Banu, the old lady. -// THIS IS A PLACEHOLDER! - -008-1,244,88,0 script Banu NPC_OLD_LADY,{ - speech - l("Hello."), - l("You don't have a scythe, by chance? I am too old to mew this field all alone."), - l("I asked Hinnak, but he wants at least a beer in exchange for his scythe."), - l("But I hate alcohol, so thats not an option for me."); +008-1,70,42,0 script Banu NPC154,{ + @Exp = 100; + @money_water = 250; + @money_knife = 100; - close; + if (QL_BANU >= 3) goto L_Done; + if (QL_BANU == 2) goto L_Knife; + if (QL_BANU == 1) goto L_Water; + + mes "[Banu]"; + mes "\"Ah, hello. You've come at just the right moment. The field work is hard and the sun is burning."; + mes "Would you mind refilling an old woman's Empty Bottle with water?\""; + menu + "Sure!",L_Next, + "Sorry, I'm busy.",L_close; + +L_Next: + getinventorylist; + if (@inventorylist_count == 100) + goto L_FullInv; + + mes "She smiles."; + mes "[Banu]"; + mes "\"Here is my Empty Bottle. There is a well right over there at Hurnscald.\""; + getitem "EmptyBottle", 1; + QL_BANU = 1; + goto L_close; + +L_Water: + mes "[Banu]"; + mes "\"Ah, you're back. I'm so thirsty.\""; + next; + if (countitem("BottleOfWater") < 1) + goto L_NoWater; + delitem "BottleOfWater", 1; + mes "She grabs the Bottle of Water and drinks."; + getexp @Exp, 0; + Zeny = Zeny + @money_water; + QL_BANU = 2; + mes "[Banu]"; + mes "\"Ah, that's refreshing. Thank you. You're a good kid. Have this for your expenses."; + mes "Maybe you can do me another favor?\""; + next; + mes "\"I need a new Knife. Peter in the Hurnscald forge to the South of here is selling some. But it's such a long way for my old legs."; + mes "Would you go to get me a Knife?\""; + goto L_close; + +L_Knife: + mes "[Banu]"; + mes "\"Hello dear. Did you get the knife for me?\""; + menu + "Yeah, here is it.",L_Next1, + "Not yet.",L_close; -OnInit: - .distance = 4; - end; +L_Next1: + if (countitem("Knife") < 1) + goto L_NoKnife; + delitem "Knife", 1; + getexp @Exp, 0; + Zeny = Zeny + @money_knife; + QL_BANU = 3; + mes "[Banu]"; + mes "\"Thank you! You're a darling. Please take this for your effort.\""; + goto L_close; + +L_Done: + mes "[Banu]"; + @rand = rand(3); + if (@rand == 0) + mes "\"I spent all my life here in Hurnscald. It's a good place to live.\""; + if (@rand == 1) + mes "\"Did you see the kids playing hide and seek? Ah, when I was young I used to play with my good friend Sorfina. She lives in Candor now, East of Hurnscald by boat.\""; + if (@rand == 2) + mes "\"Tonori is ruled by a council of wise wizards.\""; + goto L_close; + +L_NoWater: + mes "[Banu]"; + mes "\"You didn't get it yet? Shame on you, an old woman is depending on you.\""; + goto L_close; + +L_NoKnife: + mes "[Banu]"; + mes "\"Where is it? Don't play tricks on an old woman! That's not nice.\""; + goto L_close; + +L_FullInv: + mes "[Banu]"; + mes "\"Oh my dear! You're carrying so many things that you can't take my Empty Bottle.\""; + goto L_close; + +L_close: + @inventorylist_count = 0; + @Exp = 0; + @rand = 0; + close; } |