summaryrefslogtreecommitdiff
path: root/npc/024-1_Tulimshar_Canyon/ched.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/024-1_Tulimshar_Canyon/ched.txt')
-rw-r--r--npc/024-1_Tulimshar_Canyon/ched.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/npc/024-1_Tulimshar_Canyon/ched.txt b/npc/024-1_Tulimshar_Canyon/ched.txt
new file mode 100644
index 00000000..2f935364
--- /dev/null
+++ b/npc/024-1_Tulimshar_Canyon/ched.txt
@@ -0,0 +1,28 @@
+// Student at Tulimshar's magic academy
+
+024-1.gat,69,56,0 script Ched 113,{
+ if (isin("024-1.gat", 62, 52, 65, 57)) goto L_Garden;
+ if (isin("024-1.gat", 66, 43, 80, 54)) goto L_Canyon;
+
+ mes "[Ched]";
+ mes "\"I'm a student here.\"";
+ close;
+
+L_Garden:
+ if (BaseLevel < 40) goto L_Warp;
+ mes "[Ched]";
+ mes "\"Be careful of those plants. They can be dangerous,\"";
+ close;
+
+L_Canyon:
+ if (BaseLevel < 40) goto L_Warp;
+ mes "[Ched]";
+ mes "\"I'm not allowed back there.\"";
+ close;
+
+L_Warp:
+ warp "024-1.gat", 71, 56;
+ mes "[Ched]";
+ mes "\"You can't be back there.\"";
+ close;
+}