[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Morroc 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 Morroc |
---|
| 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.3 Removed Duplicates [Silent] |
---|
| 17 | //= 1.4 rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
| 18 | //= 1.4a Fixed some errors with the loop[Samuray22] |
---|
| 19 | // -Thanks to $ephiroth. |
---|
| 20 | //============================================================ |
---|
| 21 | |
---|
| 22 | morocc,153,286,6 script Guide#moc::MocGuide 707,{ |
---|
| 23 | cutin "moc_soldier",2; |
---|
| 24 | mes "[Morroc Guide]"; |
---|
| 25 | mes "Welcome to Morroc,"; |
---|
| 26 | mes "the frontier town of the"; |
---|
| 27 | mes "Rune-Midgarts Kingdom."; |
---|
| 28 | mes "Please ask me for help if"; |
---|
| 29 | mes "you're having any trouble"; |
---|
| 30 | mes "finding anything in town."; |
---|
| 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 "[Morroc 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 | |
---|
| 52 | switch(select("^FF0000Thief Guild^000000:Weapon Shop:Inn:Pub:Mercenary Guild:Forge:Cancel")) { |
---|
| 53 | case 1: |
---|
| 54 | mes "[Morroc Guide]"; |
---|
| 55 | mes "The Thief Guild is"; |
---|
| 56 | mes "in charge of all Job"; |
---|
| 57 | mes "Changes to the Thief"; |
---|
| 58 | mes "Class. From what I hear,"; |
---|
| 59 | mes "you can find them inside"; |
---|
| 60 | mes "the Pyramids nearby..."; |
---|
| 61 | if (.@compass_check) |
---|
| 62 | viewpoint 1,24,297,2,0xFF0000; |
---|
| 63 | break; |
---|
| 64 | case 2: |
---|
| 65 | mes "[Morroc Guide]"; |
---|
| 66 | mes "The Weapon Shop"; |
---|
| 67 | mes "is in the southeast"; |
---|
| 68 | mes "end of Morroc."; |
---|
| 69 | if (.@compass_check) |
---|
| 70 | viewpoint 1,253,56,3,0xFF00FF; |
---|
| 71 | break; |
---|
| 72 | case 3: |
---|
| 73 | mes "[Morroc Guide]"; |
---|
| 74 | mes "There are Inns"; |
---|
| 75 | mes "where you can rest"; |
---|
| 76 | mes "at the southeast and"; |
---|
| 77 | mes "northeast ends of Morroc."; |
---|
| 78 | if (.@compass_check) { |
---|
| 79 | viewpoint 1,197,66,4,0xFF00FF; |
---|
| 80 | viewpoint 1,273,269,5,0xFF00FF; |
---|
| 81 | } |
---|
| 82 | break; |
---|
| 83 | case 4: |
---|
| 84 | mes "[Morroc Guide]"; |
---|
| 85 | mes "You can find the"; |
---|
| 86 | mes "Pub in northeast Morroc."; |
---|
| 87 | if (.@compass_check) |
---|
| 88 | viewpoint 1,52,259,6,0xFF00FF; |
---|
| 89 | break; |
---|
| 90 | case 5: |
---|
| 91 | mes "[Morroc Guide]"; |
---|
| 92 | mes "The Mercenary"; |
---|
| 93 | mes "Guild is located"; |
---|
| 94 | mes "in East Morroc."; |
---|
| 95 | if (.@compass_check) |
---|
| 96 | viewpoint 1,284,171,7,0x00FF00; |
---|
| 97 | break; |
---|
| 98 | case 6: |
---|
| 99 | mes "[Morroc Guide]"; |
---|
| 100 | mes "The Forge is"; |
---|
| 101 | mes "located just"; |
---|
| 102 | mes "southwest from"; |
---|
| 103 | mes "the center of Morroc."; |
---|
| 104 | if (.@compass_check) |
---|
| 105 | viewpoint 1,47,47,7,0xFF00FF; |
---|
| 106 | break; |
---|
| 107 | case 7: |
---|
| 108 | mes "[Morroc Guide]"; |
---|
| 109 | mes "Please ask me to ''Remove"; |
---|
| 110 | mes "Marks from Mini-Map'' if you"; |
---|
| 111 | mes "no longer wish to have the"; |
---|
| 112 | mes "location marks displayed"; |
---|
| 113 | mes "on your Mini-Map."; |
---|
| 114 | set .@loop2,0; |
---|
| 115 | } |
---|
| 116 | } |
---|
| 117 | break; |
---|
| 118 | case 2: |
---|
| 119 | viewpoint 2,237,41,2,0x00FF00; |
---|
| 120 | viewpoint 2,237,41,3,0x0000FF; |
---|
| 121 | viewpoint 2,46,345,4,0x00FF00; |
---|
| 122 | viewpoint 2,175,220,5,0xFF0000; |
---|
| 123 | viewpoint 2,175,220,6,0xFF0000; |
---|
| 124 | viewpoint 2,175,220,7,0xFF0000; |
---|
| 125 | set .@compass_check,0; |
---|
| 126 | break; |
---|
| 127 | case 3: |
---|
| 128 | mes "[Morroc Guide]"; |
---|
| 129 | mes "Advances in sorcery and"; |
---|
| 130 | mes "technology have allowed"; |
---|
| 131 | mes "us to update our information"; |
---|
| 132 | mes "system, enabling up to mark"; |
---|
| 133 | mes "locations on your Mini-Map"; |
---|
| 134 | mes "for easier navigation."; |
---|
| 135 | next; |
---|
| 136 | mes "[Morroc Guide]"; |
---|
| 137 | mes "Your Mini-Map is located"; |
---|
| 138 | mes "in the upper right corner"; |
---|
| 139 | mes "of the screen. If you can't"; |
---|
| 140 | mes "see it, press the Ctrl + Tab"; |
---|
| 141 | mes "keys or click the ''Map'' button in your Basic Info Window."; |
---|
| 142 | next; |
---|
| 143 | mes "[Morroc Guide]"; |
---|
| 144 | mes "On your Mini-Map,"; |
---|
| 145 | mes "click on the ''+'' and ''-''"; |
---|
| 146 | mes "symbols to zoom in and"; |
---|
| 147 | mes "our of your Mini-Map. We"; |
---|
| 148 | mes "hope you enjoy your travels"; |
---|
| 149 | mes "here in the city of Morroc."; |
---|
| 150 | break; |
---|
| 151 | case 4: |
---|
| 152 | mes "[Morroc Guide]"; |
---|
| 153 | mes "Alright then,"; |
---|
| 154 | mes "try to stay out of"; |
---|
| 155 | mes "too much trouble"; |
---|
| 156 | mes "out there, adventurer."; |
---|
| 157 | close2; |
---|
| 158 | set .@loop1,0; |
---|
| 159 | } |
---|
| 160 | } |
---|
| 161 | cutin "moc_soldier",255; |
---|
| 162 | end; |
---|
| 163 | } |
---|
| 164 | |
---|
| 165 | morocc,54,97,0 duplicate(MocGuide) Guide#2moc 707 |
---|