From 5c76d6ed3f2cae562c9f3c6f922de5a2da0f3077 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 28 Oct 2019 21:16:28 -0300 Subject: Fortress Island controllers --- npc/017-10/airship.txt | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 npc/017-10/airship.txt (limited to 'npc/017-10/airship.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; +} + -- cgit v1.2.3-70-g09d2