From 06305a2f1f4a0dca0fe94a93f894065cc04d7a84 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 13 Mar 2019 16:57:08 -0300 Subject: Add the Blacksmith to Saulc's Castle so it can be tested >.> --- npc/001-3-1/_import.txt | 1 + npc/001-3-1/smith.txt | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 npc/001-3-1/smith.txt (limited to 'npc/001-3-1') 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; +} + -- cgit v1.2.3-70-g09d2