summaryrefslogtreecommitdiff
path: root/world/map/npc/009-4/waric.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-08-21 09:18:24 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2012-08-21 10:55:32 +0200
commita8e85f496f7a7da8a4da7ec9be9aefa2709ec358 (patch)
tree77c84972e9be4230071a2f173fa177fefa0a6d86 /world/map/npc/009-4/waric.txt
parentf1950cff02b1db440eccd1d0c1c66a8df7caa02a (diff)
downloadserverdata-a8e85f496f7a7da8a4da7ec9be9aefa2709ec358.tar.gz
serverdata-a8e85f496f7a7da8a4da7ec9be9aefa2709ec358.tar.bz2
serverdata-a8e85f496f7a7da8a4da7ec9be9aefa2709ec358.tar.xz
serverdata-a8e85f496f7a7da8a4da7ec9be9aefa2709ec358.zip
Set all temporary player variables to 0 before closing the NPC dialogues of Orum and Waric.
Diffstat (limited to 'world/map/npc/009-4/waric.txt')
-rw-r--r--world/map/npc/009-4/waric.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/world/map/npc/009-4/waric.txt b/world/map/npc/009-4/waric.txt
index 47389726..df914e52 100644
--- a/world/map/npc/009-4/waric.txt
+++ b/world/map/npc/009-4/waric.txt
@@ -14,6 +14,7 @@
mes "";
mes "[Orum]";
mes "\"Be quiet Waric... " + @gender$ + " awake...\"";
+ set @gender$, "";
close;
}
@@ -27,7 +28,8 @@
009-4.gat,118,42,0|script|Waric|153,{
set @EXP_LEARNED_ALOT, 10000;
- if (OrumQuest >= 13) goto L_Behave;
+ if (OrumQuest >= 13)
+ goto L_Behave;
mes "Waric looks toward you rubbing his chin...";
next;
mes "[Waric]";
@@ -43,7 +45,7 @@
next;
mes "They begin discussing plans of some sort...";
set OrumQuest, 13;
- close;
+ goto L_Close;
L_Behave:
mes "Waric looks toward you shaking his finger.";
@@ -57,7 +59,7 @@ L_Behave:
mes "\"Having fun I take it?\"";
next;
mes "They continue discussing their plans.";
- close;
+ goto L_Close;
L_Explain:
mes "[Waric]";
@@ -84,7 +86,11 @@ L_Explain:
set OrumQuest, 14;
misceffect 10;
warp "008-1.gat", 65, 90;
- mes "You awake on your back with a squirrel sitting on top of you arranging it's acorns. It quickly gathers them up and runs off as it sees you looking at it them.";
getexp @EXP_LEARNED_ALOT, 0;
+ mes "You awake on your back with a squirrel sitting on top of you arranging it's acorns. It quickly gathers them up and runs off as it sees you looking at it them.";
+ goto L_Close;
+
+L_Close:
+ set @EXP_LEARNED_ALOT, 0;
close;
}