[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Treasure Hunter Script |
---|
| 3 | //===== Converted By ========================================= |
---|
| 4 | //= Fredzilla |
---|
| 5 | //= Original |
---|
| 6 | ////////////////////////////////////////////////////////////// |
---|
| 7 | // Treasure Hunter Quests // |
---|
| 8 | // By: Ezekial // |
---|
| 9 | // for the use on nRO run by Newbe5 // |
---|
| 10 | // revised By Warlock // |
---|
| 11 | ////////////////////////////////////////////////////////////// |
---|
| 12 | //===== Version ============================================== |
---|
| 13 | //= 1.0 - Straight conversion of Aegis NPC file |
---|
| 14 | //===== Compatible With ====================================== |
---|
| 15 | //= eAthena 1.0 |
---|
| 16 | //===== Description ========================================== |
---|
| 17 | //= Start for Treasure hunter quests |
---|
| 18 | //===== Comments ============================================= |
---|
| 19 | //= Event_THQS - Used to check if you have already registered |
---|
| 20 | //= #Treasure_Token - used to keep track of tokens |
---|
| 21 | //============================================================ |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | //Entrance Flags |
---|
| 25 | yuno,48,101,6 script Notice 722,{ |
---|
| 26 | mes "^FF0000[ Treasure Hunter Guild House ]^000000"; |
---|
| 27 | mes " "; |
---|
| 28 | mes "Welcome to the Treasure Hunter's Guild House."; |
---|
| 29 | mes "Feel free to drop in and look around"; |
---|
| 30 | mes "and feel free to become a memeber if you wish."; |
---|
| 31 | mes " "; |
---|
| 32 | mes "For membership applications please talk to Keegan"; |
---|
| 33 | mes "up the stairs and down the hall."; |
---|
| 34 | close; |
---|
| 35 | } |
---|
| 36 | //Saver Girl; |
---|
| 37 | yuno_in01,32,178,3 script Ahlma 94,{ |
---|
| 38 | mes "[Ahlma]"; |
---|
| 39 | if (Event_THQS == 0) goto N_Member; |
---|
| 40 | mes "Welcome to The Treasure Hunter Guild."; |
---|
| 41 | mes "How may I help you?"; |
---|
| 42 | next; |
---|
| 43 | menu "Save",-,"Quit",N_Quit; |
---|
| 44 | mes "[Ahlma]"; |
---|
| 45 | mes "Ok, saved. Thank you ~ See you soon~"; |
---|
| 46 | savepoint "yuno_in01",34,176; |
---|
| 47 | close; |
---|
| 48 | N_Quit: |
---|
| 49 | mes "[Ahlma]"; |
---|
| 50 | mes "Well if you think you are safe, good on you."; |
---|
| 51 | close; |
---|
| 52 | N_Member: |
---|
| 53 | mes "Sorry, members only."; |
---|
| 54 | close; |
---|
| 55 | } |
---|
| 56 | //Retired Smile mask girl; |
---|
| 57 | yuno_in01,33,162,3 script Smile Helper 92,{ |
---|
| 58 | mes "[Smile Gal]"; |
---|
| 59 | mes "Oh man...I am so sick of"; |
---|
| 60 | mes "trading Mr. Smile masks for crap."; |
---|
| 61 | mes " "; |
---|
| 62 | mes "You ask me for one and you'll find yourself 10 pounds lighter!"; |
---|
| 63 | close; |
---|
| 64 | } |
---|
| 65 | //Usless Female Assasin; |
---|
| 66 | yuno_in01,22,162,6 script Female Assasin 725,{ |
---|
| 67 | mes "[Sharlet]"; |
---|
| 68 | if (Event_THQS > 0) goto N_Member; |
---|
| 69 | mes "Umm sorry I'm not gona waste my time talking to you if you arn't even a member!"; |
---|
| 70 | close; |
---|
| 71 | N_Member: |
---|
| 72 | set @TEMP,rand(1,2); |
---|
| 73 | if (@TEMP == 1) goto N_Chat1; |
---|
| 74 | if (@TEMP == 2) goto N_Chat2; |
---|
| 75 | mes "How are you reading this???"; |
---|
| 76 | mes "Well unless you are reading the code :)"; |
---|
| 77 | close; |
---|
| 78 | N_Chat1: |
---|
| 79 | mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(0)+"."; |
---|
| 80 | mes "Did you hear about that brave man that went into Glast Heim alone?! He must be crazy."; |
---|
| 81 | close; |
---|
| 82 | N_Chat2: |
---|
| 83 | mes ""+strcharinfo(0)+" don't you have something better you could be doing? Like a quest."; |
---|
| 84 | close; |
---|
| 85 | } |
---|
| 86 | //another usless member |
---|
| 87 | yuno_in01,25,162,6 script Female Wizard 123,{ |
---|
| 88 | mes "[Sasha]"; |
---|
| 89 | if (Event_THQS > 0) goto N_Member; |
---|
| 90 | mes "Umm sorry I'm not gona waste my time talking to you if you arn't even a member!"; |
---|
| 91 | close; |
---|
| 92 | N_Member: |
---|
| 93 | set @TEMP,rand(2); |
---|
| 94 | if (@TEMP == 1) goto N_Chat; |
---|
| 95 | mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(0)+"."; |
---|
| 96 | mes "Did you hear about that goat man running around in the trees?"; |
---|
| 97 | mes " "; |
---|
| 98 | mes "Aperently his name is Baphomet and he has been runing around the Forest Maze out side of prontera for quite some time now."; |
---|
| 99 | close; |
---|
| 100 | N_Chat: |
---|
| 101 | mes ""+strcharinfo(0)+" don't you have something better you could be doing? Like a quest."; |
---|
| 102 | close; |
---|
| 103 | } |
---|