summaryrefslogtreecommitdiff
path: root/npc/craft/smith.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-05 02:27:06 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-05 02:27:06 -0300
commitb09a9318b419bd5bfcbc4a5b4b706ac9e04a4111 (patch)
treecea809289fcd4030ebddf35a75cb2dda576484ba /npc/craft/smith.txt
parent97fb3413c7b0e431a54a9157eff3bd29f75de511 (diff)
downloadserverdata-b09a9318b419bd5bfcbc4a5b4b706ac9e04a4111.tar.gz
serverdata-b09a9318b419bd5bfcbc4a5b4b706ac9e04a4111.tar.bz2
serverdata-b09a9318b419bd5bfcbc4a5b4b706ac9e04a4111.tar.xz
serverdata-b09a9318b419bd5bfcbc4a5b4b706ac9e04a4111.zip
Add a warning about duplicated crafts.
Forbid entirely duplicated tweaks (it could also be used as a bug exploit)
Diffstat (limited to 'npc/craft/smith.txt')
-rw-r--r--npc/craft/smith.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt
index 8cb76f568..9f5a4d903 100644
--- a/npc/craft/smith.txt
+++ b/npc/craft/smith.txt
@@ -27,6 +27,7 @@ function script SmithSystem {
copyarray(.knowledge,RECIPES_EQUIPMENT,getarraysize(RECIPES_EQUIPMENT));
.success=false;
+ mesc l("WARNING: Strange bugs may happen if you attempt to craft an item you already have on inventory!"), 1;
setskin "craft4";
.@var$ = requestcraft(4);
.@craft = initcraft(.@var$);