From 42c22c5f9fa7cf751d130bb25fe2c582d7700f59 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Sep 2019 15:11:04 -0300 Subject: ManaPlus can make a mess with Indexes, so report what you're really tweaking --- npc/craft/options.txt | 1 + npc/craft/tweak.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'npc/craft') diff --git a/npc/craft/options.txt b/npc/craft/options.txt index a4a7b4c39..0466d20b9 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -311,6 +311,7 @@ function script csys_Confirm { return false; mesc l("Really try to tweak this item? All current options will be deleted."); + mesc l("NOTE: You're tweaking a(n): @@", getinvindexlink(.@id)); next; if (askyesno() == ASK_NO) return false; diff --git a/npc/craft/tweak.txt b/npc/craft/tweak.txt index b5c847e17..e1a8811fe 100644 --- a/npc/craft/tweak.txt +++ b/npc/craft/tweak.txt @@ -28,9 +28,7 @@ function script SmithTweakReset { // Usage: SmithTweakSystem ({price}) // Returns true on success, false on failure function script SmithTweakSystem { - // Set .knowledge and the price .@price=getarg(0, 600); - copyarray(.knowledge,RECIPES_EQUIPMENT,getarraysize(RECIPES_EQUIPMENT)); // How many times more can you tweak? // You get 1 action, capped to 6 -- cgit v1.2.3-60-g2f50