summaryrefslogtreecommitdiff
path: root/npc/024-16
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-08 18:28:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-08 18:28:26 -0300
commit9567599ab3c4dfde1e5d1f48cf91bee19dfa3ba0 (patch)
tree395fe88a2921f0f4494b507cde0d4c3d8ffb0513 /npc/024-16
parent1f991004ba06cd63a3fbd3417f660ae3e21d136c (diff)
downloadserverdata-9567599ab3c4dfde1e5d1f48cf91bee19dfa3ba0.tar.gz
serverdata-9567599ab3c4dfde1e5d1f48cf91bee19dfa3ba0.tar.bz2
serverdata-9567599ab3c4dfde1e5d1f48cf91bee19dfa3ba0.tar.xz
serverdata-9567599ab3c4dfde1e5d1f48cf91bee19dfa3ba0.zip
Learning crafting will gift you basic skills first level and enable them for free.
Diffstat (limited to 'npc/024-16')
-rw-r--r--npc/024-16/craftsman.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/024-16/craftsman.txt b/npc/024-16/craftsman.txt
index c476cb17f..32a63c5ea 100644
--- a/npc/024-16/craftsman.txt
+++ b/npc/024-16/craftsman.txt
@@ -122,6 +122,13 @@ function calcUpgrade {
case 0:
inventoryplace EquipmentBlueprintA, 1;
getitem EquipmentBlueprintA, 1;
+
+ // We should aid you getting basic skills - for free!
+ if (!CRAFTSYS[CRGROUP_BASE])
+ CRAFTSYS[CRGROUP_BASE]+=1;
+ if (!CRAFTSYS_CURRENT)
+ CRAFTSYS_CURRENT=CRAFTSYS_CURRENT|CRGROUP_BASE;
+
break;
case 1:
inventoryplace EquipmentBlueprintB, 1;