summaryrefslogtreecommitdiff
path: root/npc/merchants/shuriken_maker.txt
blob: d2914302f9ea69ecb8e5112fce062e92aef8f71b (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
//===== eAthena Script ========================================
//= Shuriken Blacksmith
//===== By: ==================================================
//= Au{R}oN
//===== Current Version: =====================================
//= 1.2b
//===== Compatible With: =====================================
//= eAthena 1.0+
//===== Description: =========================================
//= Shuriken Weapon Maker.
//===== Additional Comments: =================================
//= Converted from Aegis
//= 1.0 Added the 4 Shuriken. [Au{R}oN]
//= 1.1 Fix getitem bugs and add if ninja job check. [Au{R}oN]
//= 1.2 more bugs fixed,wrong labels, missing stuf, etc[Lupus]
//= 1.2a added missing next;
//= 1.2b Thanks to $ephiroth, fixed wrong ingredient lists
//============================================================

que_ng.gat,22,62,3	script	Taitsu	709,{

	mes "[Taitsu]";
	if(Class!=Job_Ninja){
		mes "Sorry, buy I can use my ability only for Ninja Class.";
		close;
	}
	mes "Hello";
	mes "I'm Taitsu, the Blacksmith of Fuuma Ninja.";
	next;
	mes "[Taitsu]";
	mes "Due to a burst of interest, my life became very miserable.";
	mes "So, I'm taking everything from the beginning, but haven't made weapon in a long time...";
	next;
	mes "[Taitsu]";
	mes "However, in terms of making Fuuma weapons, no one can make them any better then mine.";
	mes "Here, take a look.";
	next;
	menu "Fuuma Shuriken Beneki",M_BENEKI,"Fuuma Shuriken Daisharin",M_DAIS,
		"Fuuma Shuriken Daisharin [4]",M_DAIS4,"Fuuma Shuriken Rekka",M_REKKA;

//=====================BENEKI========================
M_BENEKI:
	mes "[Taitsu]";
	mes "For making ^FF0000Fuuma Shuriken Beneki^000000";
	mes "you need these items:";
	mes "50 Steel, 20 Harpy's Feathers, 5 Oridecon, and 90.000z.";
	mes "Do you want it?";
	next;
	menu "Yes",-,"No Thanks",M_NOPE;

	mes "[Taitsu]";
	mes "So let me check for your items...";
	set @z,90000;
	if(Zeny < @z) goto L_NOZENY;
	if(countitem(999)<50 || countitem(7115)<20 || countitem(984)<5) goto L_NOITEMS;
	set Zeny,Zeny-@z;
	delitem 999,50;
	delitem 7115,20;
	delitem 984,5;
	next;
	getitem 13300,1;
	mes "[Taitsu]";
	mes "Ok, enjoy with your new weapon.";
	close;

//=====================DAISHARIN========================
M_DAIS:
	mes "[Taitsu]";
	mes "For making ^FF0000Fuuma Shuriken Daisharin^000000";
	mes "you need these items:";
	mes "30 Steel, 100 Tassels, 2 Oridecon, and 40.000z.";
	mes "Do you want it?";
	next;
	menu "Yes",-,"No Thanks",M_NOPE;

	mes "[Taitsu]";
	mes "So let me check for your items...";
	set @z,40000;
	if(Zeny < @z) goto L_NOZENY;
	if(countitem(999)<30 || countitem(7301)<100 || countitem(984)<2) goto L_NOITEMS;
	set Zeny,Zeny-@z;
	delitem 999,30;
	delitem 7301,100;
	delitem 984,2;
	next;
	getitem 13301,1;
	mes "[Taitsu]";
	mes "Ok, enjoy with your new weapon.";
	close;

//=====================DAISHARIN4========================
M_DAIS4:
	mes "[Taitsu]";
	mes "For making ^FF0000Fuuma Shuriken Daisharin[4]^000000";
	mes "you need these items:";
	mes "20 Cracked Diamonds, 1 Fuuma Shuriken Daisharin, 3 Oridecon, and 40.000z.";
	mes "Do you want it?";
	next;
	menu "Yes",-,"No Thanks",M_NOPE;

	mes "[Taitsu]";
	mes "So let me check for your items...";
	set @z,40000;
	if(Zeny < @z) goto L_NOZENY;
	if(countitem(733)<20 || countitem(13301)<1 || countitem(984)<3) goto L_NOITEMS;
	set Zeny,Zeny-@z;
	delitem 733,20;
	delitem 13301,1;
	delitem 984,3;
	next;
	getitem 13302,1;
	mes "[Taitsu]";
	mes "Ok, enjoy with your new weapon.";
	close;

//=====================REKKA========================
M_REKKA:
	mes "[Taitsu]";
	mes "For making ^FF0000Fuuma Shuriken Rekka^000000";
	mes "you need these items:";
	mes "50 Steel, 100 Live Coal, 100 Burning Heart, 50 Burning Stone and 78.000z.";
	mes "Do you want it?";
	next;
	menu "Yes",-,"No Thanks",M_NOPE;

	mes "[Taitsu]";
	mes "So let me check for your items...";
	set @z,78000;
	if(Zeny < @z) goto L_NOZENY;
	if(countitem(733)<50 || countitem(7098)<100 || countitem(7097)<100 || countitem(7521)<50) goto L_NOITEMS;
	set Zeny,Zeny-@z;
	delitem 733,50;
	delitem 7098,100;
	delitem 7097,100;
	delitem 7521,50;
	next;
	getitem 13303,1;
	mes "[Taitsu]";
	mes "Ok, enjoy with your new weapon.";
	close;

//=====================I'M SORRY========================
L_NOITEMS:
	next;
	mes "[Taitsu]";
	mes "Sorry, but you not have all required items.";
	emotion e_sry;
	close;

L_NOZENY:
	next;
	mes "[Taitsu]";
	mes "I'm sorry, but you need "+@z+"z";
	emotion e_cash;
	close;

M_NOPE:
	mes "[Taitsu]";
	mes "Ok came back when you want.";
	close;
}