summaryrefslogtreecommitdiff
path: root/npc/quests/custom/kaho_balmung.txt
blob: c9e9682abc65e0ffec078f6aafe5a72401905425 (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
// $Id: kaho_balmung.txt,v 1.1.1.1 2004/09/10 17:26:46 MagicalTux Exp $
//-------------------- 'Balmung & Lord Kaho's Horns' Quest --------------------

prontera.gat,158,356,4	script	Royal Messenger	105,{
	mes "[Royal Messenger]";
	mes "Welcome to prontera, i am the Royal Messenger in charge of the royal quest.";
	next;
	menu "Listen",Lok,"No",Lend;
Lok:
	mes "[Royal Messenger]";
	mes "There are too quests please chose the one you must like.";
	next;
	menu "Balmung",Lb,"Lord Kahos horns",Lkahos,"No",Lend;
Lb:
	mes "[Royal Messenger]";
	mes "The Balmung quest consist of the next items:";
	mes "120 Steel";
	mes "10 Oridecon";
	mes "10 Rough Wind";
	mes "10 Flame Heart";
	mes "10 Mystic Frozen";
	mes "10 Great Nature";
	mes "1,000,000z";
	next;
	if(countitem(999)<120) goto Lend2;
	if(countitem(984)<10) goto Lend2;
	if(countitem(996)<10) goto Lend2;
	if(countitem(994)<10) goto Lend2;
	if(countitem(995)<10) goto Lend2;
	if(countitem(997)<10) goto Lend2;
	if(Zeny<1000000) goto NoGold;
	goto Lget;
	mes "[Royal Messenger]";
	mes "Happy item hunting and good luck";
	close;
Lkahos:
	mes "[Royal Messenger]";
	mes "The Lord Kahos horns quest consists of the next items:";
	mes "1 Green Feelers";
	mes "10 Star Dust";
	mes "10 Rough Wind";
	mes "10 Flame Heart";
	mes "10 Mystic Frozen";
	mes "10 Great Nature";
	mes "1,000,000z";
	next;
	if(countitem(2298)<1) goto Lend2;
	if(countitem(1001)<10) goto Lend2;
	if(countitem(996)<10) goto Lend2;
	if(countitem(994)<10) goto Lend2;
	if(countitem(995)<10) goto Lend2;
	if(countitem(997)<10) goto Lend2;
	if(Zeny<1000000) goto NoGold;
	goto Lget1;
	mes "[Royal Messenger]";
	mes"Happy item hunting and good luck";
	close;
Lend:
	mes "[Royal Messenger]";
	mes "Have a nice day.";
	close;
Lend2:
	mes "[Royal Messenger]";
	mes "Sorry you dont have all the items i need.";
	mes "comeback when you have them all";
	close;
NoGold:
	mes "[Royal Messenger]";
	mes "Sorry you dont have enought gold";
	close;
Lget:
	delitem 999,120;
	delitem 984,10;
	delitem 996,10;
	delitem 994,10;
	delitem 995,10;
	delitem 997,10;
	set Zeny,Zeny-1000000;
	mes "[Royal Messenger]";
	mes "I see you already have all the items you need.";
	mes "nice work.";
	getitem 1161,1;
	close;
Lget1:
	delitem 2298,1;
	delitem 1001,10;
	delitem 996,10;
	delitem 994,10;
	delitem 995,10;
	delitem 997,10;
	set Zeny,Zeny-1000000;
	mes "[Royal Messenger]";
	mes "I see you already have all the items you need.";
	mes "nice work.";
	getitem 5013,1;
	close;	}