[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Prontera Guides |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= kobra_k88; L0ne_W0lf |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.6a |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena SVN |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= [Aegis Conversion] |
---|
| 11 | //= Guides for the City of Prontera |
---|
| 12 | //===== Additional Comments: ================================= |
---|
| 13 | //= Fully working |
---|
| 14 | //= v1.1 Now using duplicate command. |
---|
| 15 | //= 1.2 Optimized, updated common guide names [Lupus] |
---|
| 16 | //= 1.3 Updated the guide according to how it is on iRO, thanks [MasterOfMuppets] |
---|
| 17 | //= to Muad_Dib |
---|
| 18 | //= 1.4 Fitted the many lines into 1 or 2, and corrected some typos [erKURITA] |
---|
| 19 | //= 1.5 Removed Duplicates [Silent] |
---|
| 20 | //= 1.6 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
| 21 | //= 1.6a Fixed some errors with the loop. [Samuray22] |
---|
| 22 | // -Thanks to $ephiroth. |
---|
| 23 | //= 1.6b Fixed a Problem with Unnecesary RGB Values. [Samuray22] |
---|
| 24 | // -Thanks to Brainstorm. |
---|
| 25 | //============================================================ |
---|
| 26 | |
---|
| 27 | prontera,154,187,4 script Guide#prt::PrtGuide 105,{ |
---|
| 28 | cutin "prt_soldier",2; |
---|
| 29 | mes "[Prontera Guide]"; |
---|
| 30 | mes "Welcome to Prontera,"; |
---|
| 31 | mes "the beautiful capital of the"; |
---|
| 32 | mes "Rune-Midgarts Kingdom. If"; |
---|
| 33 | mes "you have questions or need help finding something in the city, don't hesitate to ask."; |
---|
| 34 | set .@loop1,1; |
---|
| 35 | while (.@loop1) { |
---|
| 36 | next; |
---|
| 37 | switch(select("City Guide.:Remove Marks from Mini-Map:Notice:Cancel")) { |
---|
| 38 | case 1: |
---|
| 39 | mes "[Prontera Guide]"; |
---|
| 40 | mes "Please select"; |
---|
| 41 | mes "a location from"; |
---|
| 42 | mes "the following menu."; |
---|
| 43 | if (.@compass_check == 0) { |
---|
| 44 | mes "Would you like me"; |
---|
| 45 | mes "to mark locations"; |
---|
| 46 | mes "on your Mini-Map?"; |
---|
| 47 | next; |
---|
| 48 | if (select("Yes:No") == 1) set .@compass_check,1; |
---|
| 49 | } |
---|
| 50 | set .@loop2,1; |
---|
| 51 | while (.@loop2) { |
---|
| 52 | if (.@wait_button_chk == 0) set .@wait_button_chk,1; |
---|
| 53 | else next; |
---|
| 54 | |
---|
| 55 | switch(select("Swordman Association:^0000FFSanctuary^000000:Prontera Chivalry:Weapon Shop:Tool Shop:Inn:Trading Post:Pub:Library:Job Agency:Prontera Castle:City Hall:Cancel")) { |
---|
| 56 | case 1: |
---|
| 57 | mes "[Prontera Guide]"; |
---|
| 58 | mes "The Swordman Association,"; |
---|
| 59 | mes "which handles Job Changes"; |
---|
| 60 | mes "to the Swordman class, has"; |
---|
| 61 | mes "moved to Izlude. This facility"; |
---|
| 62 | mes "is just an empty building now."; |
---|
| 63 | if (.@compass_check) |
---|
| 64 | viewpoint 1,237,41,4,0x00FF00; |
---|
| 65 | break; |
---|
| 66 | case 2: |
---|
| 67 | mes "[Prontera Guide]"; |
---|
| 68 | mes "The Prontera Sanctuary"; |
---|
| 69 | mes "handles Job Changes to"; |
---|
| 70 | mes "the Acolyte class, and can"; |
---|
| 71 | mes "be found in the northeast"; |
---|
| 72 | mes "corner of Prontera."; |
---|
| 73 | if (.@compass_check) |
---|
| 74 | viewpoint 1,236,316,5,0xFF0000; |
---|
| 75 | break; |
---|
| 76 | case 3: |
---|
| 77 | mes "[Prontera Guide]"; |
---|
| 78 | mes "The Prontera Chivralry,"; |
---|
| 79 | mes "which is responsible for"; |
---|
| 80 | mes "the safety of our capital, is"; |
---|
| 81 | mes "in Prontera's northwest corner."; |
---|
| 82 | if (.@compass_check) |
---|
| 83 | viewpoint 1,46,345,6,0x00FF00; |
---|
| 84 | break; |
---|
| 85 | case 4: |
---|
| 86 | mes "[Prontera Guide]"; |
---|
| 87 | mes "The Weapon Shop"; |
---|
| 88 | mes "is located northeast"; |
---|
| 89 | mes "of the central fountain."; |
---|
| 90 | if (.@compass_check) |
---|
| 91 | viewpoint 1,175,220,7,0xFF00FF; |
---|
| 92 | break; |
---|
| 93 | case 5: |
---|
| 94 | mes "[Prontera Guide]"; |
---|
| 95 | mes "The Tool Shop"; |
---|
| 96 | mes "is located northwest"; |
---|
| 97 | mes "of the central fountain."; |
---|
| 98 | if (.@compass_check) |
---|
| 99 | viewpoint 1,134,221,8,0xFF00FF; |
---|
| 100 | break; |
---|
| 101 | case 6: |
---|
| 102 | mes "[Prontera Guide]"; |
---|
| 103 | mes "The Inns in Prontera are"; |
---|
| 104 | mes "located both to the east"; |
---|
| 105 | mes "and west of Prontera's"; |
---|
| 106 | mes "central fountain area."; |
---|
| 107 | if (.@compass_check) { |
---|
| 108 | viewpoint 1,204,191,9,0xFF00FF; |
---|
| 109 | viewpoint 1,107,192,10,0xFF00FF; |
---|
| 110 | } |
---|
| 111 | break; |
---|
| 112 | case 7: |
---|
| 113 | mes "[Prontera Guide]"; |
---|
| 114 | mes "The Trading Post"; |
---|
| 115 | mes "can be found southeast"; |
---|
| 116 | mes "from the central fountain."; |
---|
| 117 | if (.@compass_check) |
---|
| 118 | viewpoint 1,179,184,11,0x00FF00; |
---|
| 119 | break; |
---|
| 120 | case 8: |
---|
| 121 | mes "[Prontera Guide]"; |
---|
| 122 | mes "The Pub is located"; |
---|
| 123 | mes "southeast of the fountain,"; |
---|
| 124 | mes "behind the Trading Post."; |
---|
| 125 | if (.@compass_check) |
---|
| 126 | viewpoint 1,208,154,12,0x00FF00; |
---|
| 127 | break; |
---|
| 128 | case 9: |
---|
| 129 | mes "[Prontera Guide]"; |
---|
| 130 | mes "If you head north from"; |
---|
| 131 | mes "the central fountain, you'll"; |
---|
| 132 | mes "find an empty area in which"; |
---|
| 133 | mes "both branches of the Prontera"; |
---|
| 134 | mes "Library can be accessed if you"; |
---|
| 135 | mes "head towards the east or west."; |
---|
| 136 | if (.@compass_check) { |
---|
| 137 | viewpoint 1,120,267,13,0x00FF00; |
---|
| 138 | viewpoint 1,192,267,14,0x00FF00; |
---|
| 139 | } |
---|
| 140 | break; |
---|
| 141 | case 10: |
---|
| 142 | mes "[Prontera Guide]"; |
---|
| 143 | mes "The Job Agency is"; |
---|
| 144 | mes "just southwest of the"; |
---|
| 145 | mes "central fountain area."; |
---|
| 146 | if (.@compass_check) |
---|
| 147 | viewpoint 1,133,183,15,0x00FF00; |
---|
| 148 | break; |
---|
| 149 | case 11: |
---|
| 150 | mes "[Prontera Guide]"; |
---|
| 151 | mes "The Prontera Castle is"; |
---|
| 152 | mes "located at the northern"; |
---|
| 153 | mes "sector of this city. You can"; |
---|
| 154 | mes "go to the fields that are north"; |
---|
| 155 | mes "of Prontera by going through"; |
---|
| 156 | mes "the castle's rear exit."; |
---|
| 157 | if (.@compass_check) |
---|
| 158 | viewpoint 1,156,360,16,0x00FF00; |
---|
| 159 | break; |
---|
| 160 | case 12: |
---|
| 161 | mes "[Prontera Guide]"; |
---|
| 162 | mes "The City Hall"; |
---|
| 163 | mes "is located in the"; |
---|
| 164 | mes "southwest corner"; |
---|
| 165 | mes "in our city of Prontera."; |
---|
| 166 | if (.@compass_check) |
---|
| 167 | viewpoint 1,75,91,17,0x01FF01; |
---|
| 168 | break; |
---|
| 169 | case 13: |
---|
| 170 | mes "[Prontera Guide]"; |
---|
| 171 | mes "Please ask me to ''Remove"; |
---|
| 172 | mes "Marks from Mini-Map'' if you"; |
---|
| 173 | mes "no longer wish to have the"; |
---|
| 174 | mes "location marks displayed"; |
---|
| 175 | mes "on your Mini-Map."; |
---|
| 176 | set .@loop2,0; |
---|
| 177 | break; |
---|
| 178 | } |
---|
| 179 | } |
---|
| 180 | break; |
---|
| 181 | case 2: |
---|
| 182 | viewpoint 2,237,41,4,0x00FF00; |
---|
| 183 | viewpoint 2,237,41,5,0x0000FF; |
---|
| 184 | viewpoint 2,46,345,6,0x00FF00; |
---|
| 185 | viewpoint 2,175,220,7,0xFF0000; |
---|
| 186 | viewpoint 2,134,221,8,0xFF0000; |
---|
| 187 | viewpoint 2,204,191,9,0xFF0000; |
---|
| 188 | viewpoint 2,107,192,10,0xFF0000; |
---|
| 189 | viewpoint 2,179,184,11,0x00FF00; |
---|
| 190 | viewpoint 2,208,154,12,0x00FF00; |
---|
| 191 | viewpoint 2,120,267,13,0x00FF00; |
---|
| 192 | viewpoint 2,192,267,14,0x00FF00; |
---|
| 193 | viewpoint 2,133,183,15,0x00FF00; |
---|
| 194 | viewpoint 2,156,360,16,0x00FF00; |
---|
| 195 | viewpoint 2,75,91,17,0x00FF00; |
---|
| 196 | set .@compass_check,0; |
---|
| 197 | break; |
---|
| 198 | case 3: |
---|
| 199 | mes "[Prontera Guide]"; |
---|
| 200 | mes "Advances in sorcery and"; |
---|
| 201 | mes "technology have allowed"; |
---|
| 202 | mes "us to update our information"; |
---|
| 203 | mes "system, enabling up to mark"; |
---|
| 204 | mes "locations on your Mini-Map"; |
---|
| 205 | mes "for easier navigation."; |
---|
| 206 | next; |
---|
| 207 | mes "[Prontera Guide]"; |
---|
| 208 | mes "Your Mini-Map is located"; |
---|
| 209 | mes "in the upper right corner"; |
---|
| 210 | mes "of the screen. If you can't"; |
---|
| 211 | mes "see it, press the Ctrl + Tab"; |
---|
| 212 | mes "keys or click the ''Map'' button in your Basic Info Window."; |
---|
| 213 | next; |
---|
| 214 | mes "[Prontera Guide]"; |
---|
| 215 | mes "On your Mini-Map,"; |
---|
| 216 | mes "click on the ''+'' and ''-''"; |
---|
| 217 | mes "symbols to zoom in and"; |
---|
| 218 | mes "our of your Mini-Map. We"; |
---|
| 219 | mes "hope you enjoy your travels"; |
---|
| 220 | mes "here in the city of Prontera."; |
---|
| 221 | break; |
---|
| 222 | case 4: |
---|
| 223 | mes "[Prontera Guide]"; |
---|
| 224 | mes "Well, adventurer..."; |
---|
| 225 | mes "I hope your journeys"; |
---|
| 226 | mes "through Rune-Midgard"; |
---|
| 227 | mes "are both fun and safe."; |
---|
| 228 | close2; |
---|
| 229 | set .@loop1,0; |
---|
| 230 | break; |
---|
| 231 | } |
---|
| 232 | } |
---|
| 233 | cutin "prt_soldier",255; |
---|
| 234 | end; |
---|
| 235 | } |
---|
| 236 | |
---|
| 237 | prontera,282,208,2 duplicate(PrtGuide) East Gate-Guide 105 |
---|
| 238 | |
---|
| 239 | prontera,29,200,6 duplicate(PrtGuide) West Gate-Guide 105 |
---|
| 240 | |
---|
| 241 | prontera,160,29,0 duplicate(PrtGuide) South Gate-Guide 105 |
---|
| 242 | |
---|
| 243 | prontera,151,330,4 duplicate(PrtGuide) North Gate-Guide 105 |
---|