summaryrefslogtreecommitdiff
path: root/npc/017-3/chef.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 19:11:28 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 19:11:28 -0200
commit73d3004d66937b286e1200a4162d3a3d5163c241 (patch)
tree3824038abf6976f7620cc4e5ef2c820b3c606b48 /npc/017-3/chef.txt
parent8e42f82250832b37bc111034c1af29625fc08e2f (diff)
downloadserverdata-73d3004d66937b286e1200a4162d3a3d5163c241.tar.gz
serverdata-73d3004d66937b286e1200a4162d3a3d5163c241.tar.bz2
serverdata-73d3004d66937b286e1200a4162d3a3d5163c241.tar.xz
serverdata-73d3004d66937b286e1200a4162d3a3d5163c241.zip
Butcher Knife Quest added
Diffstat (limited to 'npc/017-3/chef.txt')
-rw-r--r--npc/017-3/chef.txt43
1 files changed, 43 insertions, 0 deletions
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))