From 148f4207263228d12e66d451487a460dda33a2c5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Jul 2019 21:14:46 -0300 Subject: Dagger doesn't causes Crafting Score to increase --- npc/craft/smith.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'npc/craft') 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() -- cgit v1.2.3-70-g09d2