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
|
//
001-1.gat,110,71,0 script Sandra 114,{
if(Scorp == 2) goto L_Done;
if(Scorp == 1) goto L_Progress;
set @TEMP,rand(3);
if(@TEMP == 1) goto L_Opening1;
if(@TEMP == 2) goto L_Opening2;
if(@TEMP == 3) goto L_Opening3;
if(@TEMP == 0) goto L_Opening4;
L_Opening1:
mes "[Sandra]";
mes "\"In the outskirts of Tulimshar, there wanders a red scorpion. I need a favor, please help me. Will you?\"";
next;
goto L_Ask;
L_Opening2:
mes "[Sandra]";
mes "\"When you venture in the outskirts of Tulimshar, you can spot a red scorpion. Will you help me kill one?\"";
next;
goto L_Ask;
L_Opening3:
mes "[Sandra]";
mes "\"The red scorpion stinger carries many properties used in potions. Will you get some for me?\"";
next;
goto L_Ask;
L_Opening4:
mes "[Sandra]";
mes "\"You look sturdy enough, will you help me get something?\"";
next;
goto L_Ask;
L_Ask:
menu
"Yes", L_Yes,
"No", L_No;
L_Yes:
if(@TEMP == 1) goto L_Req1;
if(@TEMP == 2) goto L_Req2;
if(@TEMP == 3) goto L_Req3;
if(@TEMP == 0) goto L_Req1;
L_Req1:
mes "[Sandra]";
mes "\"I need you to slaughter the red scorpion found outside of Tulimshar and bring me 5 [Red Stingers].\"";
next;
goto L_Set;
L_Req2:
mes "[Sandra]";
mes "\"I heard a while ago that the stinger of a red scorpion can be used for medical purposes. I need you to help me get 5 [Red Stingers].\"";
next;
goto L_Set;
L_Req3:
mes "[Sandra]";
mes "\"Bring me 5 [Red Stingers] and i will reward you greatly.\"";
next;
goto L_Set;
L_Set:
set Scorp,1;
mes "[Sandra]";
mes "\"Please bring me them!\"";
close;
L_Progress:
if (countitem(517) >= 5) goto L_Have;
mes "[Sandra]";
mes "\"Please hurry and bring me 5 [Red Stingers].\"";
close;
L_Have:
mes "[Sandra]";
mes "\"Excellent!";
mes "You brought me 5 [Red Stingers]!\"";
getinventorylist;
if (@inventorylist_count == 100 && countitem(517) > 5) goto L_TooMany;
delitem 517, 5;
getitem 1200, 1;
getitem 1199, 100;
set Scorp, 2;
close;
L_Done:
mes "[Sandra]";
mes "\"Thank you for all your help!\"";
close;
L_No:
close;
L_TooMany:
next;
mes "[Sandra]";
mes "\"You don't have room for my reward. I'll wait until you do.\"";
}
|