summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/craft/tweak.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/craft/tweak.txt b/npc/craft/tweak.txt
index bb9078a22..2c745a291 100644
--- a/npc/craft/tweak.txt
+++ b/npc/craft/tweak.txt
@@ -31,8 +31,9 @@ function script SmithTweakSystem {
.@price=getarg(0, 600);
.@retry=getarg(1, 1);
- // Adjust price
- .@price=POL_AdjustPrice(.@price);
+ // Adjust price (if relevant)
+ if (.@retry == 1)
+ .@price=POL_AdjustPrice(.@price);
// How many times more can you tweak?
// You get 1 action, capped to 6