summaryrefslogtreecommitdiff
path: root/npc/042-2/sorfina.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-2/sorfina.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-2/sorfina.txt')
-rw-r--r--npc/042-2/sorfina.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/npc/042-2/sorfina.txt b/npc/042-2/sorfina.txt
index ab5dd9f5..67ae1a87 100644
--- a/npc/042-2/sorfina.txt
+++ b/npc/042-2/sorfina.txt
@@ -1,5 +1,6 @@
042-2.gat,28,26,0 script Sorfina 154,{
+ if (FLAGS & FLAG_TUTORIAL_DONE) goto L_Tut_Done;
if (sorfina == 2) goto L_Again;
if (sorfina == 1) goto L_Clothes;
@@ -194,7 +195,16 @@ L_SkipTut:
"Yeah, but thanks for the offer. Bye",-;
mes "[Sorfina]";
mes "\"If you think so. Good luck.\"";
- //TODO:set flag
+ set hasan, 0;
+ set kaan, 0;
+ set sorfina, 0;
+ set tanisha, 0;
+ set FLAGS, FLAGS | FLAG_TUTORIAL_DONE;
+ close;
+
+L_Tut_Done:
+ mes "[Sorfina]";
+ mes "\"Welcome. Please make yourself at home.\"";
close;
L_Close:
@@ -202,8 +212,7 @@ L_Close:
}
042-2.gat,45,31,0 script #DoorOut 127,2,2,{
-//TODO: check also flag for having finished the tutorial
- if (sorfina < 2) goto L_Block;
+ if ((sorfina < 2) && !(FLAGS & FLAG_TUTORIAL_DONE)) goto L_Block;
warp "042-1.gat", 62, 63;
end;
L_Block: