summaryrefslogtreecommitdiff
path: root/npc/024-1_Tulimshar_Canyon
diff options
context:
space:
mode:
Diffstat (limited to 'npc/024-1_Tulimshar_Canyon')
-rw-r--r--npc/024-1_Tulimshar_Canyon/_import.txt7
-rw-r--r--npc/024-1_Tulimshar_Canyon/_mobs.txt34
-rw-r--r--npc/024-1_Tulimshar_Canyon/_warps.txt5
-rw-r--r--npc/024-1_Tulimshar_Canyon/ched.txt28
-rw-r--r--npc/024-1_Tulimshar_Canyon/eomie.txt7
-rw-r--r--npc/024-1_Tulimshar_Canyon/tinris.txt7
-rw-r--r--npc/024-1_Tulimshar_Canyon/tondar.txt7
7 files changed, 95 insertions, 0 deletions
diff --git a/npc/024-1_Tulimshar_Canyon/_import.txt b/npc/024-1_Tulimshar_Canyon/_import.txt
new file mode 100644
index 00000000..dc06405f
--- /dev/null
+++ b/npc/024-1_Tulimshar_Canyon/_import.txt
@@ -0,0 +1,7 @@
+map: 024-1.gat
+npc: npc/024-1_Tulimshar_Canyon/_mobs.txt
+npc: npc/024-1_Tulimshar_Canyon/_warps.txt
+npc: npc/024-1_Tulimshar_Canyon/ched.txt
+npc: npc/024-1_Tulimshar_Canyon/eomie.txt
+npc: npc/024-1_Tulimshar_Canyon/tinris.txt
+npc: npc/024-1_Tulimshar_Canyon/tondar.txt
diff --git a/npc/024-1_Tulimshar_Canyon/_mobs.txt b/npc/024-1_Tulimshar_Canyon/_mobs.txt
new file mode 100644
index 00000000..140fe4f2
--- /dev/null
+++ b/npc/024-1_Tulimshar_Canyon/_mobs.txt
@@ -0,0 +1,34 @@
+// 024-1 Tulimshar Canyon mobs
+
+024-1.gat,89,52,3,2 monster Maggot 1002,2,0,0,Mob024-1::On1002
+024-1.gat,40,45,3,2 monster Maggot 1002,2,0,0,Mob024-1::On1002
+024-1.gat,90,37,10,7 monster Maggot 1002,4,0,0,Mob024-1::On1002
+024-1.gat,96,25,3,10 monster Sea Sime 1033,1,0,0,Mob024-1::On1033
+024-1.gat,33,45,24,20 monster Black Scorpion 1009,3,0,0,Mob024-1::On1009
+024-1.gat,93,35,5,6 monster Gian Maggot 1006,1,0,0,Mob024-1::On1006
+024-1.gat,63,54,3,6 monster Maggot 1002,1,0,0,Mob024-1::On1002
+
+
+024-1.gat,0,0,0 script Mob024-1 -1,{
+On1002:
+ set @mobID, 1002;
+ callfunc "MobPoints";
+ break;
+
+On1006:
+ set @mobID, 1006;
+ callfunc "MobPoints";
+ break;
+
+On1009:
+ set @mobID, 1009;
+ callfunc "MobPoints";
+ break;
+
+On1033:
+ set @mobID, 1033;
+ callfunc "MobPoints";
+ break;
+
+ end;
+}
diff --git a/npc/024-1_Tulimshar_Canyon/_warps.txt b/npc/024-1_Tulimshar_Canyon/_warps.txt
new file mode 100644
index 00000000..cd52451e
--- /dev/null
+++ b/npc/024-1_Tulimshar_Canyon/_warps.txt
@@ -0,0 +1,5 @@
+// 024-1 Tulimshar Canyon warps
+
+024-1.gat,86,73 warp toCentralTulimshar 3,-1,021-1.gat,49,64
+024-1.gat,80,48 warp toBuilding 0,-1,024-2.gat,26,26
+024-1.gat,86,48 warp toBuilding -1,-1,024-2.gat,42,27
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;
+}
diff --git a/npc/024-1_Tulimshar_Canyon/eomie.txt b/npc/024-1_Tulimshar_Canyon/eomie.txt
new file mode 100644
index 00000000..0bf187df
--- /dev/null
+++ b/npc/024-1_Tulimshar_Canyon/eomie.txt
@@ -0,0 +1,7 @@
+// A professor at Tulimshar's magic academy
+
+024-1.gat,72,94,0 script Eomie 164,{
+ mes "[Eomie]";
+ mes "\"I maintain this little spot of grass in the desert.\"";
+ close;
+}
diff --git a/npc/024-1_Tulimshar_Canyon/tinris.txt b/npc/024-1_Tulimshar_Canyon/tinris.txt
new file mode 100644
index 00000000..29381f57
--- /dev/null
+++ b/npc/024-1_Tulimshar_Canyon/tinris.txt
@@ -0,0 +1,7 @@
+// A gardener at Tulimshar's magic academy
+
+024-1.gat,82,64,0 script Tinris 160,{
+ mes "[Tinris]";
+ mes "\"This is a magic school.\"";
+ close;
+}
diff --git a/npc/024-1_Tulimshar_Canyon/tondar.txt b/npc/024-1_Tulimshar_Canyon/tondar.txt
new file mode 100644
index 00000000..ba97d2ee
--- /dev/null
+++ b/npc/024-1_Tulimshar_Canyon/tondar.txt
@@ -0,0 +1,7 @@
+// A professor at Tulimshar's magic academy
+
+024-1.gat,83,51,0 script Tondar 168,{
+ mes "[Tondar]";
+ mes "\"We're not accepting any new students right now.\"";
+ close;
+}