diff options
Diffstat (limited to 'npc/005-6/zitoni.txt')
-rw-r--r-- | npc/005-6/zitoni.txt | 86 |
1 files changed, 81 insertions, 5 deletions
diff --git a/npc/005-6/zitoni.txt b/npc/005-6/zitoni.txt index 0eb0cc5d4..1381da49b 100644 --- a/npc/005-6/zitoni.txt +++ b/npc/005-6/zitoni.txt @@ -16,19 +16,24 @@ mes ""; L_Menu: + .@q1=getq(TulimsharQuest_DarkInvocator); if (BaseLevel < 10) .@price = 1; else .@price = BaseLevel*200-(9*200); + mesn strcharinfo(0); select l("Status reset? Sounds illegal!"), l("Can you reset my stats please?"), l("Do you make any other kind of potions?"), + rif(.@q1 == 1 || .@q1 == 2, l("Can you help me with Everburn Powder? I need 5.")), + rif(.@q1 == 3 && countitem(DarkDesertMushroom) >= 1),l("Zarkor sent you this gift. He needs Everburn Powder.")), + rif(.@q1 >= 4),l("Create Everburn Powder.")), lg("You are weird, I have to go sorry."); - switch (@menu) - { + mes ""; + switch (@menu) { case 1: speech S_FIRST_BLANK_LINE | S_LAST_NEXT, lg("Wait, are you with the police? I didn't do anything wrong, I promise!"), @@ -44,8 +49,7 @@ L_Menu: l("We will talk about it later."), l("My stats are too good, I won't need it."); - switch (@menu) - { + switch (@menu) { case 1: speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("Yes, it is a really sweet deal, believe me!"); @@ -64,6 +68,12 @@ L_Menu: case 3: goto L_OtherPotion; case 4: + goto L_DarkInv_Ever; + case 5: + goto L_DarkInv_Mush; + case 6: + goto L_DarkInv_Powder; + default: goto L_Quit; } @@ -136,7 +146,6 @@ L_Never: goto L_Quit; L_OtherPotion: - mes ""; mesn; mesq l("I make both @@ and @@, if you give me the shrooms associated to them, and money.", getitemlink(HastePotion), getitemlink(StrengthPotion)); next; @@ -188,6 +197,73 @@ L_StrengthPotion: mesq l("Here you go!"); goto L_OtherPotion; + +L_DarkInv_Ever: + mesn; + mesq l("...What? You want @@? Five of them?!"); + next; + mesn; + mesq l("You have no idea of how dangerous that item is! I can't simply do it!"); + next; + mesn; + mesq l("I don't know who sent you to me, but this is a flat and big NO!"); + next; + mes col("Zitoni won't cooperate with you. Perhaps you should ask to Zarkor about that.", 9); + setq TulimsharQuest_DarkInvocator, 2; + close; + +L_DarkInv_Mush: + mesn; + mesq l("Ah... A @@. The sturdiest from all mushroom, and very, very rare.", getitemlink(DarkDesertMushroom)); + next; + mesn; + mes col("Zitoni seems to be lost on deep thought.", 9); + next; + mesn; + mesq l("Ah... Well, ok. I'll do the powder for you, but you still need to bring me the material."); + next; + mesn; + mesq l("Just... Don't accidentaly invoke a Legendary Guardian or something, these thingies could destroy a whole city."); + setq TulimsharQuest_DarkInvocator, 4; + close; + +L_DarkInv_Powder: + mesn; + mesq l("@@ is an expensive, rare, and dangerous item. Do not shake it too much, or it will catch fire.", getitemlink(EverburnPowder)); + next; + mesn; + mesq l("...And trust me, it'll take way more than just water to put the fire down."); + next; + mesn; + mesq l("I will require 3000 GP, 1 @@, 1 @@ and 1 @@. Each.", getitemlink(IronPowder), getitemlink(SulfurPowder), getitemlink(PileOfAsh)); + mes ""; + select + l("I still don't have everything, but don't worry, I'll be back."), + l("I have everything here with me."); + mes ""; + if (@menu == 1) + close; + if (countitem(IronPowder) < 1 || + countitem(SulfurPowder) < 1 || + countitem(PileOfAsh) < 1 || + Zeny < 3000) goto L_Liar; + Zeny=Zeny-3000; + delitem IronPowder, 1; + delitem SulfurPowder, 1; + delitem PileOfAsh, 1; + getitem EverburnPowder, 1; + mesn; + mesq l("Here you go. Handle it with caution."); + close; + +L_Liar: + mesn; + mesq l("Liar. You can't fool me. That's the price. Get that or get out!"); + next; + mesn; + mesq l("We're talking about @@. It's not something for kids or pranksters!", getitemlink(EverburnPowder)); + close; + L_Quit: closedialog; goodbye; |