summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/fox_mask.txt
blob: 7f6a5eb8950cf0a499c0576b4680ff0e113fa2fc (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
//===== eAthena Script ======================================= 
//= Fox Mask Quest
//===== By: ================================================== 
//= KitsuneStarWind (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.2
//===== Compatible With: ===================================== 
//= Any eAthena version.
//===== Description: ========================================= 
// Seperate quest for the Fox Mask.
//===== Additional Comments: ================================= 
// 1.2 optimized [Lupus]
//============================================================

pay_dun04.gat,204,152,2	script	Nine Tail	1180,{
	mes "[Nine Tail]";
	mes "What do you want?";
	next;
	mes "[Nine Tail]";
	mes "Have you come here for a ^FF3300 Fox Mask^000000?";
	next;
	menu "Yeah, Sure.",-,"No",M_EXIT;

	mes "[Nine Tail]";
	mes "Fine then. If I make one for you, will you go away?";
	mes "You realize that it requires 999 Nine Tails to make, do you?";
	next;
	menu "Sure.",M_MAKE,"Nah.",-;

	mes "[Nine Tail]";
	mes "Grrrr... I'll make one anyway but I hope my master gets you.";
	next;
M_MAKE:
	mes "[Nine Tail]";
	mes "Ok then, I shall make one for you.";
	next;

	if (countitem(1022) < 999) goto L_NOITEM;//Items: Nine Tails,
	delitem 1022,999;//Items: Nine Tails,
	getitem 5069,1;//Items: Fox Mask,
	next;
	mes "[Nine Tails]";
	mes "Have fun.";
	close;

L_NOITEM:
	mes "[Nine Tail]";
	mes "You do not have have enough Nine Tails.";
	mes "You need 999 of them.";
	close;

M_EXIT:
	mes "[Nine Tail]";
	mes "Then leave me alone... I am waiting for my master.";
	close;
}