summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/hat_seller.txt
blob: 970c84eea5245526e578d5cfbb2d7197da7991da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
//===== eAthena Script ======================================= 
//= Hat Seller (New Hat Quests)
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.1
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate New Hat quests.
//===== Additional Comments: ================================= 
//=
//============================================================

xmas_in.gat,123,131,4	script	Hat Seller	806,{
 mes "[Hat Seller]";
 mes "What hat would you like information on?";
 mes "I can make all the hats I mention here";
	next;
	 menu "Pointy Cap",M1,"Straw Hat",M2,"Cowboy Hat",M3,"Sombrero",M4,"Furry Hat",M5;
M1:
 mes "[Hat Seller]";
 mes "Okay well, for this item I require:";
 mes "1 Santa Hat,";
 mes "100 Waxed/Slick paper,";
 mes "100 Oily Paper.";
	next;
 mes "[Hat Seller]";
 mes "You got these items?";
	next;
	 menu "Yes.",-,"No.",EXT;
		if ((Countitem(2236) < 1) || (countitem(7111) < 100) || (countitem(7151) < 100)) GOTO EXT_NI;
		delitem 2236,1;
		delitem 7111,100;
		delitem 7151,100;
		getitem 5060,1;
 mes "[Hat Seller]";
 mes "Thanks! Bye.";
	close;
EX_NI:
 mes "[Hat Seller]";
 mes "Not enough items, bye.";
	close;
EXT:
 mes "[Hat Seller]";
 mes "Bye!";
	close;
M2:
 mes "[Hat Seller]";
 mes "For this item I require:";
 mes "1 Sakkat,";
 mes "300 Tough Branches,";
 mes "300 Bamboo Pieces.";
	next;
 mes "[Hat Seller]";
 mes "Bring those, and we got a deal.";
 mes "You got them?";
	next;
	 menu "Yes.",-,"No.",EXT;
		if ((countitem(2280) < 1) || (countitem(7203) < 300) || (countitem(7150) < 300)) GOTO EX_NI;
		delitem 2280,1;
		delitem 7203,300;
		delitem 7150,300;
		getitem 5062,1;
 mes "[Hat Seller]";
 mes "There you go... bye.";
	close;
M3:
 mes "[Hat Seller]";
 mes "For this item I require:";
 mes "1 Western Grace,";
 mes "108 Desert Wolf Claws,";
 mes "108 Soft Grass,";
 mes "and 4 Burning Horseshoes.";
	next;
 mes "[Hat Seller]";
 mes "Bring those, and we got a deal.";
 mes "You got them?";
	next;
	 menu "Yes.",-,"No.",EXT;
		if ((countitem(2248) < 1) || (countitem(7030) < 108) || (countitem(7194) < 108) || (countitem(7120) < 4)) GOTO EX_NI;
		delitem 2248,1;
		delitem 7030,108;
		delitem 7194,108;
		getitem 5075,1;
 mes "[Hat Seller]";
 mes "There you go... bye.";
	close;
M4:
 mes "[Hat Seller]";
 mes "For this item I require:";
 mes "1 Straw Hat,";
 mes "1 Guitar,";
 mes "50 Cactus Needle.";
	next;
 mes "[Hat Seller]";
 mes "Bring those, and we got a deal.";
 mes "You got them?";
	next;
	 menu "Yes.",-,"No.",EXT;
		if ((countitem(5062) < 1) || (countitem(1907) < 1) || (countitem(952) < 50)) GOTO EX_NI;
		delitem 5062,1;
		delitem 1907,1;
		delitem 952,300;
		getitem 5067,1;
 mes "[Hat Seller]";
 mes "There you go... bye.";
	close;
M5:
 mes "[Hat Seller]";
 mes "For this item I require:";
 mes "1 Cap,";
 mes "500 Bear Fur.";
	next;
 mes "[Hat Seller]";
 mes "Bring those, and we got a deal.";
 mes "You got them?";
	next;
	 menu "Yes.",-,"No.",EXT;
		if ((countitem(2227) < 1) || (countitem(7161) < 300)) GOTO EX_NI;
		delitem 2227,1;
		delitem 7161,300;
		getitem 5076,1;
 mes "[Hat Seller]";
 mes "There you go... bye.";
	close;
}