summaryrefslogtreecommitdiff
path: root/npc/tulimshar/rewards_master.txt
blob: bc9134ff2040e05822bdfc9f8c0dd1e61448303d (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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
new_3-1.gat,55,51,0	script	Ishi	106,{
	if (MPQUEST == 0) goto Register;
	if (tvis == 0) set tvis,1;
	if (Mobpt < tvis) goto NotEnough;

	mes "[Ishi the Rewards Master]";
	mes "Welcome! I see you have " +Mobpt+ " Monster Points. Would you like to exchange some of those for an item?";
	next;
	menu "Yes",Y1,"No Thanks",LEAVE;
	next;

Register:
	mes "[Ishi the Rewards Master]";
	mes "Hey, it seems like you didn't register as a quest participant yet! You can sign up at the gate below.";
	close;

Y1:
	set Mobpt,Mobpt-tvis;
	set tvis,tvis+1;
	set @TEMP,rand(1);
	if(@TEMP ==0) goto R_1;
	if(@TEMP ==1) goto R_2;
R_1:
	set @TEMP,rand(19);
	if(@TEMP ==0) goto R1_1;
	if(@TEMP ==1) goto R1_2;
	if(@TEMP ==2) goto R1_3;
	if(@TEMP ==3) goto R1_4;
	if(@TEMP ==4) goto R1_5;
	if(@TEMP ==5) goto R1_6;
	if(@TEMP ==6) goto R1_7;
	if(@TEMP ==7) goto R1_8;
	if(@TEMP ==8) goto R1_9;
	if(@TEMP ==9) goto R1_10;
	if(@TEMP ==10) goto R1_11;
	if(@TEMP ==11) goto R1_12;
	if(@TEMP ==12) goto R1_13;
	if(@TEMP ==13) goto R1_14;
	if(@TEMP ==14) goto R1_15;
	if(@TEMP ==15) goto R1_16;
	if(@TEMP ==16) goto R1_17;
	if(@TEMP ==17) goto R1_18;
	if(@TEMP ==18) goto R1_19;
	if(@TEMP ==19) goto R1_20;

R1_1:
	mes "[Ishi the Rewards Master]";
	mes "You got a cactus drink!";
	getitem 501,1;
	goto Q;
R1_2:
	mes "[Ishi the Rewards Master]";
	mes "You got a cactus potion!";
	getitem 502,1;
	goto Q;
R1_3:
	mes "[Ishi the Rewards Master]";
	mes "You got casino coins!";
	getitem 503,1;
	goto Q;
R1_4:
	mes "[Ishi the Rewards Master]";
	mes "You got a decor candy cane!";
	getitem 504,1;
	goto Q;
R1_5:
	mes "[Ishi the Rewards Master]";
	mes "You got a maggot slime!";
	getitem 505,1;
	goto Q;
R1_6:
	mes "[Ishi the Rewards Master]";
	mes "You got a candy cane!";
	getitem 506,1;
	goto Q;
R1_7:
	mes "[Ishi the Rewards Master]";
	mes "You got a scorpion stinger!";
	getitem 507,1;
	goto Q;
R1_8:
	mes "[Ishi the Rewards Master]";
	mes "You got an Xmas cake!";
	getitem 508,1;
	goto Q;
R1_9:
	mes "[Ishi the Rewards Master]";
	mes "You got a chocolate bar!";
	getitem 509,1;
	goto Q;
R1_10:
	mes "[Ishi the Rewards Master]";
	mes "You got a candy!";
	getitem 510,1;
	goto Q;
R1_11:
	mes "[Ishi the Rewards Master]";
	mes "You got cotton shorts!";
	getitem 586,1;
	goto Q;
R1_12:
	mes "[Ishi the Rewards Master]";
	mes "You got a ginger bread man!";
	getitem 512,1;
	goto Q;
R1_13:
	mes "[Ishi the Rewards Master]";
	mes "You got a cake!";
	getitem 513,1;
	goto Q;
R1_14:
	mes "[Ishi the Rewards Master]";
	mes "You got a candy cane!";
	getitem 514,1;
	goto Q;
R1_15:
	mes "[Ishi the Rewards Master]";
	mes "You got a purple present!";
	getitem 515,1;
	goto Q;
R1_16:
	mes "[Ishi the Rewards Master]";
	mes "You got a blue present!";
	getitem 516,1;
	goto Q;
R1_17:
	mes "[Ishi the Rewards Master]";
	mes "You got a red scorpion stinger!";
	getitem 517,1;
	goto Q;
R1_18:
	mes "[Ishi the Rewards Master]";
	mes "You got a bug leg!";
	getitem 518,1;
	goto Q;
R1_19:
	mes "[Ishi the Rewards Master]";
	mes "You got a cherry cake!";
	getitem 519,1;
	goto Q;
R1_20:
	mes "[Ishi the Rewards Master]";
	mes "You got an easter egg!";
	getitem 520,1;
	goto Q;

R_2:
	set @TEMP,rand(3);
	if(@TEMP ==0) goto R2_1;
	if(@TEMP ==1) goto R2_2;
	if(@TEMP ==2) goto R2_3;
	if(@TEMP ==3) goto R2_4;

R2_1:
	mes "[Ishi the Rewards Master]";
	mes "You got an arrow!";
	getitem 1199,1;
	goto Q;
R2_2:
	mes "[Ishi the Rewards Master]";
	mes "You got a bow!";
	getitem 1200,1;
	goto Q;
R2_3:
	mes "[Ishi the Rewards Master]";
	mes "You got a knife!";
	getitem 1201,1;
	goto Q;
R2_4:
	mes "[Ishi the Rewards Master]";
	mes "You got a cotton shirt!";
	getitem 1202,1;
	goto Q;

NotEnough:
	mes "[Ishi the Rewards Master]";
	mes "You don't have enough Monster Points for a reward. Kill some more monsters first.";
	close;
LEAVE:
	close;
}