summaryrefslogtreecommitdiff
path: root/npc/craft
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 15:11:04 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 15:11:04 -0300
commit42c22c5f9fa7cf751d130bb25fe2c582d7700f59 (patch)
tree0841f37b443a23d8b2706fd096c4e20038d42535 /npc/craft
parent986cee844cfcf15340805b92d19226ae80759a4f (diff)
downloadserverdata-42c22c5f9fa7cf751d130bb25fe2c582d7700f59.tar.gz
serverdata-42c22c5f9fa7cf751d130bb25fe2c582d7700f59.tar.bz2
serverdata-42c22c5f9fa7cf751d130bb25fe2c582d7700f59.tar.xz
serverdata-42c22c5f9fa7cf751d130bb25fe2c582d7700f59.zip
ManaPlus can make a mess with Indexes, so report what you're really tweaking
Diffstat (limited to 'npc/craft')
-rw-r--r--npc/craft/options.txt1
-rw-r--r--npc/craft/tweak.txt2
2 files changed, 1 insertions, 2 deletions
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