root/npc/custom/quests/may_hats.txt @ 1

Revision 1, 5.6 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Quests: Bird Nest, Lion Mask, Skeleton Manteau,
3//=             Fashion Hip Sack & Sales Banner
4//===== By: ==================================================
5//= Lupus
6//===== Current Version: =====================================
7//= 1.01
8//===== Compatible With: =====================================
9//= eAthena 1.0
10//===== Description: =========================================
11//= Custom quest for some RO mobile game bonus items
12//===== Additional Comments: =================================
13//= 1 May, 2006
14//= 1.01 translated the rest of dialogues
15//============================================================
16
17gonryun,187,140,4       script  Yakima  850,{
18 mes "[Yakima]";
19 mes callfunc("F_Hi");
20 mes "I can make some items for you.";
21 mes "They are quite rare novadays...";
22 specialeffect 417;
23 next;
24 menu "Bird Nest",-,"Lion Mask",M_2,"Skeleton Manteau",M_3,"Fashion Hip Sack",M_4,"Sales Banner",M_5,"Leave",M_EXIT;
25
26 mes "[Yakima]";
27 mes "Oh.. it's an excellent item for any beast hunter.";
28 emotion e_rock;
29 next;
30 mes "[Yakima]";
31 mes "For the hat I'll need:";
32 mes "1 Sombrero,";
33 mes "920 Feathers of Birds and";
34 mes "310 Bills of Birds.";
35 next;
36 mes "[Yakima]";
37 mes "Do you have all the items?";
38 next;
39 menu "Yeah.",-,"Nay.",M_EXIT;
40 
41 if(countitem(5067) < 1 || countitem(916) < 920 || countitem(925) < 310) GOTO L_NOITEM;//Items: Sombrero, Feather_of_Birds, Bill_of_Birds,
42 delitem 5067,1;//Items: Sombrero,
43 delitem 916,920;//Items: Feather_of_Birds,
44 delitem 925,310;//Items: Bill_of_Birds,
45 getitem 5129,1;//Items: Bird_Nest,
46 mes "[Yakima]";
47 mes "Thank you very very much!";
48 mes callfunc("F_Bye");
49 close;
50
51M_2:
52 mes "[Yakima]";
53 mes "Bingo! Many people are afraid of lions... to the muteness...";
54 emotion e_slur;
55 next;
56 mes "[Yakima]";
57 mes "For the hat I'll need:";
58 mes "1 Tiger Mask,";
59 mes "10 Tiger's Footskins,";
60 mes "30 Tiger Skins and";
61 mes "300 Tiger Panties.";
62 next;
63 mes "[Yakima]";
64 mes "Do you have all the items?";
65 next;
66 menu "Yeah.",-,"Nay.",M_EXIT;
67 
68 if(countitem(5098) < 1 || countitem(1030) < 10 || countitem(1029) < 30 || countitem(7267) < 300) GOTO L_NOITEM;//Items: Tiger_Mask, Tiger_Skin, Tiger's_Footskin, Tiger_Panty,
69 delitem 5098,1;//Items: Tiger_Mask,
70 delitem 1030,10;//Items: Tiger's_Footskin,
71 delitem 1029,30;//Items: Tiger_Skin,
72 delitem 7267,300;//Items: Tiger_Panty,
73 getitem 5130,1;//Items: Lion_Mask,
74 mes "[Yakima]";
75 mes "Thank you very very much!";
76 mes callfunc("F_Bye");
77 close;
78
79M_3:
80 mes "[Yakima]";
81 mes "I wish I sold this filthy manteau faster...";
82 mes "Guess it isn't so plain as it looks... Hmm.";
83 emotion e_wah;
84 next;
85 mes "[Yakima]";
86 mes "I'm giving it almost for free:";
87 mes "10 Old Manteaus,";
88 mes "3 Skull Rings,";
89 mes "2 Manteau[1] and";
90 mes "1 Ragamuffin Manteau.";
91 next;
92 mes "[Yakima]";
93 mes "Do you have all the items?";
94 next;
95 menu "Yeah.",-,"Nay.",M_EXIT;
96 
97 if(countitem(2508) < 1 || countitem(2506) < 2 || countitem(2609) < 3 || countitem(7207) < 10) GOTO L_NOITEM;//Items: Ragamuffin_Manteau, Manteau_, Skull_Ring, Old_Manteau,
98 delitem 2508,1;//Items: Ragamuffin_Manteau,
99 delitem 2506,2;//Items: Manteau_,
100 delitem 2609,3;//Items: Skull_Ring,
101 delitem 7207,10;//Items: Old_Manteau,
102 getitem 2511,1;//Items: Skeleton_Manteau,
103 mes "[Yakima]";
104 mes "Thank you very very much!";
105 mes callfunc("F_Bye");
106 close;
107
108M_4:
109 mes "[Yakima]";
110 mes "It's a fresh style! Ancessory and a bag all in one! You'd get +2 STR... It's different from that sabby nest!";
111 mes "It fits to Merchant classonly.";
112 emotion e_heh;
113 next;
114 mes "[Yakima]";
115 mes "Now my stock is full of those bags... So I'll make it from 3 flower things and a rough piece of clothes:";
116 mes "3 Romantic Flowers,";
117 mes "3 Fancy Flowers,";
118 mes "2 Flower Rings and";
119 mes "3 Pirate Bandanas.";
120 next;
121 mes "[Yakima]";
122 mes "Do you have all the items?";
123 next;
124 menu "Yeah.",-,"Nay.",M_EXIT;
125 
126 if(countitem(2269) < 3 || countitem(2207) < 3 || countitem(2612) < 2 || countitem(2287)<3 ) GOTO L_NOITEM;//Items: Romantic_Flower, Fancy_Flower, Flower_Ring,
127 delitem 2269,3;//Items: Romantic_Flower,
128 delitem 2207,3;//Items: Fancy_Flower,
129 delitem 2612,2;//Items: Flower_Ring,
130 delitem 2287,3;//Items: Pirate_Bandana
131 getitem 2641,1;//Items: Fashion_Hip_Sack,
132 mes "[Yakima]";
133 mes "Thank you very very much!";
134 mes callfunc("F_Bye");
135 close;
136
137M_5:
138 mes "[Yakima]";
139 mes "Well, well, well... this sign fits any class from a certain level!";
140 mes "Your foes'd be dazzled!";
141 emotion e_no1;
142 next;
143 mes "[Yakima]";
144 mes "Well... we construct it from some common items:";
145 mes "1 Scarlet Dyestuffs,";
146 mes "1 Orange Dyestuffs,";
147 mes "2 Stop Posts,";
148 mes "3 Clown Noses,";
149 mes "180 Fig Leaves and";
150 mes "20 Solid Peaches.";
151 next;
152 mes "[Yakima]";
153 mes "Do you have all the items?";
154 next;
155 menu "Yeah.",-,"Nay.",M_EXIT;
156 
157 if(countitem(975) < 1 || countitem(980) < 1 || countitem(2272) < 2 || countitem(2262) < 3 || countitem(7298) < 180 || countitem(7164) < 20) GOTO L_NOITEM;//Items: Scarlet_Dyestuff, Orange_Dyestuff, Stop_Post, Clown_Nose, Fig_Leaf, Solid_Peach,
158 delitem 975,1;//Items: Scarlet_Dyestuff,
159 delitem 980,1;//Items: Orange_Dyestuff,
160 delitem 2272,2;//Items: Stop_Post,
161 delitem 2262,3;//Items: Clown_Nose,
162 delitem 7298,180;//Items: Fig_Leaf,
163 delitem 7164,20;//Items: Solid_Peach,
164 getitem 5100,1;//Items: Sales_Banner,
165 mes "[Yakima]";
166 mes "Thank you very very much!";
167 mes callfunc("F_Bye");
168 close;
169
170L_NOITEM:
171 mes "[Yakima]";
172 mes "You are lack of items. Please, get all the items.";
173 emotion e_sry;
174 close;
175
176M_EXIT:
177 mes "[Yakima]";
178 mes callfunc("F_Bye");
179 close;
180}
Note: See TracBrowser for help on using the browser.