summaryrefslogtreecommitdiff
path: root/npc/027-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-19 13:43:15 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-19 13:43:15 -0300
commitd225ececc12c224f8aa38b38588932e050bf5afd (patch)
treeb736bc84e6ac4c1ae2a5061da97e6ceb9952bfca /npc/027-1
parent8e37aa31ebc8a04c6f4db744fcad06e7b7fcf2e2 (diff)
downloadserverdata-d225ececc12c224f8aa38b38588932e050bf5afd.tar.gz
serverdata-d225ececc12c224f8aa38b38588932e050bf5afd.tar.bz2
serverdata-d225ececc12c224f8aa38b38588932e050bf5afd.tar.xz
serverdata-d225ececc12c224f8aa38b38588932e050bf5afd.zip
Add the necessary NPCs to the new maps
Diffstat (limited to 'npc/027-1')
-rw-r--r--npc/027-1/_import.txt1
-rw-r--r--npc/027-1/ctrl.txt38
-rw-r--r--npc/027-1/laura.txt14
3 files changed, 53 insertions, 0 deletions
diff --git a/npc/027-1/_import.txt b/npc/027-1/_import.txt
index c9802865e..e64a6334b 100644
--- a/npc/027-1/_import.txt
+++ b/npc/027-1/_import.txt
@@ -2,6 +2,7 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/027-1/_mobs.txt",
"npc/027-1/_warps.txt",
+"npc/027-1/ctrl.txt",
"npc/027-1/eliza.txt",
"npc/027-1/elza.txt",
"npc/027-1/enzo.txt",
diff --git a/npc/027-1/ctrl.txt b/npc/027-1/ctrl.txt
new file mode 100644
index 000000000..234fda95d
--- /dev/null
+++ b/npc/027-1/ctrl.txt
@@ -0,0 +1,38 @@
+// TMW2 Scripts.
+// Author:
+// Jesusalva
+// Description:
+// Magic School controlled warps
+
+027-1,120,131,0 script #0271W01 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ if (ACADEMIC_RANK || is_sponsor())
+ warp "027-5", 28, 23;
+ end;
+}
+
+027-1,82,118,0 script #0271W02 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ if (ACADEMIC_RANK || is_sponsor())
+ warp "027-7", 60, 48;
+ end;
+}
+
+027-1,76,118,0 script #0271W03 NPC_HIDDEN,1,0,{
+ end;
+OnTouch:
+ if (ACADEMIC_RANK || is_sponsor())
+ warp "027-7", 41, 48;
+ end;
+}
+
+027-1,72,118,0 script #0271W04 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ if (ACADEMIC_RANK || is_sponsor())
+ warp "027-7", 24, 48;
+ end;
+}
+
diff --git a/npc/027-1/laura.txt b/npc/027-1/laura.txt
index db29e3de0..8cb7734b3 100644
--- a/npc/027-1/laura.txt
+++ b/npc/027-1/laura.txt
@@ -26,6 +26,10 @@
if (MAGIC_LVL >= 3)
goto L_Tier3;
break;
+ case 3:
+ if (MAGIC_LVL >= 4)
+ goto L_Tier4;
+ break;
}
closeclientdialog;
goodbye;
@@ -321,6 +325,16 @@ L_T3_Fail:
ST_TIER=1;
close;
+L_Tier4:
+ if (!ACADEMIC_RANK) {
+ mesn;
+ mesq l("Oh hello again. This time I need you to be enrolled here, for this, you need to either get a good rank at the Magic Olympics or by contributing to the world's knowledge. Talk to headmaster if you need help.");
+ close;
+ }
+ mesn;
+ mesq l("%s! I see you are a(n) %s here, very good!", academicrank());
+ close;
+
/// Core code
OnInit:
.@npcId = getnpcid(.name$);