[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Veins Guide |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= L0ne_W0lf |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.2 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena SVN |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= [iRO-Based] |
---|
| 11 | //= Veins City guide |
---|
| 12 | //===== Additional Comments: ================================= |
---|
| 13 | //= 1.0 First version. [L0ne_W0lf] |
---|
| 14 | //= 1.1 Added second Veins guide NPC. [L0ne_W0lf] |
---|
| 15 | //= 1.2 Fixed a few small typos. [L0ne_W0lf] |
---|
| 16 | //============================================================ |
---|
| 17 | |
---|
| 18 | veins,210,345,5 script Veins Guide#1::ve_guide 934,{ |
---|
| 19 | mes "[Veins Guide]"; |
---|
| 20 | mes "Desert City Veins welcomes adventurers seeking shelter from harsh sandstorms."; |
---|
| 21 | mes "If this is the first time for you to use the guide services, why don't you check the ..."; |
---|
| 22 | set .@loop1,1; |
---|
| 23 | while(.@loop1) { |
---|
| 24 | next; |
---|
| 25 | switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) { |
---|
| 26 | case 1: |
---|
| 27 | mes "[Veins Guide]"; |
---|
| 28 | mes "I can tell you any building location as long as it is in Veins."; |
---|
| 29 | mes "So where do you want to go?"; |
---|
| 30 | if (.@compass_check == 0) { |
---|
| 31 | mes "Would you like me"; |
---|
| 32 | mes "to mark locations"; |
---|
| 33 | mes "on your Mini-Map?"; |
---|
| 34 | next; |
---|
| 35 | if (select("Yes:No") == 1) set .@compass_check,1; |
---|
| 36 | } |
---|
| 37 | set .@loop2,1; |
---|
| 38 | while(.@loop2) { |
---|
| 39 | if (.@wait_button_chk == 0) set .@wait_button_chk,1; |
---|
| 40 | else next; |
---|
| 41 | |
---|
| 42 | switch(select("Temple:Inn:Weapon Shop:Tool Shop:Airship:Tavern:Geological Research Institute:Cancel")) { |
---|
| 43 | case 1: |
---|
| 44 | mes "[Veins Guide]"; |
---|
| 45 | mes "Our temple is located north,"; |
---|
| 46 | mes "and always crowded with sincere followers of Goddess Freya."; |
---|
| 47 | if (.@compass_check == 1) viewpoint 1,196,258,1,0xFF0000; |
---|
| 48 | break; |
---|
| 49 | case 2: |
---|
| 50 | mes "[Veins Guide]"; |
---|
| 51 | mes "You can rest your fatigue of the journey in the Inn."; |
---|
| 52 | mes "The left building next to me is the Inn of Veins."; |
---|
| 53 | if (.@compass_check == 1) viewpoint 1,128,266,2,0xFF00FF; |
---|
| 54 | break; |
---|
| 55 | case 3: |
---|
| 56 | mes "[Veins Guide]"; |
---|
| 57 | mes "Yes, you should protect yourself from danger on your own."; |
---|
| 58 | mes "Purchase high quality weapons at affordable prices."; |
---|
| 59 | mes "The Veins Weapon Shop is located to the West."; |
---|
| 60 | if (.@compass_check == 1) viewpoint 1,150,175,3,0x99FFFF; |
---|
| 61 | break; |
---|
| 62 | case 4: |
---|
| 63 | mes "[Veins Guide]"; |
---|
| 64 | mes "Have you packed enough necessities for your adventure?"; |
---|
| 65 | mes "If not, I suggest you check what the Veins in the Center can offer you."; |
---|
| 66 | if (.@compass_check == 1) viewpoint 1,230,161,4,0x0000FF; |
---|
| 67 | break; |
---|
| 68 | case 5: |
---|
| 69 | mes "[Veins Guide]"; |
---|
| 70 | mes "Please be aware that Veins only operates cargo airships."; |
---|
| 71 | if (.@compass_check == 1) viewpoint 1,273,285,5,0x00FF00; |
---|
| 72 | break; |
---|
| 73 | case 6: |
---|
| 74 | mes "[Veins Guide]"; |
---|
| 75 | mes "If you'd like to make friends with"; |
---|
| 76 | mes "the townspeople, I suggest you"; |
---|
| 77 | mes "go have a drink at the tavern to"; |
---|
| 78 | mes "the west."; |
---|
| 79 | if (.@compass_check == 1) viewpoint 1,150,217,6,0x00FF00; |
---|
| 80 | break; |
---|
| 81 | case 7: |
---|
| 82 | mes "[Veins Guide]"; |
---|
| 83 | mes "Are you interested in studying geology?"; |
---|
| 84 | mes "Then you'd better go check out the"; |
---|
| 85 | mes "Geological Research Institute on"; |
---|
| 86 | mes "the 2nd floor of the weapon shop."; |
---|
| 87 | if (.@compass_check == 1) viewpoint 1,150,175,7,0x00FF00; |
---|
| 88 | break; |
---|
| 89 | case 8: |
---|
| 90 | mes "[Veins Guide]"; |
---|
| 91 | mes "If you like to get rid of all the location marks on your Mini-Map,"; |
---|
| 92 | mes "just ask me again, and choose 'Remove Marks from Mini-Map' menu."; |
---|
| 93 | set .@loop2,0; |
---|
| 94 | break; |
---|
| 95 | } |
---|
| 96 | } |
---|
| 97 | break; |
---|
| 98 | |
---|
| 99 | case 2: |
---|
| 100 | viewpoint 2,196,258,1,0xFF0000; |
---|
| 101 | viewpoint 2,128,266,2,0xFF00FF; |
---|
| 102 | viewpoint 2,150,175,3,0x99FFFF; |
---|
| 103 | viewpoint 2,230,161,4,0x0000FF; |
---|
| 104 | viewpoint 2,273,285,5,0x00FF00; |
---|
| 105 | viewpoint 2,150,217,6,0x00FF00; |
---|
| 106 | viewpoint 2,150,175,7,0x00FF00; |
---|
| 107 | mes "[Veins Guide]"; |
---|
| 108 | mes "Okay, they are gone now. If you have more locations to ask, just let me know."; |
---|
| 109 | mes "Enjoy your stay in Veins."; |
---|
| 110 | break; |
---|
| 111 | case 3: |
---|
| 112 | mes "[Veins Guide]"; |
---|
| 113 | mes "When you are using the ''Village Guide'' menu,"; |
---|
| 114 | mes "make sure that building locations will be marked on your mini-map at the upper right side of your screen."; |
---|
| 115 | mes "If you cannot see your mini-map, use the short cut key ''ctrl+tab'' or press the ''Map'' button on your basic information windows, okay?"; |
---|
| 116 | mes "And you can also zoom out your mini-map by using the ''-'' button in case you cannot view the entire map of the village."; |
---|
| 117 | break; |
---|
| 118 | case 4: |
---|
| 119 | mes "[Veins Guide]"; |
---|
| 120 | mes "Enjoy your stay in Veins."; |
---|
| 121 | close2; |
---|
| 122 | set .@loop1,0; |
---|
| 123 | break; |
---|
| 124 | } |
---|
| 125 | } |
---|
| 126 | close; |
---|
| 127 | } |
---|
| 128 | |
---|
| 129 | veins,189,101,5 duplicate(ve_guide) Veins Guide#2 934 |
---|