summaryrefslogtreecommitdiff
path: root/npc/craft
diff options
context:
space:
mode:
Diffstat (limited to 'npc/craft')
-rw-r--r--npc/craft/tweak.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/craft/tweak.txt b/npc/craft/tweak.txt
index 971f731b5..56f0874e8 100644
--- a/npc/craft/tweak.txt
+++ b/npc/craft/tweak.txt
@@ -73,7 +73,11 @@ function script SmithTweakSystem {
return false;
}
- // FIXME Skip equipped items
+ // Skip equipped items
+ if (isequipped(.@x)) {
+ mesc l("You should unequip this item first."), 1;
+ return false;
+ }
// If the item have no bonuses - fail
setarray .@AlwaysTweaks, 65535, BlacksmithAxe, Dustynator, Lightbringer,