1 | //===== eAthena Script ======================================= |
---|
2 | //= Einbroch Guides |
---|
3 | //===== By: ================================================== |
---|
4 | //= Muad_dib; L0ne_W0lf |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.5 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena SVN |
---|
9 | //===== Description: ========================================= |
---|
10 | //= [Aegis Conversion] |
---|
11 | //= Guides for the City of Einbroch |
---|
12 | //===== Additional Comments: ================================= |
---|
13 | //= 1.0b missing tabs, fixed Guide coords [Lupus] |
---|
14 | //= 1.1 added 1 more Guide NPC, thanx to Justin84 [Lupus] |
---|
15 | //= 1.2 Optimized, updated common guide names [Lupus] |
---|
16 | //= 1.3 Fitted the many lines into 1 or 2, and corrected some typos [erKURITA] |
---|
17 | //= 1.4 Removed Duplicates [Silent] |
---|
18 | //= 1.5 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
19 | //============================================================ |
---|
20 | |
---|
21 | einbroch,72,202,4 script Guide#ein::EinGuide 852,{ |
---|
22 | cutin "ein_soldier",2; |
---|
23 | mes "[Einbroch Guide]"; |
---|
24 | mes "Welcome"; |
---|
25 | mes "to Einbroch,"; |
---|
26 | mes "the City of Steel."; |
---|
27 | mes "Please ask me if you"; |
---|
28 | mes "have any questions."; |
---|
29 | set .@loop1,1; |
---|
30 | while (.@loop1) { |
---|
31 | next; |
---|
32 | switch(select("City Guide.:Remove Marks from Mini-Map.:Notice.:Cancel.")) { |
---|
33 | case 1: |
---|
34 | mes "[Einbroch Guide]"; |
---|
35 | mes "Please select"; |
---|
36 | mes "a location from"; |
---|
37 | mes "the following menu."; |
---|
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 | switch(select("^FF0000Airport^000000:Train Station:Factory:Plaza:Hotel:Weapon Shop:Laboratory:Blacksmith Guild:Einbroch Tower:Cancel")) { |
---|
50 | case 1: |
---|
51 | mes "[Einbroch Guide]"; |
---|
52 | mes "The ^FF0000Airport^000000 is located"; |
---|
53 | mes "in the northwestern part"; |
---|
54 | mes "of the city. There you can"; |
---|
55 | mes "see our city's pride and joy, the Airship. Remember that you must pay admission to board the Airship."; |
---|
56 | if (.@compass_check) |
---|
57 | viewpoint 1,63,228,2,0xFF0000; |
---|
58 | break; |
---|
59 | case 2: |
---|
60 | mes "[Einbroch Guide]"; |
---|
61 | mes "The Train Station is"; |
---|
62 | mes "located in the northeast"; |
---|
63 | mes "part of Einbroch. Trains"; |
---|
64 | mes "running between here"; |
---|
65 | mes "and Einbech run all day"; |
---|
66 | mes "long, everyday."; |
---|
67 | if (.@compass_check) |
---|
68 | viewpoint 1,236,279,3,0xFF00FF; |
---|
69 | break; |
---|
70 | case 3: |
---|
71 | mes "[Einbroch Guide]"; |
---|
72 | mes "The Factory, perhaps the"; |
---|
73 | mes "most important facility in"; |
---|
74 | mes "Einbroch, is located in the"; |
---|
75 | mes "southern part of the city."; |
---|
76 | if (.@compass_check) |
---|
77 | viewpoint 1,158,78,4,0xFF00FF; |
---|
78 | break; |
---|
79 | case 4: |
---|
80 | mes "[Einbroch Guide]"; |
---|
81 | mes "The Plaza, our biggest"; |
---|
82 | mes "shopping district, can be"; |
---|
83 | mes "found just east from the"; |
---|
84 | mes "center of Einbroch."; |
---|
85 | if (.@compass_check) |
---|
86 | viewpoint 1,232,190,5,0xFF00FF; |
---|
87 | break; |
---|
88 | case 5: |
---|
89 | mes "[Einbroch Guide]"; |
---|
90 | mes "The Hotel is east of"; |
---|
91 | mes "the Plaza and offers top"; |
---|
92 | mes "caliber accomodations."; |
---|
93 | mes "There, you can enjoy your"; |
---|
94 | mes "stay in Einbroch in comfort~"; |
---|
95 | if (.@compass_check) |
---|
96 | viewpoint 1,260,201,6,0x00FF00; |
---|
97 | break; |
---|
98 | case 6: |
---|
99 | mes "[Einbroch Guide]"; |
---|
100 | mes "The Weapon Shop is"; |
---|
101 | mes "located north from the"; |
---|
102 | mes "Plaza. There you can"; |
---|
103 | mes "purchase weapons for"; |
---|
104 | mes "your personal use."; |
---|
105 | if (.@compass_check) |
---|
106 | viewpoint 1,215,221,7,0x00FF00; |
---|
107 | break; |
---|
108 | case 7: |
---|
109 | mes "[Einbroch Guide]"; |
---|
110 | mes "The Laboratory is an"; |
---|
111 | mes "annex of the Factory and"; |
---|
112 | mes "is located in the southwest"; |
---|
113 | mes "sector of Einbroch."; |
---|
114 | if (.@compass_check) |
---|
115 | viewpoint 1,36,49,8,0x00FF; |
---|
116 | break; |
---|
117 | case 8: |
---|
118 | mes "[Einbroch Guide]"; |
---|
119 | mes "The Blacksmith Guild is"; |
---|
120 | mes "located in the southeast"; |
---|
121 | mes "part of Einbroch. You can"; |
---|
122 | mes "upgrade your equipment"; |
---|
123 | mes "by using their services."; |
---|
124 | if (.@compass_check) |
---|
125 | viewpoint 1,244,90,9,0x00FF00; |
---|
126 | break; |
---|
127 | case 9: |
---|
128 | mes "[Einbroch Guide]"; |
---|
129 | mes "The Einbroch Tower is"; |
---|
130 | mes "located in the center of"; |
---|
131 | mes "the city. From the top of"; |
---|
132 | mes "the tower, you can view"; |
---|
133 | mes "all of Einbroch."; |
---|
134 | if (.@compass_check) |
---|
135 | viewpoint 1,174,195,10,0xFFFF00; |
---|
136 | break; |
---|
137 | case 10: |
---|
138 | mes "[Einbroch Guide]"; |
---|
139 | mes "Please ask me to ''Remove"; |
---|
140 | mes "Marks from Mini-Map'' if you"; |
---|
141 | mes "no longer wish to have the"; |
---|
142 | mes "location marks displayed"; |
---|
143 | mes "on your Mini-Map."; |
---|
144 | set .@loop2,0; |
---|
145 | } |
---|
146 | } |
---|
147 | break; |
---|
148 | case 2: |
---|
149 | viewpoint 2,63,228,2,0xFF0000; |
---|
150 | viewpoint 2,236,279,3,0xFF00FF; |
---|
151 | viewpoint 2,158,78,4,0xFF00FF; |
---|
152 | viewpoint 2,232,190,5,0xFF00FF; |
---|
153 | viewpoint 2,260,201,6,0x00FF00; |
---|
154 | viewpoint 2,215,221,7,0x00FF00; |
---|
155 | viewpoint 2,36,49,8,0x00FF00; |
---|
156 | viewpoint 2,244,90,9,0x00FF00; |
---|
157 | viewpoint 2,174,195,10,0xFFFF00; |
---|
158 | set .@compass_check,0; |
---|
159 | mes "[Einbroch Guide]"; |
---|
160 | mes "Okay, the marks from"; |
---|
161 | mes "your Mini-Map have been"; |
---|
162 | mes "removed. If you need any"; |
---|
163 | mes "guidance around Einbroch,"; |
---|
164 | mes "please let me or one of the"; |
---|
165 | mes "other Einbroch Guides know."; |
---|
166 | break; |
---|
167 | case 3: |
---|
168 | mes "[Einbroch Guide]"; |
---|
169 | mes "Through the technology of"; |
---|
170 | mes "the Schwaltzvalt Republic,"; |
---|
171 | mes "we've upgraded to a digital"; |
---|
172 | mes "information system that allows"; |
---|
173 | mes "us to mark locations on your"; |
---|
174 | mes "Mini-Map for easier navigation."; |
---|
175 | next; |
---|
176 | mes "[Einbroch Guide]"; |
---|
177 | mes "Your Mini-Map is located"; |
---|
178 | mes "in the upper right corner"; |
---|
179 | mes "of the screen. If you can't"; |
---|
180 | mes "see it, press the Ctrl + Tab"; |
---|
181 | mes "keys or click the ''Map'' button in your Basic Info Window."; |
---|
182 | next; |
---|
183 | mes "[Einbroch Guide]"; |
---|
184 | mes "On your Mini-Map,"; |
---|
185 | mes "click on the ''+'' and ''-''"; |
---|
186 | mes "symbols to zoom in and"; |
---|
187 | mes "our of your Mini-Map. We"; |
---|
188 | mes "hope you enjoy your travels"; |
---|
189 | mes "here in Einbroch, adventurer."; |
---|
190 | break; |
---|
191 | case 4: |
---|
192 | mes "[Einbroch Guide]"; |
---|
193 | mes "We hope that you"; |
---|
194 | mes "enjoy your travels"; |
---|
195 | mes "here in Einbroch."; |
---|
196 | mes "Oh, and please be"; |
---|
197 | mes "aware of the Smog Alerts."; |
---|
198 | close2; |
---|
199 | set .@loop1,0; |
---|
200 | } |
---|
201 | } |
---|
202 | cutin "ein_soldier",255; |
---|
203 | end; |
---|
204 | } |
---|
205 | |
---|
206 | einbroch,155,43,4 duplicate(EinGuide) Guide#2ein 852 |
---|
207 | |
---|
208 | einbroch,162,317,4 duplicate(EinGuide) Guide#3ein 852 |
---|