summaryrefslogtreecommitdiff
path: root/npc/custom/quests/elvenear.txt
blob: cf468d68e5ac81f14144eb1504d4aed453aac8c5 (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
//===== Hercules Script ======================================
//= Daily Job Quest For Elven Ears
//===== By: ==================================================
//= someone
//===== Current Version: =====================================
//= 1.2
//===== Description: =========================================
//= Elven Ears (require 75+ Base Level)
//===== Additional Comments: =================================
//= Optimized [Lupus], 1.1 misc fix
//= 1.2 Fixed exploit [Lupus]
//============================================================

geffen,127,49,5	script	Elven Ears Quest	4_M_02,{
	mes "[Elven Ears Quest]";
	mes "Hi, today's quest is....";
	mes "Ah, the ^61B031Elven Ears ^000000Quest!";
	next;
	menu "Requirements",L_Bl, "Make Item",-,"Cancel",L_Cancel;

	mes "[Elven Ears quest]";
	mes "Good good, let me just check";
	next;
	if(countitem(Cat_Hairband)<1 || countitem(Elder_Pixie's_Beard)<20 || countitem(Animal's_Skin)<20) goto L_NoMake;
	delitem 2213,1;
	delitem 1040,20;
	delitem 919,20;
	mes "[Elven Ears quest]";
	mes "Give me a second.....";
	next;
	getitem 2286,1;
	mes "[Elven Ears Quest]";
	mes "Ok done!";
	close;

L_NoMake:
	mes "[Elven Ears Quest]";
	mes "You don't have the requirements.";
	mes "Please come back another time...";
	close;

L_Bl:
	mes "[Elven Ears Quest]";
	mes "Ok all you have to do is collect:";
	mes "^362ED61 Kitty Band^000000";
	mes "^362ED620 Elder Pixie Mustaches^000000";
	mes "and ^362ED620 Animal Skin^000000";
	next;
	menu "Accept",-, "Leave",L_Leave;

	mes "[Elven Ears Quest]";
	mes "When you are done, bring the items to me.  Ok good luck finding those items.";
	close;

L_Leave:
	mes "[Elven Ears quest]";
	mes "Maybe another time?";
	close;

L_Cancel:
	mes "[Elven Ears quest]";
	mes "Aw, what a shame";
	mes "Giving up already?";
	mes "Oh well maybe you will participate in tommorow's quest.";
	close;
}