summaryrefslogtreecommitdiff
path: root/npc/woodland/alchemist.txt
blob: bc373cbefd184f4de11418531ff211de1ef44ede (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	Rauk	103,{
	mes "[Rauk the Alchemist]";
	mes "I'm learning the ancient science of the alchemy.";
	mes "I already know how to create a couple of potions!!";
	next;

	mes "[Rauk the 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 "[Rauk the 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 "[Rauk the 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 "[Rauk the Alchemist]";
	mes "You have to bring me 20 small mushrooms.";
	close;
	
L_no_concentration:
	mes "[Rauk the Alchemist]";
	mes "You have to bring me 20 petals.";
	close;
}