From 5eece313e0f3e06e4d22e903c63e43492f6403e5 Mon Sep 17 00:00:00 2001 From: MasterOfMuppets Date: Wed, 12 Apr 2006 13:26:17 +0000 Subject: Blah blah. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6009 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/warps/dungeons/juperos.txt | 90 +++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'npc/warps/dungeons') diff --git a/npc/warps/dungeons/juperos.txt b/npc/warps/dungeons/juperos.txt index 0542ffdbc..fea25e5da 100644 --- a/npc/warps/dungeons/juperos.txt +++ b/npc/warps/dungeons/juperos.txt @@ -14,13 +14,46 @@ //= 1.2 Justin84's fixed elevator scripts //= 1.3 Fixed getting stuck when player relogs in. [Lance] //= 1.4 Added attachnpctimer to the initnpctimer calls. [Skotlex] +//= 1.5 Implemented a part of the Juperos quest [MasterOfMuppets] //============================================================ yuno_fild07.gat,207,175,0 warp jupwrp01 1,1,jupe_cave.gat,143,52 jupe_cave.gat,148,52,0 warp jupwrp02 1,1,yuno_fild07.gat,212,175 jupe_cave.gat,26,52,0 warp jupwrp03 1,1,juperos_01.gat,53,247 juperos_01.gat,50,250,0 warp jupwrp04 1,1,jupe_cave.gat,29,52 -juperos_01.gat,99,92,0 warp jupwrp05 1,1,juperos_02.gat,36,60 + +juperos_01.gat,99,92,1 script jupwrp05 -1,0,0,{ +OnTouch: + + mes "^666666[" + strcharinfo(0) + "]"; + mes "^000000This light..."; + mes "It feels like..."; + mes "Its warmth is..."; + mes "Wrapping all over me..."; + next; + menu "Ah, it's so nice...",s_Nice,"No! This is wrong!",-; + + mes "^666666[" + strcharinfo(0) + "]"; + mes "^000000N-No! This is"; + mes "wrong! Something"; + mes "weird's happening!"; + mes "I gotta get away!"; + close2; + warp "juperos_01.gat",96,91; + end; + +s_Nice: + specialeffect 309; + mes "^666666[" + strcharinfo(0) + "]"; + mes "^000000Ahhhh..."; + mes "It feels like"; + mes "I'm floating..."; + close2; + warp "juperos_02.gat",128,278; + end; + +} + juperos_02.gat,33,60,0 warp jupwrp06 1,1,juperos_01.gat,99,88 jupe_ele_r.gat,49,27,0 warp jupwrp07 1,1,jupe_gate.gat,49,52 jupe_gate.gat,49,55,0 warp jupwrp08 1,1,jupe_ele_r.gat,49,30 @@ -52,55 +85,22 @@ jupe_area2.gat,129,106,0 warp jupwrp36 1,1,jupe_area2.gat,129,140 jupe_area2.gat,105,54,0 warp jupwrp37 1,1,jupe_area2.gat,77,158 jupe_area2.gat,79,158,0 warp jupwrp38 1,1,jupe_area2.gat,108,54 -juperos_02.gat,129,150,0 script Juperos 111,{ - mes "Are you sure you want to enter?"; - next; - if(select("Yes","No") == 1){ - set jupe_destination$, "jupe_ele_r.gat"; - set jupe_destination_x, 50; - set jupe_destination_y, 94; - close2; - warp "jupe_ele.gat",41,45; - end; - } - close; -} - -jupe_ele.gat,41,45,0 script detectionUnit -1,20,20{ -OnTouch: - attachnpctimer; //Attach player to this timer - initnpctimer; - end; - -OnTimer1000: - announce "Please wait for a moment.", bc_self|bc_blue; - soundeffect "jupe_warp.wav",0; +juperos_02.gat,129,150,0 script JupeWarp2 -1,1,1{ +OnInit: + disablenpc "JupeWarp2"; end; - -OnTimer15000: - stopnpctimer; - setnpctimer 0; - warp jupe_destination$,jupe_destination_x,jupe_destination_y; - set jupe_destination$, ""; - set jupe_destination_x, 0; - set jupe_destination_y, 0; +OnTouch: + warp "jupe_gate.gat",49,162; end; } -jupe_ele_r.gat,50,98,0 script Juperos Elevator 111,{ - mes "Are you sure you want to go up?"; - next; - if(select("Yes","No") == 1){ - set jupe_destination$, "juperos_02.gat"; - set jupe_destination_x, 129; - set jupe_destination_y, 147; - close2; - warp "jupe_ele.gat",41,45; - } - close; +jupe_gate.gat,49,168,0 script JupeWarp3 -1,1,1,{ +OnTouch: + warp "juperos_02.gat",129,147; + end; } -jupe_gate.gat,49,168,0 script Juperos Guard 111,{ +jupe_ele_r.gat,50,98,0 script Juperos Guard 111,{ mes "Are you sure you want to enter the Juperos Core?"; next; if(select("Yes","No") == 1){ @@ -122,7 +122,7 @@ jupe_core.gat,150,17,0 script Juperos Guard#2 111,{ next; if(select("Yes", "No") == 1){ close2; - warp "jupe_gate.gat",49,165; + warp "jupe_ele_r",50,94; end; } close; -- cgit v1.2.3-70-g09d2