summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-13 13:21:20 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-13 13:21:20 -0300
commit183cd44dc8c39076c852ff1f465cb1bb5bed3c2d (patch)
tree98cbdffec6cee550d77e46596efb47994ab12c97 /npc
parent920ecac4ce806fd23e1bca4ac1b6c3af0b0fdc9a (diff)
downloadserverdata-183cd44dc8c39076c852ff1f465cb1bb5bed3c2d.tar.gz
serverdata-183cd44dc8c39076c852ff1f465cb1bb5bed3c2d.tar.bz2
serverdata-183cd44dc8c39076c852ff1f465cb1bb5bed3c2d.tar.xz
serverdata-183cd44dc8c39076c852ff1f465cb1bb5bed3c2d.zip
Add a Chemistry Table on Saulc's Castle. What is a chemist without it!!!
Diffstat (limited to 'npc')
-rw-r--r--npc/001-3-1/_import.txt1
-rw-r--r--npc/001-3-1/alchemy.txt27
2 files changed, 28 insertions, 0 deletions
diff --git a/npc/001-3-1/_import.txt b/npc/001-3-1/_import.txt
index c76277ccc..8b25bdfb1 100644
--- a/npc/001-3-1/_import.txt
+++ b/npc/001-3-1/_import.txt
@@ -1,3 +1,4 @@
// Map 001-3-1: Saulc's Palace
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/001-3-1/_warps.txt",
+"npc/001-3-1/alchemy.txt",
diff --git a/npc/001-3-1/alchemy.txt b/npc/001-3-1/alchemy.txt
new file mode 100644
index 000000000..2604c810f
--- /dev/null
+++ b/npc/001-3-1/alchemy.txt
@@ -0,0 +1,27 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// Debug functions for Craft Systems
+
+
+001-3-1,32,89,0 script GM Alchemy Table NPC_NO_SPRITE,{
+ if (!$@GM_OVERRIDE && $EVENT$ == "" && !is_staff()) goto L_Offline;
+ mesc l("Welcome to Saulc's Magic Alchemy Table!");
+ mesc l("This table will prepare the potion for you, no skill required!");
+ mesc l("What will you brew today?");
+ if (AlchemySystem(CRAFT_NPC))
+ mesc l("Success!"), 3;
+ else
+ mesc l("That didn't work!"), 1;
+ close;
+
+L_Offline:
+ npctalk3 l("Oops! Seems like Saulc doesn't wants you messing on his chemistry set!");
+ close;
+
+OnInit:
+ .distance=5;
+ end;
+}
+