summaryrefslogtreecommitdiff
path: root/npc/craft
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-07 11:40:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-07 11:40:38 -0300
commit756212b04018e9dffb5ea6e64e27d73dd4238c77 (patch)
treeadd173840cfe3c34beb96781ec3dfa303a921982 /npc/craft
parent47ce7037d73bf0a0c76244edb15611a42d7e2cd2 (diff)
downloadserverdata-756212b04018e9dffb5ea6e64e27d73dd4238c77.tar.gz
serverdata-756212b04018e9dffb5ea6e64e27d73dd4238c77.tar.bz2
serverdata-756212b04018e9dffb5ea6e64e27d73dd4238c77.tar.xz
serverdata-756212b04018e9dffb5ea6e64e27d73dd4238c77.zip
Crafting will now yield you a Crafting Score Point
Diffstat (limited to 'npc/craft')
-rw-r--r--npc/craft/smith.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt
index 4a673fe89..0e8437119 100644
--- a/npc/craft/smith.txt
+++ b/npc/craft/smith.txt
@@ -44,6 +44,8 @@ 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);
getnameditem(.@it, strcharinfo(0));