summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+}