[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Alberta Guides |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= kobra_k88; L0ne_W0lf |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.5a |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena SVN |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= [Aegis Conversion] |
---|
| 11 | //= Guides for the city of Alberta |
---|
| 12 | //===== Additional Comments: ================================= |
---|
| 13 | //= Fully working |
---|
| 14 | //= 1.1 Fixed Armory coords, thanks to Freya team |
---|
| 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 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
| 20 | //= 1.5 Fixed some errors with the loop[Samuray22] |
---|
| 21 | // -Thanks to $ephiroth. |
---|
| 22 | //============================================================ |
---|
| 23 | |
---|
| 24 | alberta,23,238,4 script Guide#alb::AlbGuide 105,{ |
---|
| 25 | cutin "prt_soldier",2; |
---|
| 26 | mes "[Alberta Guide]"; |
---|
| 27 | mes "Welcome to Alberta,"; |
---|
| 28 | mes "the Port City. Feel free"; |
---|
| 29 | mes "to ask me if you're having"; |
---|
| 30 | mes "trouble finding anything in"; |
---|
| 31 | mes "town, or if you just need"; |
---|
| 32 | mes "guidance around the city."; |
---|
| 33 | set .@loop1,1; |
---|
| 34 | while (.@loop1) { |
---|
| 35 | next; |
---|
| 36 | switch(select("City Guide:Remove Marks from Mini-Map:Notice:Cancel")) { |
---|
| 37 | case 1: |
---|
| 38 | mes "[Alberta Guide]"; |
---|
| 39 | mes "Please select"; |
---|
| 40 | mes "a location from"; |
---|
| 41 | mes "the following menu."; |
---|
| 42 | if (.@compass_check == 0) { |
---|
| 43 | mes "Would you like me"; |
---|
| 44 | mes "to mark locations"; |
---|
| 45 | mes "on your Mini-Map?"; |
---|
| 46 | next; |
---|
| 47 | if (select("Yes:No") == 1) set .@compass_check,1; |
---|
| 48 | } |
---|
| 49 | set .@loop2,1; |
---|
| 50 | while (.@loop2) { |
---|
| 51 | if (.@wait_button_chk == 0) set .@wait_button_chk,1; |
---|
| 52 | else next; |
---|
| 53 | |
---|
| 54 | switch(select("^FF0000Merchant Guild^000000:Weapon Shop:Tool Shop:Inn:Forge:Cancel")) { |
---|
| 55 | case 1: |
---|
| 56 | mes "[Alberta Guide]"; |
---|
| 57 | mes "The Merchant Guild"; |
---|
| 58 | mes "handles Job Changes"; |
---|
| 59 | mes "to the Merchant Class,"; |
---|
| 60 | mes "and is located in the"; |
---|
| 61 | mes "southwest corner"; |
---|
| 62 | mes "of Alberta."; |
---|
| 63 | if (.@compass_check) |
---|
| 64 | viewpoint 1,33,41,2,0xFF0000; |
---|
| 65 | break; |
---|
| 66 | case 2: |
---|
| 67 | mes "[Alberta Guide]"; |
---|
| 68 | mes "The Weapon Shop"; |
---|
| 69 | mes "can be found in the"; |
---|
| 70 | mes "southern end of Alberta."; |
---|
| 71 | if (.@compass_check) |
---|
| 72 | viewpoint 1,117,37,3,0xFF00FF; |
---|
| 73 | break; |
---|
| 74 | case 3: |
---|
| 75 | mes "[Alberta Guide]"; |
---|
| 76 | mes "The Tool Shop"; |
---|
| 77 | mes "is kind of close"; |
---|
| 78 | mes "to the center of"; |
---|
| 79 | mes "Alberta. It shouldn't"; |
---|
| 80 | mes "be too hard to find."; |
---|
| 81 | if (.@compass_check) |
---|
| 82 | viewpoint 1,98,154,4,0xFFFF00FF; |
---|
| 83 | break; |
---|
| 84 | case 4: |
---|
| 85 | mes "[Alberta Guide]"; |
---|
| 86 | mes "There's an Inn"; |
---|
| 87 | mes "at the northern"; |
---|
| 88 | mes "end of Alberta"; |
---|
| 89 | mes "where you can rest."; |
---|
| 90 | if (.@compass_check) |
---|
| 91 | viewpoint 1,65,233,5,0xFF00FF; |
---|
| 92 | break; |
---|
| 93 | case 5: |
---|
| 94 | mes "[Alberta Guide]"; |
---|
| 95 | mes "The Forge in Alberta"; |
---|
| 96 | mes "is in the same building"; |
---|
| 97 | mes "as the Merchant Guild."; |
---|
| 98 | mes "It's to the southwest."; |
---|
| 99 | if (.@compass_check) |
---|
| 100 | viewpoint 1,35,41,6,0xFF00FF; |
---|
| 101 | break; |
---|
| 102 | case 6: |
---|
| 103 | mes "[Alberta Guide]"; |
---|
| 104 | mes "Please ask me to ''Remove"; |
---|
| 105 | mes "Marks from Mini-Map'' if you"; |
---|
| 106 | mes "no longer wish to have the"; |
---|
| 107 | mes "location marks displayed"; |
---|
| 108 | mes "on your Mini-Map."; |
---|
| 109 | set .@loop2,0; |
---|
| 110 | } |
---|
| 111 | } |
---|
| 112 | break; |
---|
| 113 | case 2: |
---|
| 114 | viewpoint 2,237,41,2,0xFF0000; |
---|
| 115 | viewpoint 2,237,41,3,0xFF00FF; |
---|
| 116 | viewpoint 2,46,345,4,0xFF00FF; |
---|
| 117 | viewpoint 2,175,220,5,0xFF00FF; |
---|
| 118 | viewpoint 2,175,220,6,0xFF00FF; |
---|
| 119 | set .@compass_check,0; |
---|
| 120 | break; |
---|
| 121 | case 3: |
---|
| 122 | mes "[Alberta Guide]"; |
---|
| 123 | mes "Advances in sorcery and"; |
---|
| 124 | mes "technology have allowed"; |
---|
| 125 | mes "us to update our information"; |
---|
| 126 | mes "system, enabling up to mark"; |
---|
| 127 | mes "locations on your Mini-Map"; |
---|
| 128 | mes "for easier navigation."; |
---|
| 129 | next; |
---|
| 130 | mes "[Alberta Guide]"; |
---|
| 131 | mes "Your Mini-Map is located"; |
---|
| 132 | mes "in the upper right corner"; |
---|
| 133 | mes "of the screen. If you can't"; |
---|
| 134 | mes "see it, press the Ctrl + Tab"; |
---|
| 135 | mes "keys or click the ''Map'' button in your Basic Info Window."; |
---|
| 136 | next; |
---|
| 137 | mes "[Alberta Guide]"; |
---|
| 138 | mes "On your Mini-Map,"; |
---|
| 139 | mes "click on the ''+'' and ''-''"; |
---|
| 140 | mes "symbols to zoom in and"; |
---|
| 141 | mes "our of your Mini-Map. We"; |
---|
| 142 | mes "hope you enjoy your travels"; |
---|
| 143 | mes "here in the city of Alberta."; |
---|
| 144 | break; |
---|
| 145 | case 4: |
---|
| 146 | mes "[Alberta Guide]"; |
---|
| 147 | mes "Be safe when you"; |
---|
| 148 | mes "travel and don't hesitate"; |
---|
| 149 | mes "to ask me if you have any"; |
---|
| 150 | mes "questions about Alberta."; |
---|
| 151 | close2; |
---|
| 152 | set .@loop1,0; |
---|
| 153 | } |
---|
| 154 | } |
---|
| 155 | cutin "prt_soldier",255; |
---|
| 156 | end; |
---|
| 157 | } |
---|
| 158 | |
---|
| 159 | alberta,120,60,3 duplicate(AlbGuide) Guide#2alb 105 |
---|