//===== eAthena Script =======================================
//= Einbech Guides
//===== By: ==================================================
//= Muad_dib; L0ne_W0lf
//===== Current Version: =====================================
//= 1.5
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
//= [Aegis Conversion]
//= Guides for the City of Einbroch
//===== Additional Comments: =================================
//= 1.0 Einbech guide by Muad_dib in prometheus format
//= 1.0a Conversion to eA format [MasterOfMuppets]
//= 1.1 missing tabs [Lupus]
//= 1.2 Optimized, updated common guide names [Lupus]
//= 1.3 Fitted the many lines into 1 or 2, and corrected some typos [erKURITA]
//= 1.4 Removed Duplicates [Silent]
//= 1.4a missing tabs [KarLaeda]
//= 1.5 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
//============================================================
einbech,67,37,4 script Guide#4ein::EinGuide2 852,{
cutin "ein_soldier",2;
mes "[Einbech Guide]";
mes "Welcome to Einbech,";
mes "the Mining Town. We're";
mes "here to assist tourists,";
mes "so if you have any questions,";
mes "please feel free to ask us.";
set .@loop1,1;
while (.@loop1) {
next;
switch(select("City Guide.:Remove Marks from Mini-Map.:Notice.:Cancel.")) {
case 1:
mes "[Einbech Guide]";
mes "Please select";
mes "a location from";
mes "the following menu.";
if (.@compass_check == 0) {
mes "Would you like me";
mes "to mark locations";
mes "on your Mini-Map?";
next;
if (select("Yes.:No.") == 1) set .@compass_check,1;
}
set .@loop2,1;
while (.@loop2) {
if (.@wait_button_chk == 0) set .@wait_button_chk,1;
else next;
switch(select("Train Station:Tavern:Tool Shop:Swordman Guild:Mine:Cancel")) {
case 1:
mes "[Einbech Guide]";
mes "The Train Stations are";
mes "located in the northwest";
mes "and northeast parts of";
mes "Einbech. There, you can";
mes "take a train to Einbroch.";
if (.@compass_check)
viewpoint 1,43,213,2,0xFF0000;
break;
case 2:
mes "[Einbech Guide]";
mes "The Tavern is located";
mes "in the southern part of";
mes "Einbech. It's a nice place";
mes "to relax after a long day.";
if (.@compass_check)
viewpoint 1,142,112,3,0xFF00FF;
break;
case 3:
mes "[Einbech Guide]";
mes "You can find the Tool";
mes "Shop in the center of";
mes "Einbech. There, you can";
mes "purchase any tools you";
mes "might need for your travels.";
if (.@compass_check)
viewpoint 1,176,136,4,0xFF00FF;
break;
case 4:
mes "[Einbech Guide]";
mes "The Swordman Guild";
mes "is located in the eastern";
mes "outskirts of Einbech. It's";
mes "under construction and they";
mes "haven't started accepting";
mes "applications.";
if (.@compass_check)
viewpoint 1,250,110,5,0xFF00FF;
break;
case 5:
mes "[Einbech Guide]";
mes "The Mine, which is";
mes "Einbech's major industry,";
mes "is located in the northern";
mes "part of this town. It's where";
mes "we get all our ores, although monsters get in the miners' way.";
if (.@compass_check)
viewpoint 1,138,251,6,0x00FF00;
break;
case 6:
mes "[Einbech Guide]";
mes "Please ask me to ''Remove";
mes "Marks from Mini-Map'' if you";
mes "no longer wish to have the";
mes "location marks displayed";
mes "on your Mini-Map.";
set .@loop2,0;
}
}
break;
case 2:
viewpoint 2,43,213,2,0xFF0000;
viewpoint 2,142,112,3,0xFF00FF;
viewpoint 2,176,136,4,0xFF00FF;
viewpoint 2,250,110,5,0xFF00FF;
viewpoint 2,138,251,6,0x00FF00;
set .@compass_check,0;
mes "[Einbech Guide]";
mes "Okay, the marks from";
mes "your Mini-Map have been";
mes "removed. If you need any";
mes "guidance around Einbech,";
mes "please let me or one of the";
mes "other Einbech Guides know.";
break;
case 3:
mes "[Einbech Guide]";
mes "Through the technology of";
mes "the Schwaltzvalt Republic,";
mes "we've upgraded to a digital";
mes "information system that allows";
mes "us to mark locations on your";
mes "Mini-Map for easier navigation.";
next;
mes "[Einbech Guide]";
mes "Your Mini-Map is located";
mes "in the upper right corner";
mes "of the screen. If you can't";
mes "see it, press the Ctrl + Tab";
mes "keys or click the ''Map'' button in your Basic Info Window.";
next;
mes "[Einbech Guide]";
mes "On your Mini-Map,";
mes "click on the ''+'' and ''-''";
mes "symbols to zoom in and";
mes "our of your Mini-Map. We";
mes "hope you enjoy your travels";
mes "here in Einbech, adventurer.";
break;
case 4:
mes "[Einbech Guide]";
mes "We hope that you";
mes "enjoy your travels";
mes "here in Einbech.";
close2;
set .@loop1,0;
}
}
cutin "ein_soldier",255;
end;
}
einbech,48,214,4 duplicate(EinGuide2) Guide#5ein 852