From 6979b1d621c2e5c6dab882e3825c4a867d19ba98 Mon Sep 17 00:00:00 2001 From: euphyy Date: Fri, 1 Jun 2012 02:36:44 +0000 Subject: /custom/ folder overhaul: ==== Script Changes ==== * Warper replaced with Euphy's Warper v1.2 * Stylist replaced with a much more efficient script * Healer replaced with more efficient script * MVP Arena heavily condensed, and text edited * Removed logout suggestion in Reset NPC (why was that there?) * Quest Warper added to scripts_custom.conf [bug fix] ==== Reorganization ==== * All folders in root directory removed except "battleground", "events", "quests" * All non-essential scripts in root directory moved to "etc" folder * A few files renamed for easier identification * scripts_custom.conf reordered for easier identification git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16193 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/warper.txt | 657 ++++++++++++++++++++++++++++---------------------- 1 file changed, 374 insertions(+), 283 deletions(-) (limited to 'npc/custom/warper.txt') diff --git a/npc/custom/warper.txt b/npc/custom/warper.txt index 0924ef90c..7980f6ccd 100644 --- a/npc/custom/warper.txt +++ b/npc/custom/warper.txt @@ -1,294 +1,385 @@ -//===== rAthena Script ======================================= +//===== rAthena Script ======================================= //= Warper -//===== By: ================================================== -//= Darkchild +//===== By: ================================================== +//= Euphy //===== Current Version: ===================================== -//= 2.2 +//= 1.2 //===== Compatible With: ===================================== //= rAthena SVN -//===== Description: ========================================= -//= Generic warper... -//===== Additional Comments: ================================= -//= 1.0 by Darkchild -//= 1.1 by jabs -//= 1.2 by Lupus (placement fixed in Amatsu) -//= 1.3 fixed Louyang label typo, added warp and WARPRA into -//= Nifleheim. Also sorted all names in alphabet order. [Lupus] -//= 1.4 fixed morroc warp npc overlaying kafra [Aria] -//= 1.4a Added Ayothaya and Einbroch to list, and town Warpra's [Fredzilla] -//= 1.4b fixed Izlude warp npc overlaying BBS [Justin84] -//= 1.5 Added this NPC to more places [Lupus] -//= 1.6 Rewrote a lot. Changed the sprite, some locations. [Poki#3] -//= TODO Add an option for selecting the level of the dungeon. [Poki#3] -//= 1.7 Temporary? Added F_ClearGarbage to clear unused/outdated variables [Lupus] -//= 1.8 Removed Duplicates [Silent] -//= 1.9 Optimized for the greater good. [Kisuka] -//= 2.0 Fixed warp for AntHell and Yuno. [Kisuka] -//= 2.1 Moved AntHell warp agent to the new anthell entrance. [brianluau] -//= 2.2 Updated Script with newest towns. [Masao] -//============================================================ -//= To allow selecting the Level of the Dungeon you want to -//= Warp to set the @lvlselect variable to 1 (Not implemented yet!) +//===== Description: ========================================= +//= A complete - but very condensed - warper script. +//= Coordinates written largely by Tekno-Kanix and ToastOfDoom. //============================================================ -- script Warp Agent#01::warpra 859,{ - // set @lvlselect,0; +- script Warper -1,{ +function Go; function Disp; function Pick; - callfunc "F_ClearGarbage"; //Clear outdated, unused variables +// -------------------------------------------------- +// Main Menu: +// -------------------------------------------------- - mes "[Warp Agent]"; - mes "Hello " + strcharinfo(0) + ","; - mes "I can teleport you to any Town or Dungeon!"; - mes "Where do you want to go?"; - next; - switch(select("To a Town:To a Dungeon")) { - case 1: - mes "[Warp Agent]"; - mes "Please select which town you would like to be teleported to."; - next; - switch(select("Alberta:Aldebaran:Amatsu:Ayothaya:Brasilis:Comodo:Dewata:Eclage:Einbroch:Einbech:El Dicastes:Expedition Camp:Geffen:Gonryun:Hugel:Izlude:Jawaii:Lighthalzen:Louyang:Lutie:Malangdo:Malaya:Manuk:Mora:Morroc:Moscovia:Payon:Prontera:Rachel:Splendide:Umbala:Veins:Yuno")) { - case 1: - warp "alberta",27,236; - break; - case 2: - warp "aldebaran",145,120; - break; - case 3: - warp "amatsu",197,86; - break; - case 4: - warp "ayothaya",149,118; - break; - case 5: - warp "brasilis",195,220; - break; - case 6: - warp "comodo",188,161; - break; - case 7: - warp "dewata",199,179; - break; - case 8: - warp "eclage",111,39; - break; - case 9: - warp "einbroch",64,200; - break; - case 10: - warp "einbech",70,95; - break; - case 11: - warp "dicastes01",198,187; - break; - case 12: - warp "mid_camp",183,241; - break; - case 13: - warp "geffen",119,66; - break; - case 14: - warp "gonryun",150,130; - break; - case 15: - warp "hugel",96,145; - break; - case 16: - warp "izlude",128,111; - break; - case 17: - warp "jawaii",249,127; - break; - case 18: - warp "lighthalzen",158,92; - break; - case 19: - warp "louyang",210,108; - break; - case 20: - warp "xmas",150,133; - break; - case 21: - warp "malangdo",224,184; - break; - case 22: - warp "malaya",212,206; - break; - case 23: - warp "manuk",282,138; - break; - case 24: - warp "mora",111,97; - break; - case 25: - warp "morocc",159,93; - break; - case 26: - warp "moscovia",223,184; - break; - case 27: - warp "payon",152,75; - break; - case 28: - warp "prontera",156,187; - break; - case 29: - warp "rachel",130,110; - break; - case 30: - warp "splendide",197,176; - break; - case 31: - warp "umbala",130,130; - break; - case 32: - warp "veins",216,123; - break; - case 33: - warp "yuno",160,168; - break; - } - break; - case 2: - mes "[Warp Agent]"; - mes "Please select which dungeon you would like to be teleported to."; - next; - switch(select("Abyss Lake:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Bibilan Dungeon:Coal Mine (Dead Pit):Culvert:Einbech Dungeon:Glast Heim:Gonryun Dungeon:Ice Dungeon:Juperos:Lighthalzen Bio Lab:Magma Dungeon:Niflheim:Odin Temple:Orc Dungeon:Payon Dungeon:Pyramids:Sphinx:Sunken Ship:Thanatos Tower:Thor Volcano:Turtle Dungeon")) { - case 1: - warp "hu_fild05",189,207; - break; - case 2: - warp "ama_dun01",229,12; - break; - case 3: - warp "moc_fild20",164,145; - break; - case 4: - warp "ayo_fild02",280,149; - break; - case 5: - warp "izlu2dun",106,88; - break; - case 6: - warp "mjolnir_02",81,359; - break; - case 7: - warp "prt_sewb1",126,248; - break; - case 8: - warp "einbech",135,249; - break; - case 9: - warp "glast_01",368,303; - break; - case 10: - warp "gonryun",160,195; - break; - case 11: - warp "ice_dun01",157,15; - break; - case 12: - warp "yuno_fild07",218,176; - break; - case 13: - warp "lighthalzen",158,285; - break; - case 14: - warp "yuno_fild03",39,140; - break; - case 15: - warp "niflheim",35,161; - break; - case 16: - warp "odin_tem01",98,144; - break; - case 17: - warp "gef_fild10",70,332; - break; - case 18: - warp "pay_arche",43,132; - break; - case 19: - warp "moc_ruins",62,162; - break; - case 20: - warp "moc_fild19",107,100; - break; - case 21: - warp "alb2trea",75,98; - break; - case 22: - warp "tha_scene01",131,223; - break; - case 23: - warp "thor_v01",21,229; - break; - case 24: - warp "tur_dun01",149,238; - } - break; - } - end; -} +menu "Last Warp ^777777["+lastwarp$+"]^000000",-, + " ~ Towns",Towns, " ~ Fields",Fields, " ~ Dungeons",Dungeons, + " ~ Guild Castles",Castles, " ~ Special Areas",Special; + + if (lastwarp$ == "") dispbottom "You have not warped anywhere yet."; + else warp lastwarp$,lastwarpx,lastwarpy; + close; + +// ------------------- Functions ------------------- +// * Go("",,); +// ~ Warps directly to a map. +// * Disp("",,); +// * Pick(""{,}); +// ~ Dynamic menu and map selection. +// * Disp("","