//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  Euphy
//= Copyright (C)  L0ne_W0lf
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Rachel Guides (Renewal)
//================= Description ===========================================
//= Guide for the city of Rachel.
//================= Current Version =======================================
//= 1.1
//=========================================================================

rachel,138,146,5	script	Rachel Guide#rachel	4_M_RASWORD,{
	mes "[Rachel Guide]";
	mes "Welcome to the capital of Arunafeltz, ^8B4513Rachel^000000 where the warm breath of the goddess Freya reaches.";
	mes "If this is the first time for you to use the guide services, I suggest you ask many questions.";
	F_Navi("[Rachel Guide]");
	next;
	while (1) {
		switch(select("[ Main Facilities ]", "[ Merchants & Helpers ]", "Remove Marks from Mini-Map", "Cancel")) {
		case 1:
			.@loop = 1;
			while (.@loop) {
				switch(select("[ Inn ]", "[ Weapon Shop ]", "[ Tool Shop ]", "[ Airport ]", "[ Cheshrumnir ]", "[ Priest Zed's Mansion ]", "Previous Menu")) {
				case 1:
					mes "[Rachel Guide]";
					mes "You can rest your fatigue of the journey in the "+F_Navi("Inn","rachel,115,144")+". The left building next to me is the Inn of Rachel.";
					mes "Would you like to check any other locations?";
					viewpoint 1,115,144,0,0xFF0000;
					next;
					break;
				case 2:
					mes "[Rachel Guide]";
					mes "Do you want to check out the weapons that are sold in Rachel? The "+F_Navi("Weapon Shop","rachel,42,82")+" is located near the west gate.";
					mes "Would you like to check any other locations?";
					viewpoint 1,42,82,1,0xFF4500;
					next;
					break;
				case 3:
					mes "[Rachel Guide]";
					mes "Rachel's "+F_Navi("Tool Shop","rachel,83,73")+" sells the best quality potions. It's located near the west gate.";
					mes "Would you like to check any other locations?";
					viewpoint 1,83,73,2,0xDAA520;
					next;
					break;
				case 4:
					mes "[Rachel Guide]";
					mes "The "+F_Navi("Airport","rachel,272,125")+" is located outside of the east gate.";
					mes "Would you like to check any other locations?";
					viewpoint 1,272,125,3,0x008000;
					next;
					break;
				case 5:
					mes "[Rachel Guide]";
					mes F_Navi("Cheshrumnir","rachel,150,243")+" is a holy ground where pope, the incarnation of goddess Freya stays.";
					mes "Take the road to the north to find the building.";
					mes "Would you like to check any other locations?";
					viewpoint 1,150,243,4,0x0000FF;
					next;
					break;
				case 6:
					mes "[Rachel Guide]";
					mes "I will mark the location";
					mes "of the "+F_Navi("Priest Zed's Mansion","rachel,98,238","^000080");
					mes "on your mini-map.";
					mes "Would you like to check any other locations?";
					viewpoint 1,98,238,5,0x000080;
					next;
					break;
				case 7:
					.@loop = 0;
					break;
				}
			}
			break;
		case 2:
			.@loop = 1;
			while (.@loop) {
				switch(select("[ Cool Event Corp. Staff ]", "[ Eden Teleport Officer ]", "Previous Menu")) {
				case 1:
					mes "[Rachel Guide]";
					mes "I will mark the location";
					mes "of the "+F_Navi("Cool Event Corp. Staff","rachel,110,138","^803232");
					mes "on your mini map.";
					mes "Would you like to check any other locations?";
					viewpoint 1,110,138,7,0x803232;
					next;
					break;
				case 2:
					mes "[Rachel Guide]";
					mes "I will mark the location";
					mes "of the "+F_Navi("Eden Teleport Officer","rachel,125,144","^556B2F");
					mes "on your mini-map.";
					mes "Would you like to check any other locations?";
					viewpoint 1,125,144,8,0x556B2F;
					next;
					break;
				case 3:
					.@loop = 0;
					break;
				}
			}
			break;
		case 3:
			mes "[Rachel Guide]";
			mes "Sure, I'll remove all marks from your mini-map.";
			mes "Is there anything else I can do for you?";
			viewpoint 2,115,144,0,0xFFFFFF;
			viewpoint 2,42,82,1,0xFFFFFF;
			viewpoint 2,83,73,2,0xFFFFFF;
			viewpoint 2,272,125,3,0xFFFFFF;
			viewpoint 2,150,243,4,0xFFFFFF;
			viewpoint 2,98,238,5,0xFFFFFF;
			viewpoint 2,110,138,7,0xFFFFFF;
			viewpoint 2,125,144,8,0xFFFFFF;
			next;
			break;
		case 4:
			mes "[Rachel Guide]";
			mes "Have a safe journey!";
			close;
		}
	}
}
