summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-07 23:19:35 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-07 23:19:35 -0300
commit9467661f285c240feb367bd9f9e8c76521706391 (patch)
tree64f7aa64cc11362b558cdf7d601bcf070feee2c5 /npc
parent72cd7f1d9340db3dd52b2b52c4a69e40d6ef9f04 (diff)
downloadserverdata-9467661f285c240feb367bd9f9e8c76521706391.tar.gz
serverdata-9467661f285c240feb367bd9f9e8c76521706391.tar.bz2
serverdata-9467661f285c240feb367bd9f9e8c76521706391.tar.xz
serverdata-9467661f285c240feb367bd9f9e8c76521706391.zip
Allow Academy Students to go visit the Mystic Forest.
Currently, enrollment is not allowed, but sponsors will be able to make use of the shortcut by land to LoF.
Diffstat (limited to 'npc')
-rw-r--r--npc/017-0/wizard.txt1
-rw-r--r--npc/027-1/_import.txt1
-rw-r--r--npc/027-1/wizard.txt33
3 files changed, 35 insertions, 0 deletions
diff --git a/npc/017-0/wizard.txt b/npc/017-0/wizard.txt
index d2d4f6dc3..966ca0a21 100644
--- a/npc/017-0/wizard.txt
+++ b/npc/017-0/wizard.txt
@@ -3,6 +3,7 @@
// Jesusalva
// Description:
// Wizard at Magic Academy Entrance
+// TODO: Training for Academy Students
017-0,245,223,0 script Red Wizard NPC_RED_WIZARD_F,{
mesn;
diff --git a/npc/027-1/_import.txt b/npc/027-1/_import.txt
index 70475910d..c9802865e 100644
--- a/npc/027-1/_import.txt
+++ b/npc/027-1/_import.txt
@@ -10,3 +10,4 @@
"npc/027-1/statue.txt",
"npc/027-1/students.txt",
"npc/027-1/students2.txt",
+"npc/027-1/wizard.txt",
diff --git a/npc/027-1/wizard.txt b/npc/027-1/wizard.txt
new file mode 100644
index 000000000..dae56a4d6
--- /dev/null
+++ b/npc/027-1/wizard.txt
@@ -0,0 +1,33 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Wizard at Magic Academy Entrance
+
+027-0,44,91,0 script Purple Wizard NPC_PURPLE_WIZARD_F,{
+ mesn;
+ mesq l("Hello. I was assigned to guard the ranged training grounds of the mystic forest.");
+ next;
+ mesn;
+ mesq l("It is a dangerous area, so we only allow students enrolled at the academy to participate.");
+ if (!ACADEMIC_RANK && !is_sponsor())
+ close;
+ next;
+ mesn;
+ mesq l("Do you want to go there? The Red Wizard may be able to offer you training.");
+ next;
+ select
+ l("Not yet."),
+ l("Yes please.");
+ mes "";
+ closeclientdialog;
+ if (@menu == 2)
+ warp "017-0", 249, 228;
+ close;
+
+OnInit:
+ .distance = 3;
+ .sex = G_FEMALE;
+ end;
+}
+