summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-16 09:54:27 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-16 09:54:27 -0600
commitb1a467259dc2a01eac243a73574ff5abcbc69390 (patch)
tree4ecf7f44caaf9659c05d10a8f1c67de86ed2d248 /npc
parent9e6e0946dba817305b6c0388236fdb12a492c507 (diff)
downloadserverdata-b1a467259dc2a01eac243a73574ff5abcbc69390.tar.gz
serverdata-b1a467259dc2a01eac243a73574ff5abcbc69390.tar.bz2
serverdata-b1a467259dc2a01eac243a73574ff5abcbc69390.tar.xz
serverdata-b1a467259dc2a01eac243a73574ff5abcbc69390.zip
Fix the barrier in the magic school
Diffstat (limited to 'npc')
-rw-r--r--npc/024-2_Tulimshar_Magic_School/_import.txt1
-rw-r--r--npc/024-2_Tulimshar_Magic_School/barrier.txt1
-rw-r--r--npc/024-2_Tulimshar_Magic_School/tyer.txt19
-rw-r--r--npc/024-2_Tulimshar_Magic_School/tyer_trigger.txt23
4 files changed, 24 insertions, 20 deletions
diff --git a/npc/024-2_Tulimshar_Magic_School/_import.txt b/npc/024-2_Tulimshar_Magic_School/_import.txt
index be56cb29..125b42f3 100644
--- a/npc/024-2_Tulimshar_Magic_School/_import.txt
+++ b/npc/024-2_Tulimshar_Magic_School/_import.txt
@@ -3,3 +3,4 @@ npc: npc/024-2_Tulimshar_Magic_School/_mobs.txt
npc: npc/024-2_Tulimshar_Magic_School/_warps.txt
npc: npc/024-2_Tulimshar_Magic_School/barrier.txt
npc: npc/024-2_Tulimshar_Magic_School/tyer.txt
+npc: npc/024-2_Tulimshar_Magic_School/tyer_trigger.txt
diff --git a/npc/024-2_Tulimshar_Magic_School/barrier.txt b/npc/024-2_Tulimshar_Magic_School/barrier.txt
index 6450d5ad..ffe5a3f3 100644
--- a/npc/024-2_Tulimshar_Magic_School/barrier.txt
+++ b/npc/024-2_Tulimshar_Magic_School/barrier.txt
@@ -5,7 +5,6 @@
close;
L_PushBack:
- doevent "Tyer::OnBarrier";
warp "024-2.gat", 34, 24;
close;
}
diff --git a/npc/024-2_Tulimshar_Magic_School/tyer.txt b/npc/024-2_Tulimshar_Magic_School/tyer.txt
index f46190f2..f6b78331 100644
--- a/npc/024-2_Tulimshar_Magic_School/tyer.txt
+++ b/npc/024-2_Tulimshar_Magic_School/tyer.txt
@@ -4,23 +4,4 @@
mes "[Tyer]";
mes "\"Hello.\"";
close;
-
-OnBarrier:
- mes "[Tyer]";
- mes "\"You're still too young to go in there.\"";
- next;
-
- menu
- "What do you mean I'm too young to go in there?", L_Explain,
- "Ah, right.", -;
- close;
-
-L_Explain:
- mes "[Tyer]";
- mes "\"The canyon is a dangerous place, so only more experienced people are allowed there.\"";
- next;
-
- mes "[Tyer]";
- mes "\"That barrier was made to keep those that are too young out.\"";
- close;
}
diff --git a/npc/024-2_Tulimshar_Magic_School/tyer_trigger.txt b/npc/024-2_Tulimshar_Magic_School/tyer_trigger.txt
new file mode 100644
index 00000000..2ae884da
--- /dev/null
+++ b/npc/024-2_Tulimshar_Magic_School/tyer_trigger.txt
@@ -0,0 +1,23 @@
+// A man in the magic school
+
+024-2.gat,33,24,0 script #Tyer_Trigger 127,1,1,{
+ if (BaseLevel >= 40) end;
+
+ mes "[Tyer]";
+ mes "\"You're still too young to go in there.\"";
+ next;
+
+ menu
+ "What do you mean I'm too young to go in there?", L_Explain,
+ "Ah, right.", -;
+ close;
+
+L_Explain:
+ mes "[Tyer]";
+ mes "\"The canyon is a dangerous place, so only more experienced people are allowed there.\"";
+ next;
+
+ mes "[Tyer]";
+ mes "\"That barrier was made to keep those that are too young out.\"";
+ close;
+}