From ffdd6b6345e32983c86041d3e1cf6f3252e2bba0 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Sat, 4 Jun 2011 21:27:22 +0200 Subject: using flag to indicate the tutorial is done and adding behaviour according to that to all tut-npcs --- npc/042-1/valon.txt | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'npc/042-1/valon.txt') 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; } -- cgit v1.2.3-70-g09d2