summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-28 21:16:28 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-28 21:16:28 -0300
commit5c76d6ed3f2cae562c9f3c6f922de5a2da0f3077 (patch)
treecdf92d0427ac07f83f22c8e0ee7aaa518b21fffe /npc
parent8d77ced79825e27ef3b82933862143e57d72bfad (diff)
downloadserverdata-5c76d6ed3f2cae562c9f3c6f922de5a2da0f3077.tar.gz
serverdata-5c76d6ed3f2cae562c9f3c6f922de5a2da0f3077.tar.bz2
serverdata-5c76d6ed3f2cae562c9f3c6f922de5a2da0f3077.tar.xz
serverdata-5c76d6ed3f2cae562c9f3c6f922de5a2da0f3077.zip
Fortress Island controllers
Diffstat (limited to 'npc')
-rw-r--r--npc/017-10/_import.txt1
-rw-r--r--npc/017-10/airship.txt57
-rw-r--r--npc/017-10/mayor.txt2
3 files changed, 59 insertions, 1 deletions
diff --git a/npc/017-10/_import.txt b/npc/017-10/_import.txt
index b5cbb0fa4..7cbdcd3de 100644
--- a/npc/017-10/_import.txt
+++ b/npc/017-10/_import.txt
@@ -1,6 +1,7 @@
// Map 017-10: LoF Townhall
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/017-10/_warps.txt",
+"npc/017-10/airship.txt",
"npc/017-10/dispatcher.txt",
"npc/017-10/mayor.txt",
"npc/017-10/politics.txt",
diff --git a/npc/017-10/airship.txt b/npc/017-10/airship.txt
new file mode 100644
index 000000000..eb5fb47e5
--- /dev/null
+++ b/npc/017-10/airship.txt
@@ -0,0 +1,57 @@
+// TMW-2 Script.
+// Author:
+// Jesusalva
+// Notes:
+// Fortress Island South (Lv 70~150 Area)
+
+017-10,63,22,0 script #ToFortress NPC_NO_SPRITE,1,0,{
+ end;
+OnTouch:
+ .@q=getq(General_Narrator);
+ if (.@q < 19)
+ end;
+
+ mesc l(".:: Fortress Island ::."), 1;
+ mes "";
+ if (BaseLevel < 70) {
+ mesc l("This area is only for level 70 upwards."), 1;
+ close;
+ }
+ mesc l("Do you want to go to Fortress Island, where the Monster King lives?!"), 1;
+ removespecialeffect(FX_CIRCLE, SELF, getcharid(3));
+ next;
+ mesc l("WARNING: HIGH LEVEL AREA. COME PREPARED."), 1;
+ mesc l("Note: This travel takes a whole minute to complete!!");
+ mesc l("Note 2: If you leave this plataform, it'll reset!");
+ next;
+ mesc l("BEGIN WARP PROCEDURES?"), 1;
+ if (askyesno() == ASK_YES) {
+ specialeffect FX_CIRCLE, SELF, getcharid(3);
+ addtimer 70000, "#ToFortress::OnWarper";
+ addtimer 60000, "#ToFortress::OnNotif";
+ }
+ end;
+
+OnNotif:
+ specialeffect FX_MAGIC, SELF, getcharid(3);
+ dispbottom l("WARPING IN 10 SECONDS");
+ end;
+
+OnWarper:
+ removespecialeffect(FX_CIRCLE, SELF, getcharid(3));
+ if (getmap() != "017-10")
+ end;
+ warp "025-2", 97, 119;
+ specialeffect FX_SUCCESS, SELF, getcharid(3);
+ dispbottom l("You have arrived at Fortress Island.");
+ end;
+}
+
+017-10,63,28,0 script #ToFortressAbort NPC_NO_SPRITE,5,0,{
+ end;
+OnTouch:
+ deltimer "#ToFortress::OnWarper";
+ deltimer "#ToFortress::OnNotif";
+ end;
+}
+
diff --git a/npc/017-10/mayor.txt b/npc/017-10/mayor.txt
index ad34b5e04..598762f07 100644
--- a/npc/017-10/mayor.txt
+++ b/npc/017-10/mayor.txt
@@ -117,7 +117,7 @@
next;
}
mesn;
- mesq l("Anyway, here your reward.");
+ mesq l("Anyway, here is your reward.");
delitem MagicApple, 1;
setq General_Narrator, 19;
setq LoFQuest_Barbara, 0, 0, 0;