From b1a467259dc2a01eac243a73574ff5abcbc69390 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 16 Mar 2009 09:54:27 -0600 Subject: Fix the barrier in the magic school --- npc/024-2_Tulimshar_Magic_School/_import.txt | 1 + npc/024-2_Tulimshar_Magic_School/barrier.txt | 1 - npc/024-2_Tulimshar_Magic_School/tyer.txt | 19 ------------------- npc/024-2_Tulimshar_Magic_School/tyer_trigger.txt | 23 +++++++++++++++++++++++ 4 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 npc/024-2_Tulimshar_Magic_School/tyer_trigger.txt (limited to 'npc') 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; +} -- cgit v1.2.3-70-g09d2