summaryrefslogtreecommitdiff
path: root/world/map/npc/024-1/david.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-08-03 17:09:45 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-08-03 17:09:45 +0200
commitec55942edde8ffe0c0b61456be19e87c34267bbe (patch)
treea3f3d3a45681c10b2b5f695309c57cf0c196bcda /world/map/npc/024-1/david.txt
parent3ba512310253a7fdbe1907963f4c3e77457f3a49 (diff)
downloadserverdata-ec55942edde8ffe0c0b61456be19e87c34267bbe.tar.gz
serverdata-ec55942edde8ffe0c0b61456be19e87c34267bbe.tar.bz2
serverdata-ec55942edde8ffe0c0b61456be19e87c34267bbe.tar.xz
serverdata-ec55942edde8ffe0c0b61456be19e87c34267bbe.zip
Rossy quest: replacing hard coded numbers with variables and some fixes in dialogue
Diffstat (limited to 'world/map/npc/024-1/david.txt')
-rw-r--r--world/map/npc/024-1/david.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/world/map/npc/024-1/david.txt b/world/map/npc/024-1/david.txt
index a7dfc094..00794e03 100644
--- a/world/map/npc/024-1/david.txt
+++ b/world/map/npc/024-1/david.txt
@@ -1,19 +1,21 @@
-024-1.gat,70,70,0 script David 120,{
+024-1.gat,70,70,0 script David 120,{
+
+ set @Potion_EXP, 2000;
if (Rossy_Quest == 17) goto L_FinalEnd;
if (Rossy_Quest == 14) goto L_Julia;
if (Rossy_Quest >= 8) goto L_Done;
-
+
mes "[David]";
mes "\"Learning magic is hard...\"";
if (Rossy_Quest == 7) goto L_Help;
close;
-
+
L_Help:
menu
"Do you know Rossy?", L_Set,
"I can tell, it is hard.", L_No;
-
+
L_Set:
mes "[David]";
mes "\"Yes, I do. I am her teacher. Actually, that reminds me about her final exam... she didn't hand in her potion yet. Time is running out.\"";
@@ -21,12 +23,12 @@ L_Set:
"A potion? Oh, uhm... Strange kind of exam. Bye.", L_No,
"Right, I have her potion in my pocket. She asked me to bring it to you. Here it is.", -;
mes "[David]";
- mes "\"Let me see...\"";
+ mes "\"Let me see.\"";
set Rossy_Quest, 8;
mes "\"This potion is... perfect! Tell Rossy that she succesfully made her potion, it is flawless!\"";
- getexp 2000, 0;
+ getexp @Potion_EXP, 0;
close;
-
+
L_Done:
mes "[David]";
mes "\"I am really happy that my best student succesfully passed her exam!\"";