summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/quest_db.conf4
-rw-r--r--npc/017-3/chef.txt43
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))