summaryrefslogtreecommitdiff
path: root/npc/010-2_Dimonds_Cove
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-24 15:35:45 +0000
committerFate <fate-tmw@googlemail.com>2009-05-24 15:35:45 +0000
commitf10165d86c7697b90a1edb3c4b99844ed47cb39f (patch)
treec59434e3aa927014a6120a84ba6ba57e6694d8ab /npc/010-2_Dimonds_Cove
parent44b83f57bd879d852d7d5c41214a5bc41a5358f8 (diff)
downloadserverdata-f10165d86c7697b90a1edb3c4b99844ed47cb39f.tar.gz
serverdata-f10165d86c7697b90a1edb3c4b99844ed47cb39f.tar.bz2
serverdata-f10165d86c7697b90a1edb3c4b99844ed47cb39f.tar.xz
serverdata-f10165d86c7697b90a1edb3c4b99844ed47cb39f.zip
Added magic level 3 quests for Aulsbel and Elanore. Also added appropriate quest items and extended magic debug functionality as needed.
Diffstat (limited to 'npc/010-2_Dimonds_Cove')
-rw-r--r--npc/010-2_Dimonds_Cove/_import.txt1
-rw-r--r--npc/010-2_Dimonds_Cove/chef.txt111
-rw-r--r--npc/010-2_Dimonds_Cove/dimonds.txt5
3 files changed, 112 insertions, 5 deletions
diff --git a/npc/010-2_Dimonds_Cove/_import.txt b/npc/010-2_Dimonds_Cove/_import.txt
index 1a75f84a..a6d6af90 100644
--- a/npc/010-2_Dimonds_Cove/_import.txt
+++ b/npc/010-2_Dimonds_Cove/_import.txt
@@ -1,6 +1,7 @@
map: 010-2.gat
npc: npc/010-2_Dimonds_Cove/_mobs.txt
npc: npc/010-2_Dimonds_Cove/_warps.txt
+npc: npc/010-2_Dimonds_Cove/chef.txt
npc: npc/010-2_Dimonds_Cove/dimonds.txt
npc: npc/010-2_Dimonds_Cove/doug.txt
npc: npc/010-2_Dimonds_Cove/loratay.txt
diff --git a/npc/010-2_Dimonds_Cove/chef.txt b/npc/010-2_Dimonds_Cove/chef.txt
new file mode 100644
index 00000000..03149485
--- /dev/null
+++ b/npc/010-2_Dimonds_Cove/chef.txt
@@ -0,0 +1,111 @@
+010-2.gat,33,25,0 script Chef 148,{
+ mes "[Chef]";
+ mes "\"I'm too busy right now to talk.\"";
+
+ callfunc "KadiyaSubquestConsts";
+ if ((@Q_kadiya_status == @Q_STATUS_WANTS_CHOCOCAKE) && (countitem ("MopoxCurePotion") > 0))
+ goto L_lace_chococake;
+
+ if ((@Q_kadiya_status == @Q_STATUS_WANTS_ORANGECUPCAKE) && (countitem ("MopoxCurePotion") > 0))
+ goto L_lace_cupcake;
+ close;
+
+L_lace_chococake:
+ next;
+ menu
+ "Sorry.", L_end,
+ "I need your help with a sick young girl!", -;
+
+ mes "[Chef]";
+ mes "You explain Kadiya's situation to him.";
+ mes "\"Hmrmf. I can't help you; I'm a chef, not a baker!\"";
+ close;
+
+L_lace_cupcake:
+ next;
+ menu
+ "Sorry.", L_end,
+ "I need your help with a sick young girl!", -;
+
+ mes "[Chef]";
+ mes "You explain Kadiya's situation to him.";
+ mes "\"Hmrmf. I was about to make another batch of orange cupcakes. Do you have that potion with you?\"";
+ next;
+
+ menu
+ "No, sorry.", L_bringit,
+ "Yes, here you are.", -;
+
+ if (countitem ("MopoxCurePotion") < 1)
+ goto L_bringit;
+
+ mes "[Chef]";
+ mes "He shudders as he smells the bottle.";
+ mes "\"That is disgusting! How do you expect me to mask this?\"";
+ mes "He ponders his own question for a moment.";
+ next;
+
+ mes "[Chef]";
+ mes "\"Ah yes. We need to bind the smell in gingerbread. Bring me three pieces of gingerbread, one orange, and 500 GP for the other ingredients, and I will make you your cupcake.\"";
+ next;
+
+ menu
+ "I'll go and get it.", L_end,
+ "Here you are!", -,
+ "Not now.", L_end;
+
+ if (countitem ("GingerBreadMan") < 3) goto L_no_gingerbread;
+ if (countitem ("Orange") < 1) goto L_no_orange;
+ if (countitem ("MopoxCurePotion") < 1) goto L_no_potion;
+ if (zeny < 500) goto L_no_zeny;
+
+ set zeny, zeny - 500;
+ delitem "GingerBreadMan", 3;
+ delitem "Orange", 1;
+ delitem "MopoxCurePotion", 1;
+
+ getitem "LacedOrangeCupcake", 1;
+
+ mes "[Chef]";
+ mes "\"Good, good. This should work.\"";
+ mes "He crumbles the gingerbread, mixes it with the potion and some spices, and finally adds some cupcake batter and the orange pieces.";
+ next;
+
+ mes "[Chef]";
+ mes "\"Take a seat.\"";
+ mes "He fills the mixture into a cupcake form and puts it into the oven. You watch the cupcake grow for a while.";
+ mes "Finally, he removes the form and carefully extracts the cupcake.";
+ next;
+
+ mes "[Chef]";
+ mes "\"Here you are. It's a bit bigger than a regular cupcake and will taste a bit like ginger, I think, but otherwise it should be fine.\"";
+ close;
+
+L_no_gingerbread:
+ mes "[Chef]";
+ mes "\"I will need three pieces of gingerbread.\"";
+ close;
+
+L_no_orange:
+ mes "[Chef]";
+ mes "\"Please bring me an orange for these cupcakes.\"";
+ close;
+
+L_no_zeny:
+ mes "[Chef]";
+ mes "\"No. I need extra ingredients worth 500 GP, and I expect you to pay for those.\"";
+ close;
+
+L_no_potion:
+ mes "[Chef]";
+ mes "\"Where did your Mopox potion go?\"";
+ close;
+
+L_bringit:
+ mes "[Chef]";
+ mes "\"Bring it here when you do.\"";
+ next;
+
+L_end:
+ close;
+}
diff --git a/npc/010-2_Dimonds_Cove/dimonds.txt b/npc/010-2_Dimonds_Cove/dimonds.txt
index 8f82fc97..d44a5303 100644
--- a/npc/010-2_Dimonds_Cove/dimonds.txt
+++ b/npc/010-2_Dimonds_Cove/dimonds.txt
@@ -123,8 +123,3 @@
callfunc "Inn";
}
-010-2.gat,33,25,0 script Chef 148,{
- mes "[Chef]";
- mes "I'm too busy right now to talk.";
- close;
-}