[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Geffen Guides |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= kobra_k88; L0ne_W0lf |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.4a |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena SVN |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= [Aegis COnversion] |
---|
| 11 | //= Guides for the City of Geffen |
---|
| 12 | //===== Additional Comments: ================================= |
---|
| 13 | //= Fully working. Added a guide at every exit. |
---|
| 14 | //= v1.1 Now using duplicate command. |
---|
| 15 | //= 1.2 Optimized, updated common guide names [Lupus] |
---|
| 16 | //= 1.2a Small note that the BS guild moved to Einbroch [Poki#3] |
---|
| 17 | //= 1.3 Removed Duplicates [Silent] |
---|
| 18 | //= 1.4a Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
| 19 | //= 1.4 Fixed some errors with the loop[Samuray22] |
---|
| 20 | // -Thanks to $ephiroth. |
---|
| 21 | //============================================================ |
---|
| 22 | |
---|
| 23 | geffen,203,116,0 script Guide#gef::GefGuide 705,{ |
---|
| 24 | cutin "gef_soldier",2; |
---|
| 25 | mes "[Geffen Guide]"; |
---|
| 26 | mes "Welcome to Geffen,"; |
---|
| 27 | mes "the City of Magic. If you"; |
---|
| 28 | mes "need any guidance around"; |
---|
| 29 | mes "the city, feel free to ask me"; |
---|
| 30 | mes "and I'll do my best to assist you. ^FFFFFFcobo^000000"; |
---|
| 31 | set .@loop1,1; |
---|
| 32 | while (.@loop1) { |
---|
| 33 | next; |
---|
| 34 | switch(select("City Guide:Remove Marks from Mini-Map:Notice.:Cancel")) { |
---|
| 35 | case 1: |
---|
| 36 | mes "[Geffen Guide]"; |
---|
| 37 | mes "Please select"; |
---|
| 38 | mes "a location from"; |
---|
| 39 | mes "the following menu."; |
---|
| 40 | if (compass_check == 0) { |
---|
| 41 | mes "Would you like me"; |
---|
| 42 | mes "to mark locations"; |
---|
| 43 | mes "on your Mini-Map?"; |
---|
| 44 | next; |
---|
| 45 | if (select("Yes:No") == 1) set .@compass_check,1; |
---|
| 46 | } |
---|
| 47 | set .@loop2,1; |
---|
| 48 | while (.@loop2) { |
---|
| 49 | if (.@wait_button_chk == 0) set .@wait_button_chk,1; |
---|
| 50 | else next; |
---|
| 51 | // next; |
---|
| 52 | switch(select("^FF0000Magic Acedemy^000000:Forge Shop:Weapon Shop:Tool Shop:Pub:Inn:Geffen Tower:Cancel")) { |
---|
| 53 | case 1: |
---|
| 54 | mes "[Geffen Guide]"; |
---|
| 55 | mes "The Magic Academy in"; |
---|
| 56 | mes "northwest Geffen handles"; |
---|
| 57 | mes "Job Changes to the Mage class."; |
---|
| 58 | if (.@compass_check) |
---|
| 59 | viewpoint 1,61,180,2,0xFF0000; |
---|
| 60 | break; |
---|
| 61 | case 2: |
---|
| 62 | mes "[Geffen Guide]"; |
---|
| 63 | mes "The Forge Shop is"; |
---|
| 64 | mes "located just southeast"; |
---|
| 65 | mes "from the center of Geffen."; |
---|
| 66 | if (.@compass_check) |
---|
| 67 | viewpoint 1,182,59,3,0x00FF00; |
---|
| 68 | break; |
---|
| 69 | case 3: |
---|
| 70 | mes "[Geffen Guide]"; |
---|
| 71 | mes "The Weapon Shop"; |
---|
| 72 | mes "can be found northwest"; |
---|
| 73 | mes "from the center of Geffen."; |
---|
| 74 | if (.@compass_check) |
---|
| 75 | viewpoint 1,99,140,4,0xFF00FF; |
---|
| 76 | break; |
---|
| 77 | case 4: |
---|
| 78 | mes "[Geffen Guide]"; |
---|
| 79 | mes "You can find the"; |
---|
| 80 | mes "Tool Shop by heading"; |
---|
| 81 | mes "southwest from the"; |
---|
| 82 | mes "center of Geffen."; |
---|
| 83 | if (.@compass_check) |
---|
| 84 | viewpoint 1,44,86,5,0xFF00FF; |
---|
| 85 | break; |
---|
| 86 | case 5: |
---|
| 87 | mes "[Geffen Guide]"; |
---|
| 88 | mes "The Pub can be"; |
---|
| 89 | mes "found northeast"; |
---|
| 90 | mes "from the Geffen Tower."; |
---|
| 91 | if (.@compass_check) |
---|
| 92 | viewpoint 1,138,138,6,0xFF00FF; |
---|
| 93 | break; |
---|
| 94 | case 6: |
---|
| 95 | mes "[Geffen Guide]"; |
---|
| 96 | mes "The Inn can be"; |
---|
| 97 | mes "found by traveling"; |
---|
| 98 | mes "northeast from the"; |
---|
| 99 | mes "center of Geffen."; |
---|
| 100 | if (.@compass_check) |
---|
| 101 | viewpoint 1,172,174,7,0xFF00FF; |
---|
| 102 | break; |
---|
| 103 | case 7: |
---|
| 104 | mes "[Geffen Guide]"; |
---|
| 105 | mes "Geffen Tower is found"; |
---|
| 106 | mes "in the center of the city."; |
---|
| 107 | mes "The Wizard Guild is at the"; |
---|
| 108 | mes "top, and there's even a dungeon"; |
---|
| 109 | mes "underneath it. There's many a"; |
---|
| 110 | mes "mystery surrounding that tower..."; |
---|
| 111 | if (.@compass_check) |
---|
| 112 | viewpoint 1,120,114,8,0x00FF00; |
---|
| 113 | break; |
---|
| 114 | case 8: |
---|
| 115 | mes "[Geffen Guide]"; |
---|
| 116 | mes "Please ask me to ''Remove"; |
---|
| 117 | mes "Marks from Mini-Map'' if you"; |
---|
| 118 | mes "no longer wish to have the"; |
---|
| 119 | mes "location marks displayed"; |
---|
| 120 | mes "on your Mini-Map."; |
---|
| 121 | set .@loop2,0; |
---|
| 122 | break; |
---|
| 123 | } |
---|
| 124 | } |
---|
| 125 | break; |
---|
| 126 | case 2: |
---|
| 127 | viewpoint 2,237,41,2,0xFF0000; |
---|
| 128 | viewpoint 2,237,41,3,0x00FF00; |
---|
| 129 | viewpoint 2,46,345,4,0xFF00FF; |
---|
| 130 | viewpoint 2,175,220,5,0xFF00FF; |
---|
| 131 | viewpoint 2,134,221,6,0xFF00FF; |
---|
| 132 | viewpoint 2,204,214,7,0xFF00FF; |
---|
| 133 | viewpoint 2,204,214,8,0x00FF00; |
---|
| 134 | set .@compass_check,0; |
---|
| 135 | break; |
---|
| 136 | case 3: |
---|
| 137 | mes "[Geffen Guide]"; |
---|
| 138 | mes "Advances in sorcery and"; |
---|
| 139 | mes "technology have allowed"; |
---|
| 140 | mes "us to update our information"; |
---|
| 141 | mes "system, enabling up to mark"; |
---|
| 142 | mes "locations on your Mini-Map"; |
---|
| 143 | mes "for easier navigation."; |
---|
| 144 | next; |
---|
| 145 | mes "[Geffen Guide]"; |
---|
| 146 | mes "Your Mini-Map is located"; |
---|
| 147 | mes "in the upper right corner"; |
---|
| 148 | mes "of the screen. If you can't"; |
---|
| 149 | mes "see it, press the Ctrl + Tab"; |
---|
| 150 | mes "keys or click the ''Map'' button in your Basic Info Window."; |
---|
| 151 | next; |
---|
| 152 | mes "[Geffen Guide]"; |
---|
| 153 | mes "On your Mini-Map,"; |
---|
| 154 | mes "click on the ''+'' and ''-''"; |
---|
| 155 | mes "symbols to zoom in and"; |
---|
| 156 | mes "our of your Mini-Map. We"; |
---|
| 157 | mes "hope you enjoy your travels"; |
---|
| 158 | mes "here in the city of Geffen."; |
---|
| 159 | break; |
---|
| 160 | case 4: |
---|
| 161 | mes "[Geffen Guide]"; |
---|
| 162 | mes "Alright, adventurer."; |
---|
| 163 | mes "I wish you safety on"; |
---|
| 164 | mes "your journeys through"; |
---|
| 165 | mes "the lands you may travel..."; |
---|
| 166 | close2; |
---|
| 167 | set .@loop1,0; |
---|
| 168 | } |
---|
| 169 | } |
---|
| 170 | cutin "gef_soldier",255; |
---|
| 171 | end; |
---|
| 172 | } |
---|
| 173 | |
---|
| 174 | geffen,118,62,0 duplicate(GefGuide) Guide#2gef 705 |
---|