summaryrefslogtreecommitdiff
path: root/npc/001-3-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-13 16:57:08 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-13 16:57:08 -0300
commit06305a2f1f4a0dca0fe94a93f894065cc04d7a84 (patch)
tree8f590e5c8734499f6c745a53944114b5e414b451 /npc/001-3-1
parentbd8c1bf6d2b5112e63a078507e351baed7a977eb (diff)
downloadserverdata-06305a2f1f4a0dca0fe94a93f894065cc04d7a84.tar.gz
serverdata-06305a2f1f4a0dca0fe94a93f894065cc04d7a84.tar.bz2
serverdata-06305a2f1f4a0dca0fe94a93f894065cc04d7a84.tar.xz
serverdata-06305a2f1f4a0dca0fe94a93f894065cc04d7a84.zip
Add the Blacksmith to Saulc's Castle so it can be tested >.>
Diffstat (limited to 'npc/001-3-1')
-rw-r--r--npc/001-3-1/_import.txt1
-rw-r--r--npc/001-3-1/smith.txt28
2 files changed, 29 insertions, 0 deletions
diff --git a/npc/001-3-1/_import.txt b/npc/001-3-1/_import.txt
index 8b25bdfb1..41049d07a 100644
--- a/npc/001-3-1/_import.txt
+++ b/npc/001-3-1/_import.txt
@@ -2,3 +2,4 @@
// 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",
+"npc/001-3-1/smith.txt",
diff --git a/npc/001-3-1/smith.txt b/npc/001-3-1/smith.txt
new file mode 100644
index 000000000..5e5a2a5d3
--- /dev/null
+++ b/npc/001-3-1/smith.txt
@@ -0,0 +1,28 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// Debug functions for Craft Systems
+
+
+001-3-1,52,86,0 script GM Black Smithy NPC_NO_SPRITE,{
+ if (!$@GM_OVERRIDE && $EVENT$ == "" && !is_staff()) goto L_Offline;
+ mesc l("Welcome to Saulc's Magic Smith Table!");
+ mesc l("This forge will prepare equipment for you, no skill required!");
+ mesc l("What will you craft today?");
+ mesc l("You need to have an @@ equipped.", getitemlink(Knife)), 1;
+ 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 raging furnaces!");
+ close;
+
+OnInit:
+ .distance=5;
+ end;
+}
+