summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/old_blacksmith.txt
blob: 2ea20653bef8146743f8b3aa268774c628ed8ade (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
//===== eAthena Script ======================================= 
//= Angel & Devil Ears Quests
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.1
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate Angel & Devil Ears quests.
//===== Additional Comments: ================================= 
//=
//============================================================

yuno.gat,246,51,4	script	Old Blacksmith	813,{
 mes "[Old Blacksmith]";
 mes "Well then my good man!";
 mes "What can I do for you?";
	next;
	 menu "Give me the ears of a devil!",EOD,"Give me the ears of an angel!",EOA;
EOD:
 mes "[Old Blacksmith]";
 mes "Well, this item sure makes you look like a evil bastard.";
 mes "It makes me crap in my pants when I see these.";
	next;
	 menu "Dont care, make me the Item!",-,"What are the requirements?",EODREQ,"Nothing",EXT;
		if ((countitem(5038) < 1) || (countitem(2286) < 1) || (Zeny < 20000)) GOTO EX_REQ;
 mes "[Old Blacksmith]";
 mes "Wow, never thought a little fella like you could get tha.t";
 mes "Bwahaha, ok.";
	next;
		delitem 5038,1;
		delitem 2286,1;
		set Zeny,Zeny-20000;
		getitem 5068,1;
 mes "[Old Blacksmith]";
 mes "Well, enjoy your item!";
	close;
EOA:
 mes "[Old Blacksmith]";
 mes "Well, this item sure makes you look like a holy bastard.";
	next;
	 menu "Dont care, make me the Item!",-,"What are the requirements?",EOAREQ,"Nothing",EXT;
		if ((countitem(2286) < 1) || (countitem(2254) < 1) || (Zeny < 20000)) GOTO EX_REQ_A;
 mes "[Old Blacksmith]";
 mes "Well well well! Someone who has the spirit!";
 mes "Okay, gimme the items.";
	next;
		delitem 2286,1;
		delitem 2254,1;
		set Zeny,Zeny-20000;
 mes "[Old Blacksmith]";
 mes "Okay, and here you go.";
	next;
		getitem 5066,1;
 mes "[Old Blacksmith]";
 mes "Enjoy it!";
	close;
EAOREQ:
 mes "[Old Blacksmith]";
 mes "Well, this item is very holy, so I will need:";
 mes "1 Angel Wing/Angel Hheadband,";
 mes "1 Elven Ears for the ears,";
 mes "and 20,000z for the labour costs!";
	close;
EODREQ:
 mes "[Old Blacksmith]";
 mes "Well, let's see...";
 mes "I need something for the evil, that be a Deviruchi Cap,";
 mes "I also need the ears for the base of it, Elven Ears would be OK,";
 mes "Last of all, I need 20,000 Zeny for me troubles.";
	next;
 mes "[Old Blacksmith]";
 mes "Hey, I have to make a living!";
	close;
EX_REQ:
 mes "[Old Blacksmith]";
 mes "Well sorry, but you dont have enough items!";
	next;
	 GOTO EODREQ;
EX_REQ_A:
 mes "[Old Blacksmith]";
 mes "Well sorry, but you dont have enough items!";
	next;
	 GOTO EOAREQ;
EXT:
 mes "[Old Blacksmith]";
 mes "Fair yee well!";
	close;
}