summaryrefslogtreecommitdiff
path: root/npc/042-1/valon.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-06-04 21:27:22 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-06-04 21:27:22 +0200
commitffdd6b6345e32983c86041d3e1cf6f3252e2bba0 (patch)
tree1cdcf3c143b2683f225c525ebef3d3f5dc54133d /npc/042-1/valon.txt
parentd087c8b0aec29469244fa2e5c4b997a2c4e41d2d (diff)
downloadserverdata-ffdd6b6345e32983c86041d3e1cf6f3252e2bba0.tar.gz
serverdata-ffdd6b6345e32983c86041d3e1cf6f3252e2bba0.tar.bz2
serverdata-ffdd6b6345e32983c86041d3e1cf6f3252e2bba0.tar.xz
serverdata-ffdd6b6345e32983c86041d3e1cf6f3252e2bba0.zip
using flag to indicate the tutorial is done and adding behaviour according to that to all tut-npcs
Diffstat (limited to 'npc/042-1/valon.txt')
-rw-r--r--npc/042-1/valon.txt19
1 files changed, 17 insertions, 2 deletions
diff --git a/npc/042-1/valon.txt b/npc/042-1/valon.txt
index 02e91590..7605ae2b 100644
--- a/npc/042-1/valon.txt
+++ b/npc/042-1/valon.txt
@@ -1,8 +1,10 @@
042-1.gat,17,82,0 script Valon 156,2,1{
+ if (FLAGS & FLAG_TUTORIAL_DONE) goto L_Tut_Done;
+
mes "[Valon]";
- mes "\"Hello!\"";
- mes "\"You're looking for adventures, right?\"";
+ mes "\"Hello!";
+ mes "You're looking for adventures, right?\"";
next;
mes "\"But you shouldn't underestimate this desert, it is dangerous.\"";
next;
@@ -11,10 +13,23 @@
mes "\"If you really want to challenge the desert go to main Tulimshar first to prepare yourself.\"";
close;
+L_Tut_Done:
+ mes "[Valon]";
+ mes "\"Hello!";
+ mes "You're an adventurer, right?\"";
+ next;
+ mes "\"Be careful in the desert.\"";
+ close;
+
OnTouch:
+ if (FLAGS & FLAG_TUTORIAL_DONE)
+ goto L_Tut;
warp "042-1.gat", 17, 78;
mes "[Valon]";
mes "\"The desert is merciless.";
mes "I can't let you leave like this.\"";
close;
+L_Tut:
+ warp "041-1.gat", 33, 8;
+ end;
}