summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/craft/smith.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt
index 9843cac26..71f6a47f5 100644
--- a/npc/craft/smith.txt
+++ b/npc/craft/smith.txt
@@ -44,10 +44,11 @@ function script SmithSystem {
.success=true;
} else if (.knowledge[.@entry] || $@GM_OVERRIDE) {
// Player craft item
- // Mark the crafting in your score book
- CRAFTING_SCORE+=1;
usecraft .@craft;
.@it=getcraftcode(.@entry);
+ // Mark the crafting in your score book (except dagger)
+ if (.@it != Dagger)
+ CRAFTING_SCORE+=1;
getnameditem(.@it, strcharinfo(0));
if (getskilllv(TMW2_CRAFT)) {
delinventorylist(); // Needed, because we'll rely on rfind()