[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Quest NPCs related to Aldebaran |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= eAthena Dev Team |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.2 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena 7.15 + |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= 'Doctor Band', 'Feather Bonnet', 'Opera Masque', 'Sakkat Hat' Quests. |
---|
| 11 | //===== Additional Comments: ================================= |
---|
| 12 | //= Fully working |
---|
| 13 | //= 1.1 Fixed Doctor Band items [Lupus] |
---|
| 14 | //= 1.2 Removed Duplicates [Silent] |
---|
| 15 | //============================================================ |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | //=======================================================================================================// |
---|
| 19 | // 'Doctor Band', 'Feather Bonnet', 'Opera Masque', 'Sakkat Hat' Quest |
---|
| 20 | //=======================================================================================================// |
---|
| 21 | aldeba_in,152,166,4 script Trader#01 86,{ |
---|
| 22 | mes "[Trader]"; |
---|
| 23 | mes "Muhahaha! I am the Very Famous Enigmatic Dealer! I am always hustling and bustling in and out of Rune Midgard!"; |
---|
| 24 | mes "Take a look at my RARE and UNIQUE items from ALL OVER the WORLD!!"; |
---|
| 25 | next; |
---|
| 26 | mes "(1) · ^3355FFDoctor Band^000000 :"; |
---|
| 27 | mes "^FF55331 Red Bandana + 50 Iron + 1 Cracked Diamond + 3500 Zeny^000000."; |
---|
| 28 | mes "(2) · ^3355FFFeather Bonnet^000000 :"; |
---|
| 29 | mes "^FF55331 Romantic Gent + 300 Feather of Birds + 500 Zeny^000000."; |
---|
| 30 | mes "(3) · ^3355FFOpera Masque^000000 :"; |
---|
| 31 | mes "^FF553320 Iron + 1 Singing Plant + 5000 Zeny^000000."; |
---|
| 32 | mes "(4) · ^3355FFSakkat Hat^000000 :"; |
---|
| 33 | mes "^FF5533120 Trunk + 10000 Zeny^000000."; |
---|
| 34 | next; |
---|
| 35 | menu "Doctor Band",-, "Feather Bonnet",M_1, "Opera Masque",M_2, "Sakkat",M_3; |
---|
| 36 | |
---|
| 37 | mes "[Trader]"; |
---|
| 38 | if(countitem(2275) == 0 || countitem(998) < 50 || countitem(733) == 0 || Zeny < 3500) goto L_CantMake; |
---|
| 39 | delitem 2275,1;//Items: Red Bandana, |
---|
| 40 | delitem 998,50;//Items: Iron, |
---|
| 41 | delitem 733,1;//Items: Cracked deamond |
---|
| 42 | set Zeny,Zeny - 3500; |
---|
| 43 | mes "Hmm.... Do you have a.... MEDICAL LICENSE?!"; |
---|
| 44 | emotion e_what; |
---|
| 45 | next; |
---|
| 46 | mes "[Trader]"; |
---|
| 47 | mes "I've heard about a well-known unlicensed physician 'Cuwaki'... I hope you don't get caught...."; |
---|
| 48 | mes "Anyways it's your own buisness what you do... Take this."; |
---|
| 49 | getitem 2273,1;//Items: Doctor Band, |
---|
| 50 | close; |
---|
| 51 | M_1: |
---|
| 52 | mes "[Trader]"; |
---|
| 53 | if(countitem(2247) == 0 || countitem(916) < 300 || Zeny < 500) goto L_CantMake;//Items: Romantic Gent, Feather of Birds, |
---|
| 54 | delitem 2247,1;//Items: Romantic Gent, |
---|
| 55 | delitem 916,300;//Items: Feather of Birds, |
---|
| 56 | set Zeny,Zeny - 500; |
---|
| 57 | mes "Umhahaha. You have good fashion sense. I know you had a hard time collecting these items, but this bonnet is definately worth it. Take it."; |
---|
| 58 | emotion e_heh; |
---|
| 59 | getitem 5018,1;//Items: Feather Bonnet, |
---|
| 60 | close; |
---|
| 61 | M_2: |
---|
| 62 | mes "[Trader]"; |
---|
| 63 | if(countitem(998) < 20 || countitem(707) == 0 || Zeny < 5000) goto L_CantMake;//Items: Iron, Singing Plant, |
---|
| 64 | delitem 998,20;//Items: Iron, |
---|
| 65 | delitem 707,1;//Items: Singing Plant, |
---|
| 66 | set Zeny,Zeny - 5000; |
---|
| 67 | mes "This is a pretty nice item. A little bit creepy looking though.... I think it gives off some kinda weird vibe. What do you think?"; |
---|
| 68 | next; |
---|
| 69 | mes "[Trader]"; |
---|
| 70 | mes ".. You like it ..Alright.. Take it!"; |
---|
| 71 | getitem 2281,1;//Items: Opera Masque, |
---|
| 72 | close; |
---|
| 73 | M_3: |
---|
| 74 | mes "[Trader]"; |
---|
| 75 | if(countitem(1019) < 120 || Zeny < 10000) goto L_CantMake;//Items: Trunk, |
---|
| 76 | delitem 1019,120;//Items: Trunk, |
---|
| 77 | set Zeny,Zeny - 10000; |
---|
| 78 | mes "If you have a chance to visit the Village of Payon, please go meet the Sakkat Craftsman."; |
---|
| 79 | mes "He's never sold a Sakkat to any other dealer but to me."; |
---|
| 80 | next; |
---|
| 81 | mes "[Trader]"; |
---|
| 82 | mes "Because only I can recognize a Sakkat hats' quality. Due to the fact that it's so rare, the Sakkat Hat has become a very popular item!"; |
---|
| 83 | next; |
---|
| 84 | mes "[Trader]"; |
---|
| 85 | mes "OK! Take it!"; |
---|
| 86 | getitem 2280,1;//Items: Sakkat, |
---|
| 87 | close; |
---|
| 88 | |
---|
| 89 | L_CantMake: |
---|
| 90 | mes "You, fool! Check the requirements again..... you're not some kinda idiot are you? C'mon..... give me a break."; |
---|
| 91 | emotion e_an; |
---|
| 92 | close; |
---|
| 93 | } |
---|