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
162
163
164
165
166
167
168
|
//===== By: ==================================================
//= Playtester
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= SVN eA
//===== Description: =========================================
//= Gunslinger guns and bullet quests
//===== Additional Comments: =================================
//= 1.0 Only Garrison Gun done yet [Playtester]
//= 1.1 Added Garrison[2]
//============================================================
//===================== Garrison =====================================================
que_ng.gat,182,85,3 script Mr.Garrison 109,{
set @npcname$,"[Mr.Garrison]";
mes @npcname$;
if(countitem(13105)>0) goto L_Already;
if(countitem(13104)>0) goto L_Slot;
mes "I have invented a new Revolver!";
mes "I think I call it... Garrison.";
next;
mes "[" +strcharinfo(0) + "]";
mes "Very innovative name really.";
next;
if(BaseJob != Job_Gunslinger || BaseLevel < 55){
mes @npcname$;
mes "I don't think you have enough";
mes "knowledge of guns to see its";
mes "true beauty.";
close;
}
mes @npcname$;
mes "You look like you're an expert";
mes "in guns, aren't you?";
next;
mes "[" +strcharinfo(0) + "]";
mes "Yeah you could say so.";
next;
mes @npcname$;
mes "So, do you want me to make a";
mes "^0000FFGarrison^000000 for you?";
next;
switch(select("Yes, please.","Nah, I'll stick with my gun."))
{
case 1:
mes @npcname$;
mes "Great! But first you need to";
mes "bring me the materials I need";
mes "to create one.";
next;
mes @npcname$;
mes "This is what I need:";
mes "^FF000050 Steels^000000,";
mes "^FF00003 Eluniums^000000,";
mes "^FF00001 Oridecon^000000,";
mes "^FF000050 Coals^000000,";
mes "^FF000020 Rusty Screws^000000 and";
mes "^FF000030000 Zeny^000000.";
next;
mes @npcname$;
if ( (countitem(999)<50) || (countitem(985)<3) || (countitem(984)<1) ||(countitem(1003)<50) || (countitem(7317)<20) || (Zeny < 30000) ) {
mes "Come back when you have the materials.";
close;
}
mes "I see you came prepared.";
next;
delitem 999,50;
delitem 985,3;
delitem 984,1;
delitem 1003,50;
delitem 7317,20;
set Zeny,Zeny-30000;
mes @npcname$;
mes "Give me just a minute...";
mes "...";
mes "...";
next;
getitem 13104,1;
mes @npcname$;
mes "It's done. Here, take this";
mes "wonderful gun!";
close;
case 2:
mes @npcname$;
mes "Well, guess a true Gunslinger";
mes "will never part from his";
mes "favorite gun, heh.";
close;
}
L_Slot:
mes "Oh, I see you have one of";
mes "my high-quality guns.";
next;
mes @npcname$;
mes "Now that I look at it, I";
mes "think I could improve it";
mes "some more.";
next;
mes @npcname$;
mes "How about I add a ^0000FFslot^000000";
mes "to it? Be careful, though.";
mes "If you put a card into it";
mes "already, it will be lost";
mes "in the process.";
next;
switch(select("Yes, please add a slot.","Nah, I keep it as it is now."))
{
case 1:
mes @npcname$;
mes "Great! But first you need to";
mes "bring me the materials I need";
mes "to improve it.";
next;
mes @npcname$;
mes "This is what I need:";
mes "^FF000010 Steels^000000,";
mes "^FF00001 Eluniums^000000,";
mes "^FF000010 Emveretarcon^000000,";
mes "^FF000030 Coals^000000,";
mes "^FF000010 Rusty Screws^000000 and";
mes "of course your ^FF0000Garrison^000000.";
next;
mes @npcname$;
if ( (countitem(999)<10) || (countitem(985)<1) || (countitem(1011)<10) ||(countitem(1003)<30) || (countitem(7317)<10) || (countitem(13104)<1) ) {
mes "Come back when you have the materials.";
close;
}
mes "I see you came prepared.";
next;
delitem 999,10;
delitem 985,1;
delitem 1011,10;
delitem 1003,30;
delitem 7317,10;
delitem 13104,1;
mes @npcname$;
mes "Give me just a minute...";
mes "...";
mes "...";
next;
getitem 13105,1;
mes @npcname$;
mes "It's done. Now it is";
mes "even better than before.";
mes "Put it to good use.";
close;
case 2:
mes @npcname$;
mes "Okay, come back when you";
mes "changed your mind.";
close;
}
L_Already:
mes "So how do you like";
mes "my gun?";
close;
}
|