summaryrefslogtreecommitdiff
path: root/npc/woodland/alchemist.txt
diff options
context:
space:
mode:
authorZuzanna K. Filutowska <platyna@users.sourceforge.net>2006-02-21 22:15:05 +0000
committerZuzanna K. Filutowska <platyna@users.sourceforge.net>2006-02-21 22:15:05 +0000
commit5b8d1b4f20a117e071e4ab57bd16be3215c20a06 (patch)
tree3f30e2ac87f1d8ba29c690a3f1f375d399d94362 /npc/woodland/alchemist.txt
parent951d8a7523e75a90996c4bf6bf30796cd1142135 (diff)
downloadserverdata-5b8d1b4f20a117e071e4ab57bd16be3215c20a06.tar.gz
serverdata-5b8d1b4f20a117e071e4ab57bd16be3215c20a06.tar.bz2
serverdata-5b8d1b4f20a117e071e4ab57bd16be3215c20a06.tar.xz
serverdata-5b8d1b4f20a117e071e4ab57bd16be3215c20a06.zip
Initial revision
Diffstat (limited to 'npc/woodland/alchemist.txt')
-rw-r--r--npc/woodland/alchemist.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/npc/woodland/alchemist.txt b/npc/woodland/alchemist.txt
new file mode 100644
index 00000000..e065af34
--- /dev/null
+++ b/npc/woodland/alchemist.txt
@@ -0,0 +1,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;
+} \ No newline at end of file