From 519a365928311d0cf8558526b073a4cff69eed49 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 27 May 2021 19:35:38 +0000 Subject: Mirror Lake Quest - Cindy --- npc/031-2/angelaHouse.txt | 51 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) (limited to 'npc/031-2') diff --git a/npc/031-2/angelaHouse.txt b/npc/031-2/angelaHouse.txt index 55c2c7df..695e0e77 100644 --- a/npc/031-2/angelaHouse.txt +++ b/npc/031-2/angelaHouse.txt @@ -42,7 +42,7 @@ L_Hello_Again: mes "\"Hello! Good to see you again. Please warm yourself.\""; next; menu - "I just wanted to say hello.",L_close, + "I just wanted to say hello.",L_Hello, "I have some yellow present boxes.",L_Yellow, "I have some white present boxes.",L_White; @@ -73,7 +73,7 @@ L_White: callfunc "DailyQuest"; next; if (@dq_return == 4) - mes "\"You are a great help!\""; + mesq l("You are a great help!"); goto L_close; L_close: @@ -86,4 +86,51 @@ L_close: @dq_exp = 0; @dq_return = 0; close; + +L_Hello: + if (getvaultid() && get_nibble(##03_TMWQUEST, 0) <= 3) goto L_VaultQuest; + closeclientdialog; + close; + +L_VaultQuest: + mes ""; + mesn; + mesq l("Actually, there is one thing bugging me during this whole ordeal."); + next; + mesn; + mesq l("Yetis used to be very shy. Since the Great Quake, they became aggressive."); + next; + mesn; + mesq l("...So why would they kidnap Cindy?? %%i"); + next; + mesn; + mesq l("I figured out, maybe one of the sages could help. Would you mind asking them?"); + next; + select + l("I'll be back later."), + rif(get_nibble(##03_TMWQUEST, 0) == 0, l("Sure, I'll ask them.")), + rif(get_nibble(##03_TMWQUEST, 0) == 3, l("[Tell her the truth]")), + rif(get_nibble(##03_TMWQUEST, 0) == 3, l("[Make up an excuse]")); + mes ""; + switch (@menu) { + case 2: + mesn; + mesq l("Wonderful! Please be careful out there."); + set_nibble(##03_TMWQUEST, 0, 1); + break; + case 3: + mesc l("%s faints.", strnpcinfo(1)); + next; + // FALL-THROUGH + case 4: + mesn; + mesq l("Thanks for informing me. I'm sure Nikolai and the sages will do something about it, then."); + next; + mesn; + mesq l("I'm afraid I don't have anything of value to reward you with, but some %s which my husband was saving for a quest or other. You can have them. Cindy is more important than a quest.", getitemlink(TreasureKey)); + set_nibble(##03_TMWQUEST, 0, 4); + getitem TreasureKey, rand2(15, 25); + break; + } + close; } -- cgit v1.2.3-60-g2f50