blob: e065af346138da62e0c80a25248d34e272eddb2b (
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
|
new_9-1.gat,117,77,0 script Alchemist 103,{
mes "[Alchemist]";
mes "I'm learning the ancient science of the alchemy.";
mes "I already know how to create a couple of potions!!";
next;
mes "[Alchemist]";
mes "Do you want me to create one for you?";
next;
menu "Iron potion",L_iron,"Concentration potion",L_concentration,"No thanks.",L_no;
L_iron:
if(countitem(566) < 20) goto L_no_iron;
mes "[Alchemist]";
mes "Great! You brought me exactly what I need!";
mes "Here it is your Iron potion.";
delitem 566,20;
getitem 567,1;
close;
L_concentration:
if(countitem(565) < 20) goto L_no_concentration;
mes "[Alchemist]";
mes "Great! You brought me exactly what I need!";
mes "Here it is your Concentration potion.";
delitem 565,20;
getitem 568,1;
close;
L_no_iron:
mes "[Alchemist]";
mes "You have to bring me 20 small mushrooms.";
close;
L_no_concentration:
mes "[Alchemist]";
mes "You have to bring me 20 petals.";
close;
}
|