summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/old_blacksmith.txt
blob: 12ad6e4a777b650e819fd0c889a10585c179ebde (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
//===== eAthena Script ======================================= 
//= Angel & Devil Ears Quests
//===== By: ================================================== 
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: ===================================== 
//= 1.2
//===== Compatible With: ===================================== 
//= Any eAthena Version.
//===== Description: ========================================= 
//= Seperate Ears Of Angel & Ears Of Demon quests.
//===== Additional Comments: ================================= 
//= 1.2 Fixed wrong labels, added missing text, wrong ID! [Lupus]
//============================================================

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 Devil!",M_EOD,"Give me the Ears of Angel!",M_EOA,"Nothing, thanks",M_EXIT;

M_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?",M_EODREQ,"Nothing",M_EXIT;

 if ((countitem(2255) < 1) || (countitem(2286) < 1) || (Zeny < 20000)) GOTO L_NOITEM_EOD;//Items: Evil Wing, Elven Ears,
 mes "[Old Blacksmith]";
 mes "Wow, never thought a little fella like you could get tha.t";
 mes "Bwahaha, ok.";
 next;
 delitem 2255,1;//Items: Evil Wing,
 delitem 2286,1;//Items: Elven Ears,
 set Zeny,Zeny-20000;
 getitem 5068,1;//Items: Ears Of Demon,
 mes "[Old Blacksmith]";
 mes "Well, enjoy your item!";
 close;

L_NOITEM_EOD:
 mes "[Old Blacksmith]";
 mes "Well sorry, but you dont have enough items!";
 next;

M_EODREQ:
 mes "[Old Blacksmith]";
 mes "Well, let's see...";
 mes "I need something for the evil, that be an Evil Wing,";
 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;

M_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?",M_EOAREQ,"Nothing",M_EXIT;

 if ((countitem(2286) < 1) || (countitem(2254) < 1) || (Zeny < 20000)) GOTO L_NOITEM_EOA;//Items: Elven Ears, Angel Wing,
 mes "[Old Blacksmith]";
 mes "Well well well! Someone who has the spirit!";
 mes "Okay, gimme the items.";
 next;
 delitem 2286,1;//Items: Elven Ears,
 delitem 2254,1;//Items: Angel Wing,
 set Zeny,Zeny-20000;
 mes "[Old Blacksmith]";
 mes "Okay, and here you go.";
 next;
 getitem 5074,1;//Items: Ears of Angel,
 mes "[Old Blacksmith]";
 mes "Enjoy it!";
 close;

L_NOITEM_EOA:
 mes "[Old Blacksmith]";
 mes "Well sorry, but you dont have enough items!";
 next;

M_EOAREQ:
 mes "[Old Blacksmith]";
 mes "Well, this item is very holy, so I will need:";
 mes "1 Angel Wing (Angel Headband),";
 mes "1 Elven Ears for the ears,";
 mes "and 20,000z for the labour costs!";
 close;

M_EXIT:
 mes "[Old Blacksmith]";
 mes "Fair yee well!";
 close;
}