[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Baphomet Jr. taming item quest. |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= eAthena Dev Team |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.1 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena 1.0 |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= Book of Devil (MISC_QUEST | 256) |
---|
| 11 | //===== Additional Comments: ================================= |
---|
| 12 | //= 1.0 ???? |
---|
| 13 | //= 1.1 Optimized Book of Devil quest. used bit-wise var. [Lupus] |
---|
| 14 | //============================================================ |
---|
| 15 | |
---|
| 16 | //============================================================= |
---|
| 17 | //Quest for Book of Devil |
---|
| 18 | //============================================================= |
---|
| 19 | niflheim,184,199,5 script Little Girl#02 793,{ |
---|
| 20 | mes "[Sairin]"; |
---|
| 21 | if(MISC_QUEST & 256){ |
---|
| 22 | mes "Thanks again!"; |
---|
| 23 | close; |
---|
| 24 | } |
---|
| 25 | if(@niflheimlost == 2){ |
---|
| 26 | mes "You found him?"; |
---|
| 27 | mes "Oh thank you!"; |
---|
| 28 | mes "Please, take this as a token of my appreciation."; |
---|
| 29 | getitem 642,1;//Items: Book of Devil, |
---|
| 30 | set MISC_QUEST,MISC_QUEST | 256; |
---|
| 31 | set @niflheimlost,0; |
---|
| 32 | close; |
---|
| 33 | } |
---|
| 34 | if(@niflheimlost == 1){ |
---|
| 35 | M_YES: |
---|
| 36 | set @niflheimlost,1; |
---|
| 37 | mes "Please find him and tell him where I am! I saw him last in Niflheim Field, the first one..."; |
---|
| 38 | close; |
---|
| 39 | } |
---|
| 40 | mes "Sir, will you please help me?"; |
---|
| 41 | if(BaseJob==Job_Novice){ |
---|
| 42 | mes "Oh... you are lost, too..."; |
---|
| 43 | close; |
---|
| 44 | } |
---|
| 45 | next; |
---|
| 46 | menu "Yes",-, "No",M_NO; |
---|
| 47 | |
---|
| 48 | mes "[Sairin]"; |
---|
| 49 | mes "My friend and I went for a hike and ended up wandering into a strange field."; |
---|
| 50 | next; |
---|
| 51 | mes "[Sairin]"; |
---|
| 52 | mes "Suddenly, I found a doll. I picked it up, and it turned into a ghost!"; |
---|
| 53 | next; |
---|
| 54 | mes "[Sairin]"; |
---|
| 55 | mes "I screamed and ran as fast as I could. When I stopped running, I ended up in this strange town.."; |
---|
| 56 | next; |
---|
| 57 | mes "[Sairin]"; |
---|
| 58 | mes "No one here will help me, and there are ghosts everywhere! Could you help me find my friend?"; |
---|
| 59 | next; |
---|
| 60 | menu "Sure",M_YES, "No",M_NO; |
---|
| 61 | M_NO: |
---|
| 62 | close; |
---|
| 63 | } |
---|
| 64 | |
---|
| 65 | nif_fild01,213,268,5 script Little Boy 797,{ |
---|
| 66 | if(MISC_QUEST & 256){ |
---|
| 67 | L_DONE: |
---|
| 68 | set @niflheimlost,2; |
---|
| 69 | mes "[Marius]"; |
---|
| 70 | mes "Thank you for helping us!"; |
---|
| 71 | close; |
---|
| 72 | } |
---|
| 73 | if(@niflheimlost == 2) goto L_PART2; |
---|
| 74 | if(@niflheimlost == 1){ |
---|
| 75 | mes "[Marius]"; |
---|
| 76 | mes "Who are you?"; |
---|
| 77 | mes "..."; |
---|
| 78 | mes "You found Sairin?"; |
---|
| 79 | mes "She ran to Niflheim?"; |
---|
| 80 | next; |
---|
| 81 | L_PART2: |
---|
| 82 | mes "[Marius]"; |
---|
| 83 | mes "Could you tell her that I am on my way?"; |
---|
| 84 | mes "I am a little slow, and its very important that she knows."; |
---|
| 85 | next; |
---|
| 86 | menu "Yes",L_DONE, "No",-; |
---|
| 87 | close; |
---|
| 88 | } |
---|
| 89 | mes "[Marius]"; |
---|
| 90 | mes "Sairin... where are you?"; |
---|
| 91 | close; |
---|
| 92 | } |
---|