From ec55942edde8ffe0c0b61456be19e87c34267bbe Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 3 Aug 2011 17:09:45 +0200 Subject: Rossy quest: replacing hard coded numbers with variables and some fixes in dialogue --- world/map/npc/024-1/david.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'world/map/npc/024-1') 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!\""; -- cgit v1.2.3-60-g2f50