From 73d3004d66937b286e1200a4162d3a3d5163c241 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Dec 2018 19:11:28 -0200 Subject: Butcher Knife Quest added --- npc/017-3/chef.txt | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'npc') diff --git a/npc/017-3/chef.txt b/npc/017-3/chef.txt index 06958b860..2d5e9d31a 100644 --- a/npc/017-3/chef.txt +++ b/npc/017-3/chef.txt @@ -7,13 +7,56 @@ // Easter 2011 and Easter 2012 quests. Assigns the Butcher Knife Quest. 017-3,33,25,0 script Chef#dimond NPC_CHEF,{ + .@q=getq(LoFQuest_ButcherKnife); showavatar NPC_CHEF; + if (.@q == 1) goto L_Report; + if (.@q == 0 && BaseLevel >= 34) goto L_Start; goto L_Busy; L_Busy: mesn; mesq l("I'm too busy right now to talk. Dimond's recipes are the best!"); close; + +L_Start: + mesn; + mesq l("The cooking contest is coming up, and I don't want to lose to @@... Halinarzo's cook is just THAT good.", l("Ryan")); + next; + mesn; + mesq l("However, I still have hope. Dimond's secret recipe. Ah, but I can't get the ingredients for it..."); + next; + mesn; + mesq lg("...Actually, you seem like a capable adventurer. If you give me some ingredients I can't get, I'll give you a @@.", getitemlink(ButcherKnife)); + mesq l("Are you, perhaps, interested?"); + next; + if (askyesno() == ASK_YES) { + mes ""; + mesn; + mesq l("Wonderful! Just bring me 12 @@ and 4 @@. I'm counting on you!", getitemlink(SmallMushroom), getitemlink(MoubooSteak)); + setq LoFQuest_ButcherKnife, 1; + } + close; + +L_Report: + mesn; + mesq l("Did you brought me 12 @@ and 4 @@? The @@ is waiting for you, sharp sharp!", getitemlink(SmallMushroom), getitemlink(MoubooSteak), getitemlink(ButcherKnife)); + mes ""; + select + l("Not yet, but I'll bring them."), + rif(countitem(SmallMushroom)>=12 && countitem(MoubooSteak)>=4, l("Yes, here they are.")); + mes ""; + if (@menu == 2) { + inventoryplace ButcherKnife, 1; + delitem SmallMushroom, 12; + delitem MoubooSteak, 4; + getitem ButcherKnife, 1; + getexp 4887, 37; + setq LoFQuest_ButcherKnife, 2; + mesn; + mesq l("Wonderful! Here, take the @@, as promised. I need to get back to cooking!"); + } + close; + /* .@q=getq(TulimsharQuest_Kadiya); if ((.@q == 9) && (countitem ("MopoxCurePotion") > 0)) -- cgit v1.2.3-60-g2f50