From ced3d62b5a72ea6c69bba1c52e3c3574bc5fe56b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Jul 2019 21:21:09 -0300 Subject: Fix typo, add recipe to old players on CV, mark new Dagger recipe on book. --- db/craft_db.conf | 2 +- npc/craft/recipes.txt | 4 ++++ npc/functions/clientversion.txt | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/db/craft_db.conf b/db/craft_db.conf index af7abad42..ef9231d76 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -1593,7 +1593,7 @@ craft_db: ( { IronIngot: 1 Coal: 3 - SulphurPowder: 1 + SulfurPowder: 1 }, ) CreateItems: diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt index a383c3a26..163faf545 100644 --- a/npc/craft/recipes.txt +++ b/npc/craft/recipes.txt @@ -159,6 +159,10 @@ function readCrafting { mes ""; // Melee Weapons: Never use Titanium nor Lead. Iron-based, no silver mesc "----------"+l("One Hand Weapon Recipes")+"----------", 2; + showRecipe(CraftDagger, Dagger, + 1, IronIngot, + 3, Coal, + 1, SulfurPowder); showRecipe(CraftWoodenSword, WoodenSword, 20, WoodenLog, 5, RawLog, diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 702ec6077..98dc820c1 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -283,6 +283,11 @@ function script clientupdater { if (MERCENARY_DAILYQUEST > 100) { getitem BountyHunterHelmet, 1; } + // If you have TMW2_CRAFT skill, you need the bonus recipe + if (getskilllv(TMW2_CRAFT)) { + RECIPES_EQUIPMENT[CraftDagger]=true; + dispbottom l("Dagger Crafting recipe learnt."); + } // Cleanup deletearray RNGTREASURE_DATE; } -- cgit v1.2.3-70-g09d2