diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-19 19:11:28 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-19 19:11:28 -0200 |
commit | 73d3004d66937b286e1200a4162d3a3d5163c241 (patch) | |
tree | 3824038abf6976f7620cc4e5ef2c820b3c606b48 | |
parent | 8e42f82250832b37bc111034c1af29625fc08e2f (diff) | |
download | serverdata-73d3004d66937b286e1200a4162d3a3d5163c241.tar.gz serverdata-73d3004d66937b286e1200a4162d3a3d5163c241.tar.bz2 serverdata-73d3004d66937b286e1200a4162d3a3d5163c241.tar.xz serverdata-73d3004d66937b286e1200a4162d3a3d5163c241.zip |
Butcher Knife Quest added
-rw-r--r-- | db/quest_db.conf | 4 | ||||
-rw-r--r-- | npc/017-3/chef.txt | 43 |
2 files changed, 47 insertions, 0 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf index 6da055f64..f7de57195 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -318,6 +318,10 @@ quest_db: ( Id: 276 Name: "LoFQuest_HH" }, +{ + Id: 277 + Name: "LoFQuest_ButcherKnife" +}, // ID 300 to 320: Seasonal/Annual/Monthly quests { 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)) |