diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-31 19:08:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-31 19:08:06 -0300 |
commit | 3e3e208bb7d81b48ae9a1acd64533207bd9e5602 (patch) | |
tree | a92f23dba217505579cf164b5ffd66149ecbe356 | |
parent | a7d1a7afa719347fd32d59b063b9ff813e74e98a (diff) | |
download | serverdata-3e3e208bb7d81b48ae9a1acd64533207bd9e5602.tar.gz serverdata-3e3e208bb7d81b48ae9a1acd64533207bd9e5602.tar.bz2 serverdata-3e3e208bb7d81b48ae9a1acd64533207bd9e5602.tar.xz serverdata-3e3e208bb7d81b48ae9a1acd64533207bd9e5602.zip |
Dark Invocator Quest: Items & Zitoni part
-rw-r--r-- | db/re/item_db.conf | 11 | ||||
-rw-r--r-- | npc/005-6/zitoni.txt | 86 | ||||
-rw-r--r-- | npc/007-1/zarkor.txt | 6 |
3 files changed, 95 insertions, 8 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 2daf2ec84..77c758c29 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -4102,6 +4102,17 @@ item_db: ( Refine: false BuyingStore: true }, +{ + Id: 875 + AegisName: "DarkDesertMushroom" + Name: "Dark Desert Mushroom" + Type: "ETC" + Buy: 10000 + Sell: 250 + Weight: 40 + Refine: false + BuyingStore: true +}, // <!-- Necklaces --> { Id: 1000 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; diff --git a/npc/007-1/zarkor.txt b/npc/007-1/zarkor.txt index cbc9d2657..8390cd4f8 100644 --- a/npc/007-1/zarkor.txt +++ b/npc/007-1/zarkor.txt @@ -46,7 +46,7 @@ L_Start: select l("Indeed. Sorry. I'm not giving you anything."), rif(countitem(Ruby) >= 1, l("I swear silence, over this bloody ruby."), - rif(countitem(Topaz) >= 1, l("I swear silence, over this bright topaz."); + rif(countitem(Topaz) >= 1, l("I swear silence, over this shining topaz."); mes ""; switch (@menu) { @@ -59,11 +59,11 @@ L_Start: close; break; case 2: - delitem Ruby, 1; + delitem Ruby, 1; // Acc: 667 GP setq TulimsharQuest_DarkInvocator, 1; break; case 3: - delitem Topaz, 1; + delitem Topaz, 1; // Acc: 800 GP setq TulimsharQuest_DarkInvocator, 1; break; } |