1 | //===== eAthena Script ======================================= |
---|
2 | //= Rachel Guide |
---|
3 | //===== By: ================================================== |
---|
4 | //= L0ne_W0lf |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.2b |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena SVN |
---|
9 | //===== Description: ========================================= |
---|
10 | //= [Aegis Conversion] |
---|
11 | //= Rachel City guide |
---|
12 | //===== Additional Comments: ================================= |
---|
13 | //= 1.0 First version. [L0ne_W0lf] |
---|
14 | //= 1.1 Change the while loops a bit. [L0ne_W0lf] |
---|
15 | //= 1.2 Deleted an Unnecessary "next;" [Samuray22] |
---|
16 | // -Thanks to $ephiroth. |
---|
17 | //= 1.2a Fixed some errors with the loop[Samuray22] |
---|
18 | // -Thanks to $ephiroth. |
---|
19 | //= 1.2b Deleted a unnecessary "end". [Samuray22] |
---|
20 | //============================================================ |
---|
21 | |
---|
22 | rachel,138,146,5 script Rachel Guide 934,{ |
---|
23 | mes "[Rachel Guide]"; |
---|
24 | mes "Welcome to the capital of"; |
---|
25 | mes "Arunafeltz, Rachel where a warm"; |
---|
26 | mes "breath of goddess Freya reaches."; |
---|
27 | mes "If this is the first time for you"; |
---|
28 | mes "to use the guide services, why"; |
---|
29 | mes "don't you check the \"Notice\" menu first?"; |
---|
30 | set .@loop1,1; |
---|
31 | while(.@loop1) { |
---|
32 | next; |
---|
33 | switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) { |
---|
34 | case 1: |
---|
35 | mes "[Rachel Guide]"; |
---|
36 | mes "I can tell you any building location as long as it is in Rachel."; |
---|
37 | mes "So where do you want to go?"; |
---|
38 | if (.@compass_check == 0) { |
---|
39 | mes "Would you like me"; |
---|
40 | mes "to mark locations"; |
---|
41 | mes "on your Mini-Map?"; |
---|
42 | next; |
---|
43 | if (select("Yes:No") == 1) set .@compass_check,1; |
---|
44 | } |
---|
45 | set .@loop2,1; |
---|
46 | while(.@loop2) { |
---|
47 | if (.@wait_button_chk == 0) set .@wait_button_chk,1; |
---|
48 | else next; |
---|
49 | |
---|
50 | switch(select("Cheshrumnir:Inn:Weapon Shop:Tool Shop:Airport:Cancel")) { |
---|
51 | case 1: |
---|
52 | mes "[Rachel Guide]"; |
---|
53 | mes "Cheshrumnir is a holy ground where pope, the incarnation of goddess Freya stays."; |
---|
54 | mes "Take the road to the norh to find the building."; |
---|
55 | if (.@compass_check == 1) viewpoint 1,150,249,1,0xFF0000; |
---|
56 | break; |
---|
57 | case 2: |
---|
58 | mes "[Rachel Guide]"; |
---|
59 | mes "You can rest your fatigue off the journey in the Inn."; |
---|
60 | mes "The left building next to me is the Inn of Rachel."; |
---|
61 | if (.@compass_check == 1) viewpoint 1,115,149,2,0xFF00FF; |
---|
62 | break; |
---|
63 | case 3: |
---|
64 | mes "[Rachel Guide]"; |
---|
65 | mes "Do you want to check out the weapons that are sold in Rachel?"; |
---|
66 | mes "The weapon shop is located nearby the western gate."; |
---|
67 | if (.@compass_check == 1) viewpoint 1,42,87,3,0x99FFFF; |
---|
68 | break; |
---|
69 | case 4: |
---|
70 | mes "[Rachel Guide]"; |
---|
71 | mes "Rachel tool shop sells the best quality potions."; |
---|
72 | mes "It's located nearby the western gate."; |
---|
73 | if (.@compass_check == 1) viewpoint 1,83,78,4,0x0000FF; |
---|
74 | break; |
---|
75 | case 5: |
---|
76 | mes "[Rachel Guide]"; |
---|
77 | mes "The Airport is located outside the eastern gate."; |
---|
78 | if (.@compass_check == 1) viewpoint 1,273,125,5,0x00FF00; |
---|
79 | break; |
---|
80 | case 6: |
---|
81 | mes "[Rachel Guide]"; |
---|
82 | mes "If you like to get rid of all the location marks on your Mini-Map,"; |
---|
83 | mes "just ask me again, and choose \"Remove Marks from Mini-Map\" menu."; |
---|
84 | set .@loop2,0; |
---|
85 | break; |
---|
86 | } |
---|
87 | } |
---|
88 | break; |
---|
89 | |
---|
90 | case 2: |
---|
91 | viewpoint 2,150,249,1,0xFF0000; |
---|
92 | viewpoint 2,115,149,2,0xFF00FF; |
---|
93 | viewpoint 2,42,87,3,0x99FFFF; |
---|
94 | viewpoint 2,83,78,4,0x0000FF; |
---|
95 | viewpoint 2,273,125,5,0x00FF00; |
---|
96 | mes "[Rachel Guide]"; |
---|
97 | mes "Okay, they are gone now. If you have more locations to ask, just let me know."; |
---|
98 | break; |
---|
99 | case 3: |
---|
100 | mes "[Rachel Guide]"; |
---|
101 | mes "When you are using the ''Village Guide'' menu,"; |
---|
102 | mes "make sure that building locations will be marked on your mini-map at the upper right side of your screen."; |
---|
103 | mes "If you cannot see your mini-map, use the short cut key ''ctrl+tab'' or press the ''Map'' button on your basic information windows, okay?"; |
---|
104 | mes "And you can also zoom out your mini-map by using the ''-'' button in case you cannot view the entire map of the village."; |
---|
105 | break; |
---|
106 | case 4: |
---|
107 | mes "[Rachel Guide]"; |
---|
108 | mes "Hope you have a wonderfull journey"; |
---|
109 | mes "in Arunafeltz."; |
---|
110 | close2; |
---|
111 | set .@loop1,0; |
---|
112 | break; |
---|
113 | } |
---|
114 | } |
---|
115 | close; |
---|
116 | } |
---|