summaryrefslogtreecommitdiff
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
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.
-rw-r--r--db/constants.conf1
-rw-r--r--npc/017-0/wizard.txt1
-rw-r--r--npc/027-1/_import.txt1
-rw-r--r--npc/027-1/wizard.txt33
4 files changed, 36 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 0f801658f..b30d8e20c 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -1782,6 +1782,7 @@ constants_db: {
NPC_TECH_EXPLORER: 208
NPC_CHEF: 210
NPC_GLASS_OLD_LADY: 211
+ NPC_PURPLE_WIZARD_F: 212
NPC_BARD_TRUMP: 213
NPC_INJURIED_MOUBOO: 215
NPC_SITTED_NINJA: 219
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;
+}
+